# Try Darknet Training (2) with My Own Customized Image Set ###### tags: `2022/06` `training` `customized image set` > <ins>(2022/6/) This section, we will try Darknet training based on my own customized image set.</ins> > ## :memo: Dependency Darknet requires OpenCV, so install the package first. ``` $ sudo apt install libopencv-dev ``` ## :memo: 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 ``` --- [:arrow_left:Previous article - Darknet Training1](https://hackmd.io/@MarconiJiang/darknet_training) [:arrow_right:ChatGPT](https://hackmd.io/@MarconiJiang/chatgpt) [:arrow_up:back to marconi's blog](https://marconi1964.github.io/)