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

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

Open
eguar11011 opened this issue Apr 23, 2024 · 3 comments
Open

Comments

@eguar11011
Copy link

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
Copy link

Did you solve the problem?

@eguar11011
Copy link
Author

@Dongzhikang noup

@noelshin
Copy link

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

pip install timm==0.4.12

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