Search code examples
machine-learningcomputer-visionyolodarknet

Tiny YOLOv3 (Darknet) training "too quickly" and produces different output


I am pretty new to YOLO/Darknet and am walking in circles with the solutions. I have looked at the Github and Stackexchange fora pages corresponding with similar issues, but none seems to directly address this output issue (i.e. where the region IOU line is missing). Here is my output (training/testing):

enter image description here

Here is my directory structure: enter image description here

Other details:

  • I am using the AlexeyAB fork.
  • 6 classes in total (following this convention of annotating occluded and truncated items, so two "items" with three classes each)
  • I'm using 200+ training images (definitely too few, but I don't know if this is the root cause of my troubles).
  • There is no predictions.png, just predictions.jpg. However, I don't think this should be an issue.
  • I followed this tutorial.

Any help is very much appreciated; thank you in advance!


Solution

  • If it finish too soon on training, try adding -clear 1at the end of your training command.

    EDIT: This is the correct answer (ergo why I accepted it), but lacks an explanation. The "-clear 1" flag is, according to this answer, clears past stats.