EfficientFormer icon indicating copy to clipboard operation
EfficientFormer copied to clipboard

RuntimeError: Unknown model (efficientformer_l1)

Open Jialeen opened this issue 2 years ago • 3 comments

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.

Jialeen avatar Aug 01 '22 10:08 Jialeen

I'm not quite certain about this issue. Perhaps

  1. It is because the CPU version of PyTorch,
  2. It is because some packages are not properly installed (such as timm)

Could you share the detailed log?

liyy201912 avatar Aug 06 '22 21:08 liyy201912

The detailed log is as follows: 1660007295703 Thank you very much!

Jialeen avatar Aug 09 '22 01:08 Jialeen

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 *

liyy201912 avatar Aug 09 '22 05:08 liyy201912