dytox icon indicating copy to clipboard operation
dytox copied to clipboard

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

Open zzli2022 opened this issue 2 years ago • 2 comments

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

zzli2022 avatar Sep 06 '22 06:09 zzli2022

@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

jjunsss avatar Sep 30 '22 12:09 jjunsss

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

linlany avatar Jan 01 '23 13:01 linlany