Ubuntu darknet Error: Cannot load image“/home/…/1380.jpg” STB Reason: can’t fopen

Yolo3 training prompts that pictures cannot be loaded. I carefully compared the previous training sets, and found that the previous picture format was “.JPG”, the training format was “.JPEG”, and the error path was also “.JPG”. I tried to change the picture format to “.JPG” and found that I could successfully train.

Batch change suffix:

Execute in the directory where the picture is located

rename  's/\.jpeg/.jpg/' *.jpeg

Similar Posts: