WongKinYiu / PyTorch_YOLOv4

PyTorch implementation of YOLOv4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculating Auto-Anchors

rak7045 opened this issue · comments

Hello @WongKinYiu ,
Thanks so much for your effort in making this repo. I have some trouble with calculating auto-anchors. In train.py I have uncommented the part and run the file. When I run I am getting the following error:
auto-anchor

However in here you have defined model. Could you please help me with this issue?

Initially, from my understanding I thought anchors were calculated automatically. Correct me if I am wrong. Later when I see there is no update about analyzing anchors I have seen this commented part in train.py and ran into this issue.