AlexeyAB / darknet

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

Batch and subdivision error on SPP #2924

Open HamzahNizami opened 5 years ago

HamzahNizami commented 5 years ago

Hi @AlexeyAB i am currently getting the following error when trying to run my dataset with YOLO.SPP

Error: You set incorrect value batch=1 for Training! You should set batch=64 subdivision=64

Screenshot below shows my cfg file

image

Attached below is my cfg file if this helps.

yolov3-spp.txt

AlexeyAB commented 5 years ago

@HamzahNizami Hi,

Error: You set incorrect value batch=1 for Training! You should set batch=64 subdivision=64

You should train with batch=64 subdivision=64

HamzahNizami commented 5 years ago

Where do I set this?