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

anchors question #129

Open
mmpp406 opened this issue Aug 14, 2022 · 1 comment
Open

anchors question #129

mmpp406 opened this issue Aug 14, 2022 · 1 comment

Comments

@mmpp406
Copy link

mmpp406 commented Aug 14, 2022

When multi-scale training is applied, the output feature map size also changes, so shouldn't the size of the prior anchor be modified at the same time? But why does anchors remain the same in the code?

@robator0127
Copy link

it is because of view operation.code is
global_average_pool_reshaped =
global_average_pool.permute(0, 2, 3, 1).contiguous().view(bsize,
-1, cfg.num_anchors, cfg.num_classes + 5)
in darknet.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants