Skip to content

[Bug] vis_cam.py error #1971

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

Open
a819411321 opened this issue Mar 6, 2025 · 0 comments
Open

[Bug] vis_cam.py error #1971

a819411321 opened this issue Mar 6, 2025 · 0 comments

Comments

@a819411321
Copy link

Branch

main branch (mmpretrain version)

Describe the bug

Image

Environment

use vis_cam.py to see featmap of swin-small_16xb64_in1k, but error. Error imshow "The input feature's length (192) minus num-extra-tokens (0) is 192, which is not a perfect square number. Please check if you used a wrong num-extra-tokens."

Other information

No response

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

1 participant