Help Needed: Import Error with DETR ResNet-101-DC5 on Hugging Face

#3
by ThibautM - opened

Hi everyone,

I'm encountering a technical hitch with DETR (DEtection TRansformer) using ResNet-101-DC5 on the Hugging Face platform. When I try to run a test, I get the following error message:

Failed to import transformers.models.detr.modeling_detr because of the following error (look up to see its traceback): mutable default <class 'timm.models.maxxvit.MaxxVitConvCfg'> for field conv_cfg is not allowed: use default_factory.

I'm not quite sure what's causing this or how to fix it. Has anyone else faced this issue or can offer some guidance on how to resolve it? Any advice or suggestions would be greatly appreciated!

Thanks a lot in advance for your help!

Sign up or log in to comment