DAB-DETR icon indicating copy to clipboard operation
DAB-DETR copied to clipboard

How to use the swin-transformer as the backbone for DAB-DETR

Open yuan738 opened this issue 3 years ago • 5 comments

Thank you for help!

yuan738 avatar Apr 25 '22 17:04 yuan738

When I use swin-transformer as the backbone of the model, the error is ValueError: return_layers are not present in model.

So how can I modify the code of return_layers in backbone.py?

Thank you.

yuan738 avatar Apr 28 '22 11:04 yuan738

When I use swin-transformer as the backbone of the model, the error is ValueError: return_layers are not present in model.

So how can I modify the code of return_layers in backbone.py?

Thank you. do you solve this problem,can you help me

SaifeiYan avatar Jun 07 '22 05:06 SaifeiYan

sry, I didn't solve this problem.

yuan738 avatar Jun 13 '22 09:06 yuan738

I'm trying to fix this one as well

fernandorovai avatar Jul 15 '22 11:07 fernandorovai

Thank you for help!

Hi~ We've released our new codebase for DETR-like models called detrex, we've already supported Swin-Backbone for DAB-DETR in detrex now. And we've released new baselines with better mAP for DAB-DETR in detrex.

By using detrex, it's easier for you to use other backbones instead of Swin, ResNet, etc. @SaifeiYan @yuan738 @fernandorovai

rentainhe avatar Sep 28 '22 01:09 rentainhe