when running valid.py it shows this error
Traceback (most recent call last):
File "validate.py", line 371, in
main()
File "validate.py", line 358, in main
validate(args)
File "validate.py", line 156, in validate
model = create_model(
File "C:\Users\CHU001\anaconda3\envs\pytorch\lib\site-packages\timm\models\factory.py", line 71, in create_model
raise RuntimeError('Unknown model (%s)' % model_name)
RuntimeError: Unknown model (iformer_small)
the code i ran:
python validate.py ./imagenet --model iformer_small --checkpoint checkpoint/iformer_small/model_best.pth.tar
i found out it grabs the model "iformer_small" from the directory of anaconda3\envs\pytorch\lib\site-packages\timm\models
but there seems to be no such model as "iformer_small"
when running valid.py it shows this error
Traceback (most recent call last):
File "validate.py", line 371, in
main()
File "validate.py", line 358, in main
validate(args)
File "validate.py", line 156, in validate
model = create_model(
File "C:\Users\CHU001\anaconda3\envs\pytorch\lib\site-packages\timm\models\factory.py", line 71, in create_model
raise RuntimeError('Unknown model (%s)' % model_name)
RuntimeError: Unknown model (iformer_small)
the code i ran:
python validate.py ./imagenet --model iformer_small --checkpoint checkpoint/iformer_small/model_best.pth.tar
i found out it grabs the model "iformer_small" from the directory of anaconda3\envs\pytorch\lib\site-packages\timm\models
but there seems to be no such model as "iformer_small"