Closed Yvette1993 closed 10 months ago
I found the issue, Thank you
I meet the same problem, How did you solve it?
So how did you solve it?
@xiaoxiaobina @JPassionQ Please make sure you are using mmdet
included in Co-DETR rather than installing it from PyPI, as Co-DETR has made some modifications to the mmdet
code, and you may encounter similar issues if you use mmdet installed from PyPI. You can try uninstalling mmdet
and adding the following code to tools/train.py
:
import sys
sys.path.append('/path/to/Co-DETR/')
@uitamaki Thanks very much. I've found that it was because something wrong with my config file. But still thank you!
非常感谢。我发现这是因为我的配置文件有问题。但还是谢谢你!
How do you modify the configuration file?thanks
Hi, Thank for your great jobs. When I run the dist_train.sh for the co_dino_5scale_swin_large_1x_coco.py model got an TypeError:CoDETR:CoDINOHead:CoDinoTransformer:DeterTransformerEncoder:init() got an unexpected keyword argument ‘with_cp’. But I don’t meet the error when run co_deformable_detr_model. Please help me, thank you.