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

TypeError: EViT.__init__() got an unexpected keyword argument 'default_cfg' #14

Open
ScottHoang opened this issue Jan 6, 2023 · 3 comments

Comments

@ScottHoang
Copy link

When running run_code.sh I get this error. Can you help?

@youweiliang
Copy link
Owner

Under what scenario did you use the code? I think this error won't happen in the original codebase.

@xuanmingcui
Copy link

When running run_code.sh I get this error. Can you help?

I believe it's due to the change in timm's build_model_with_cfg function variable name: default_cfg to pretrained_cfg.

@youweiliang
Copy link
Owner

I see. Thanks for the information.

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

3 participants