darknet_scripts
darknet_scripts copied to clipboard
How to choise value of num_clusters ?
How to choise value of num_clusters ? what it mean ? Thanks!!
It is number of anchors. Yolo-voc uses 5 anchors (num = 5) https://github.com/AlexeyAB/darknet/blob/master/cfg/yolo-voc.cfg#L246
For the case of VOC, author choose 5 experimentally (refer to figure 2 in the paper) https://pjreddie.com/media/files/papers/YOLO9000.pdf
Depending on your case you can set 1, 3, 5 anchors and see which setting works best
thanks @Jumabek! Just to be sure and for better comprehension, why are there set 5 anchors on line 246 when on Line 242 10 Anchors are being used? Edit: got it, for every anchor 2 coordinates