AlexeyAB / darknet

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

Ideal iterations? #5052

Open athulvingt opened 4 years ago

athulvingt commented 4 years ago

Yolo is great and really admire your work. I have few doubts, You have mentioned that ideal iterations is class*2000. But, config files in your repo the max_batch is 500,000 for a 80 class yolo network

AlexeyAB commented 4 years ago

It depends on the size of your dataset. Train 4x times more iterations than you have images.

athulvingt commented 4 years ago

I have 15,000 images 114,000+ annotations of 34 classes. so is it 15,000 x 4 or 114,000 x 4

AlexeyAB commented 4 years ago

60 000 - 70 000

athulvingt commented 4 years ago

does the image aspect ratio has something to do with training or inference? I did a ocr test on vehicle number plate, the number was "PC \n 111 AC" , it recognised only '11' of '111' , but when i cropped and took only the the lower part ( only '111AC ', excluding 'PC'), it recognised correctly