KeyError: 'res4' using Swin backbone with detectron2 FCOS #5504
Unanswered
HiImCoder1818
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get an FCOS detection model working with a Swin transformer backbone. I have tried to edit my yaml configuration to the best of my abilities by setting IN_FEATURES: ["p3", "p4", "p5", "p6"]. however I keep getting this error.
My swin backbone is loaded like this:
And the SwinBackbone class is like:
The swin arch is just a standard swin transformer that follows the paper. I later plan to train the model with a standard pytorch training loop and not with DefaultTrainer
Beta Was this translation helpful? Give feedback.
All reactions