yolov3-polygon
yolov3-polygon copied to clipboard
About anchor generation
Hello, thanks for your work. I want to generate preset anchors for my own dataset , and my current label files are like 'cls x1 y1 x2 y2 x3 y3 x4 y4 ', how should I reorganize them?
First, generate anchor settings via utils/kmeans.py
, and you'll obtain infomationfor anchor shapes in anchor-cluster.txt
. Next copy them and paste into cfg/yolov3.cfg
like this.
@ming71 My dataset does not have a center, width, height, and theta, it only has the 4 coordinates of the bounding box, how to run your kmeans.py on my dataset as it requires width and height.
I have the same issue. I work with not rectangular bounding boxes. @HimanchalChandra did you find a solution for your dataset?