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

Indentation bug in utils.remap_pretrained_keys_vit #29

Open
BradMcDanel opened this issue Jul 6, 2022 · 0 comments
Open

Indentation bug in utils.remap_pretrained_keys_vit #29

BradMcDanel opened this issue Jul 6, 2022 · 0 comments

Comments

@BradMcDanel
Copy link

BradMcDanel commented Jul 6, 2022

Currently, this code causes an error when loading a pre-trained model. I believe lines 211-212 were meant to be indented inside the if statement, as otherwise, the condition does not make sense. Indenting these lines fixed the issue for me.

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