kmeans-anchor-boxes
kmeans-anchor-boxes copied to clipboard
apply in other dataset? such as KITTI.
trafficstars
can this method applied in other data set, such as KITTI(has converted into VOC format)? and how can I get those cluster figure and final cluster output(five anchor ratio)? thanks!
It will work with any data set as long as you have the bounding boxes of the objects (xmin,ymin,xmax,ymax). If you have your data set in the VOC format, then just look at test_voc2007.py. YOLO uses anchor boxes not as a ratio. I suppose you are configuring SSD with TF Object Detection API. You can just print the boxes and divide width by height (or vice versa) e. g. 100/300 = 0.333. But I never tested it myself.