IDEA-Research / DINO

[ICLR 2023] Official implementation of the paper "DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection"
Apache License 2.0
2.1k stars 230 forks source link

a question about backbones of covnext and swin #172

Open LiuYChh opened 1 year ago

LiuYChh commented 1 year ago

当我尝试更换backbone为swin或covnext时,会出现报错:“AttributeError: 'Namespace' object has no attribute 'backbone_dir'”

期待您的回复。 谢谢!

HaoZhang534 commented 1 year ago

你需要传人参数backbone_dir,指定预训练的swin或者conext的checkpoint所在的目录