Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The shape of anchors should be [self.num_scale, -1, 2] #10

Open
Darkhunter9 opened this issue Jun 21, 2021 · 0 comments
Open

The shape of anchors should be [self.num_scale, -1, 2] #10

Darkhunter9 opened this issue Jun 21, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Darkhunter9
Copy link

Hi:
Great work! But I think in line 84 of yolo.py, the shape of anchors should be [self.num_scale, -1, 2], instead of [self.num_anchors, -1, 2]. Coincidentally self.num_scale is equal to self.num_anchors in configurations.

https://github.com/LongxingTan/Yolov5/blob/88acfd988decc4cc78335cfb6eb50f1975294c1f/yolo/model/yolo.py#L84

@Darkhunter9 Darkhunter9 added the bug Something isn't working label Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant