Trying to set anchor shape in the yolov4 configuration file

TLT Version → docker_tag: v3.21.08-py3
Network Type → Yolov4

Hi,

I am trying to set anchor shape after below command :-

command → tao yolo_v4 kmeans -l “/workspace/tao-experiments/labels” -i “/workspace/tao-experiments/images” -x 416 -y 416

terminal showing these shape values as shown below : -

Please use following anchor sizes in YOLO config:
(343.69, 167.92)
(223.03, 365.08)
(379.44, 224.79)
(342.06, 257.83)
(327.84, 305.50)
(397.92, 281.40)
(314.03, 393.25)
(386.75, 336.10)
(409.50, 414.38)

Now I am not able to decide that which one need to be set in the big,mid and small anchor in the yolov4_config. Kindly help in order to understand the arrangement of these anchor shape to be set in the config file

You can calculate with x * y. For example, 343.69 * 167.92 .
Seems that the first 3 shapes are the small ones.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.