tgxs002 / CORA

A DETR-style framework for open-vocabulary detection (OVD). CVPR 2023
Apache License 2.0
174 stars 16 forks source link

'ResNet' object has no attribute 'attnpool' #8

Open MrBlue0632 opened 1 year ago

MrBlue0632 commented 1 year ago

Hello, I am a freshman in the field of deep learning. Recently, I encountered a small problem while reproducing the code for your paper. Can you please answer it? After configuring the corresponding environment, running demo. py will prompt 'ResNet' object has no attribute 'attnpool', but I found that attnpool has already been defined in model. py. May I ask what can be done later?

RobertTang0 commented 1 year ago

I also encountered the same problem, did you solve it?

zhangjingxian1998 commented 1 year ago

maybe you forgot to set --backbone clip_RN50 or clip_RN50x4