Question about mmseg pre-trained weight loading #2354
Unanswered
endaoguansanlu
asked this question in
General
Replies: 1 comment
-
Hi, you can load different pre-trainied weights as the tutial shows: We highly recommend you to experience Since model=dict(
branch1=dict(type='SegFormer', init_cfg=dict(type='Pretrained', checkpoint='path/to/checkpoint1'))
branch2=dict(type='ResNet', init_cfg=dict(type='Pretrained', checkpoint='path/to/checkpoint2'))
) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, can mmseg load two pre-training weights, for example, a two-branch model, one branch is segformer, one branch is resnet, I will load the two pre-training weights to this two-branch model and then perform it on cityscapes segmentation.Looking forward to your reply, thank you!
Beta Was this translation helpful? Give feedback.
All reactions