pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.82k stars 21.33k forks source link

YOLO2/3 can only regression the number of bounding box less than 30? #600

Open VisionZQ opened 6 years ago

VisionZQ commented 6 years ago

Hi , Thanks for you share. I had view some source code and had some question about it. If the number of GT boxes more than 30 , yolo only deal with 30 boxes?

wx20180330-111622 2x
AlexeyAB commented 6 years ago
VisionZQ commented 6 years ago

ok. If the number of boxes more than 90, how do yolo deal with? I try to change the l.max_boxes through setting max = 100 in cfg file , but yolo will crash (core dump)???

AlexeyAB commented 6 years ago

I changed it in my fork: https://github.com/AlexeyAB/darknet

VisionZQ commented 6 years ago

thanks a lot. l will try again.

RyanCV commented 6 years ago

@AlexeyAB

Yolo v3 - set max=200 in the each of 3 [yolo] layers in cfg-file:

When max=200, does it mean the number of ground truth boxes be >= 200? For example, if there is only 150 ground truth boxes, can I set max=200 or higher value, i.e. max=200?