Try   HackMD

Try Darknet Training (2) with My Own Customized Image Set

tags: 2022/06 training customized image set

(2022/6/) This section, we will try Darknet training based on my own customized image set.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Dependency

Darknet requires OpenCV, so install the package first.

$ sudo apt install libopencv-dev

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Installation

$ git clone https://github.com/AlexeyAB/darknet
$ cd darknet
# Change the setting to enable GPU
$ sed -i "s/GPU=0/GPU=1/g" Makefile
$ sed -i "s/CUDNN_HALF=0/CUDNN_HALF=1/g" Makefile
$ sed -i "s/CUDNN=0/CUDNN=1/g" Makefile
$ sed -i "s/OPENCV=0/OPENCV=1/g" Makefile
$ make

Previous article - Darknet Training1
ChatGPT
back to marconi's blog