Skip to content

add swin transformer moe as backbone#209

Open
adverbial03 wants to merge 1 commit intoSwinTransformer:masterfrom
adverbial03:master
Open

add swin transformer moe as backbone#209
adverbial03 wants to merge 1 commit intoSwinTransformer:masterfrom
adverbial03:master

Conversation

@adverbial03
Copy link

Motivation

In order to expand the parameters of the swing transformer backbone network and improve its monitoring effect, I added Swin Transformer MoE (referred to as Swin-T MoE hereafter) as a new backbone network.

Modification

I added Swin Transformer MoE (referred to as Swin-T MoE hereafter) as a new backbone network :
.\mmdet\models\backbones\swin_transformer_moe.py

As the output of Swin-T MoE is different from Swin-T, I modified the extract_feat function in .\mmdet\models\detectors\two_stage.py.

BC-breaking (Optional)

I think no.

Use cases (Optional)

I provided the relevant configuration files for reference:
contains the parameters for the Swin-T MoE backbone network:

.\configs\swin\cascade_mask_rcnn_swin_moe_tiny_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco.py

contains the modified configuration for the backbone network:

.\configs\swin\cascade_mask_rcnn_swin_moe_tiny_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco.py

Thanks for your read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant