EfficientFormer
EfficientFormer copied to clipboard
RuntimeError: Unknown model (efficientformer_l1)
I run the code on my computer without GPU, but the error happens at creating model: RuntimeError: Unknown model (efficientformer_l1). The versions of torch, timm, and submitit are 1.8.0+cpu, 0.6.7 and 1.4.5.
Thank you very much.
I'm not quite certain about this issue. Perhaps
- It is because the CPU version of PyTorch,
- It is because some packages are not properly installed (such as timm)
Could you share the detailed log?
The detailed log is as follows:
Thank you very much!
It seems that you are using a new script Demo.py
, did you import the EfficientFormer models in that script?
Similar to main.py
:
from models import *