Replies: 1 comment 1 reply
-
@gagy3798 safe_model_name was added not that long ago, don't think it's in a pypi pip release yet. So you probably have a mix of github code w/ a pip installed version in your python env |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
sorry for stupid question. I would like to make some experiments with timm on windows.
I installed it with pip install timm
Then I try to run train.py as in examples
python train.py D:/ProductImagesSplit/ProductImagesSplit/ --model efficientnet_b0 -b 384 --sched step --epochs 450 --decay-epochs 2.4 --decay-rate .97 --opt rmsproptf --opt-eps .001 -j 8 --warmup-lr 1e-6 --weight-decay 1e-5 --drop 0.2 --drop-connect 0.2 --model-ema --model-ema-decay 0.9999 --aa rand-m9-mstd0.5 --remode pixel --reprob 0.2 --amp --lr .048
and I get following error
ImportError: cannot import name 'safe_model_name' from 'timm.models' (C:\Python39\lib\site-packages\timm\models_init_.py)
Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions