kmeans-anchor-boxes icon indicating copy to clipboard operation
kmeans-anchor-boxes copied to clipboard

apply in other dataset? such as KITTI.

Open sangthian opened this issue 7 years ago • 1 comments
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!

sangthian avatar Mar 01 '18 03:03 sangthian

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.

lars76 avatar Mar 01 '18 14:03 lars76