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

About the timm: ImportError: cannot import name 'overlay_external_default_cfg' #14

Open
zzli2022 opened this issue Sep 6, 2022 · 2 comments

Comments

@zzli2022
Copy link

zzli2022 commented Sep 6, 2022

I have noticed that in your requirements.txt file, the project need timm>=0.3.2, and I find when i bash the train.sh
the continual package lack the corresponding function 'overlay_external_default_cfg'.
Here is the Error
image
and this is my timm version
image
I have also tried the timm0.6.7
image

@jjunsss
Copy link

jjunsss commented Sep 30, 2022

@zzli2022
HI ! I solved this problem through correcting torch version && torchvision version.
maybe you can use this repo through correcting version

<I'm using a 3090TI >
pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 -f https://download.pytorch.org/whl/torch_stable.html

@linlany
Copy link

linlany commented Jan 1, 2023

I had the same problem. I tried several versions and the 0.4.9 timm worked

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