arthurdouillard / dytox

Dynamic Token Expansion with Continual Transformers, accepted at CVPR 2022
https://arxiv.org/abs/2111.11326
Apache License 2.0
134 stars 17 forks source link

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

Open zzli2022 opened 2 years ago

zzli2022 commented 2 years ago

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 commented 2 years ago

@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 commented 1 year ago

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