How to load SimMIM Swin-B pretrained model in mmdet? Error with "AssertionError: backbone. is not in the pretrained model" #514
-
Hi, Thanks for great job. I try to load SimMIM Swin-B pretrained model in mmdet, but failed with How can I load the SimMIM pretrained model in mmdet? The pretrained model is from https://download.openmmlab.com/mmselfsup/simmim/simmim_swin-base_16xb128-coslr-100e_in1k-192_20220316-1d090125.pth Error message is:
My environment is
My mmdet config file is
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
The prefix should not be set, since the |
Beta Was this translation helpful? Give feedback.
-
I set Does this impact the model accuracy in mmdet? Below is the log.
|
Beta Was this translation helpful? Give feedback.
-
It's OK. Since |
Beta Was this translation helpful? Give feedback.
-
Got it. Thanks a lot for kindly classification. |
Beta Was this translation helpful? Give feedback.
It's OK. Since
relative_position_index
will be set to the initial value during the whole training process, whether or not loading it has marginal impact on the final result.