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.15k stars 232 forks source link

About backbone #157

Open Hezey opened 1 year ago

Hezey commented 1 year ago

@HaoZhang534 @SlongLiu @FengLi-ust @IDEACVR Excellent work! I'm new to deep learning. I would like to try to replace some commonly used Backbone networks that does not exist in the project. Who can help me,? or whether there are relevant guidance documents. Thank you very much!

HaoZhang534 commented 1 year ago

@Hezey Please refer to the detrex version implementation https://github.com/IDEA-Research/detrex/tree/main/projects/dino , which contains DINO with several common backbones.

Hezey commented 1 year ago

@Hezey Please refer to the detrex version implementation https://github.com/IDEA-Research/detrex/tree/main/projects/dino , which contains DINO with several common backbones.

Thank you for your reply. But I want to use other Backbone such as MobileNet, which does not exist in the above link. how can I do? help me please!/(ㄒoㄒ)/~~

Hezey commented 1 year ago

@Hezey Please refer to the detrex version implementation https://github.com/IDEA-Research/detrex/tree/main/projects/dino , which contains DINO with several common backbones.

Excuse me When I try to replace the backbone network, I get the following error: “Given groups=1, weight of size [256, 512, 1, 1], expected input[2, 960, 21, 38] to have 512 channels, but got 960 channels instead“ How should I fix it? @HaoZhang534 @SlongLiu @FengLi-ust @rentainhe

puyiwen commented 10 months ago

@Hezey请参考 detrex 版本实现https://github.com/IDEA-Research/detrex/tree/main/projects/dino,其中包含具有几个公共主干的 DINO。

请问 当我尝试更换主干网络时,出现以下错误: “Given groups=1, Weight of size [256, 512, 1, 1], Expected input[2, 960, 21, 38] to have 512频道,但得到了 960 个频道“ 我该如何解决这个问题? @HaoZhang534 @SlongLiu @FengLi-ust @rentainhe

Have you solve the problem? I want to change the backbone with mobilenetv2, but I dont know how to set the args.