AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.71k stars 7.96k forks source link

Training stops at random iteration in Google Colab #7902

Open AMYEY opened 3 years ago

AMYEY commented 3 years ago

I am training custom dataset with 1 class on Google Colab by using the following command:

!./darknet detector train data/obj.data cfg/yolov4_training.cfg yolov4.conv.137 -dont_show

However my training stops at random iterations. I guess the ^C means keyboard interrupt but I am not interrupting the execution at all. I have tried twice before and the execution stops at some random number. image

What am I doing wrong here?

stephanecharette commented 3 years ago
  1. You probably should have -map in there as well: https://www.ccoderun.ca/programming/darknet_faq/#training_command
  2. Try and use a tool like DarkMark to verify your images and annotations. You probably have a bad image or path somewhere. https://www.ccoderun.ca/programming/darknet_faq/#tldr