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

Cannot import vit_deit_small #3

Open
michuanhaohao opened this issue Jun 9, 2021 · 1 comment
Open

Cannot import vit_deit_small #3

michuanhaohao opened this issue Jun 9, 2021 · 1 comment

Comments

@michuanhaohao
Copy link

from timm.models import vit_deit_small_patch16_224
ImportError: cannot import name 'vit_deit_small_patch16_224' from 'timm.models' (/home/michuan.lh/miniconda3/envs/moby/lib/python3.7/site-packages/timm/models/init.py)

Thanks for your work. When I run your code, I got an error that cannot import vit_deit_small_patch16_224.

@launchauto
Copy link

pip install timm==0.4.9
or update to the newest version of timm package would help

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