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

timm version #49

Open
haveasip-and-code opened this issue Jan 20, 2024 · 1 comment
Open

timm version #49

haveasip-and-code opened this issue Jan 20, 2024 · 1 comment

Comments

@haveasip-and-code
Copy link

I was trying to train this model on GG Colab. At first, I installed the latest version of timm (0.9.12) and I encountered this error: cannot import name 'Dataset' from 'timm.data'

Then I reinstalled the timm version that was recommended in the readme.md file (0.3.4) and I saw another error:
File "/root/.local/lib/python3.10/site-packages/timm/models/layers/helpers.py", line 6, in <module> from torch._six import container_abcs ModuleNotFoundError: No module named 'torch._six'

Can you please suggest any ways to fix this? Thank you so much.

@niceyh888
Copy link

I have the same question

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