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

Import Error in timm.models.helpers.overlay_external_default_cfg #25

Open eguar11011 opened 6 months ago

eguar11011 commented 6 months ago

When attempting to execute the training script main.py using the shell script train.sh, an import error occurs related to the module timm.models.helpers. The specific error indicates that the function overlay_external_default_cfg cannot be imported from timm.models.helpers.

>  bash` train.sh 0,1 
>     --options options/data/cifar100_2-2.yaml options/data/cifar100_order1.yaml options/model/cifar_dytox.yaml \
>     --name dytox \
>     --data-path MY_PATH_TO_DATASET \
>     --output-basedir PATH_TO_SAVE_CHECKPOINTS \
>     --memory-size 1000
Dongzhikang commented 6 months ago

Did you solve the problem?

eguar11011 commented 6 months ago

@Dongzhikang noup

noelshin commented 6 months ago

Please try installing the specific version (0.4.12) of timm library:

pip install timm==0.4.12