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

AnchorGenerator can support multiply scales for ratios? #28

Open
zimenglan-sysu-512 opened this issue May 31, 2023 · 1 comment
Open

Comments

@zimenglan-sysu-512
Copy link

when set multiply ratios like [0.5, 1, 2.0], it will crash in the FAM3DHead.

  File "/home/tiger/ConsistentTeacher/ssod/models/dense_heads/fam3d.py", line 169, in forward
    b, h, w, 4).permute(0, 3, 1, 2) / stride[0]
RuntimeError: shape '[4, 104, 180, 4]' is invalid for input of size 898560

so will support multiply scales for ratios?

@Johnson-Wang
Copy link
Collaborator

Sorry. It does not work for multiple ratios at present. But you may try to change the shape size in this line of code to support this feature.

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