-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tools] Add vit/swin/mit convert weight scripts #783
Conversation
Codecov Report
@@ Coverage Diff @@
## master #783 +/- ##
=======================================
Coverage 86.09% 86.09%
=======================================
Files 108 108
Lines 5860 5860
Branches 953 953
=======================================
Hits 5045 5045
Misses 630 630
Partials 185 185
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
The description or docstring is too short. |
What information should be included? |
Describe what the script does, such as RegNet model to MMDetection
Please update the Chinese document at the same time. |
We may delete convert function from ViT/Swin backbones in a new PR. (It seems that Segformer's readme.md should be renamed as README.md, and model-index is also missing). |
docs/useful_tools.md
Outdated
@@ -277,6 +277,14 @@ We provide scripts to convert pretrain models provided by other repos to MMSegme | |||
python tools/model_converters/swin2mmseg.py ${SRC} ${DST} | |||
``` | |||
|
|||
- Segformer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Segformer | |
- SegFormer |
…into conver_weight_scripts
* init scripts * update markdown * update markdown * add docs * delete mit converter and use torch load function * rename segformer readme * update doc * modify doc * 更新中文文档 * Update useful_tools.md * Update useful_tools.md * modify doc * update segformer.yml
* init scripts * update markdown * update markdown * add docs * delete mit converter and use torch load function * rename segformer readme * update doc * modify doc * 更新中文文档 * Update useful_tools.md * Update useful_tools.md * modify doc * update segformer.yml
Motivation
Remove convert keys operation at
init_weight
function, use script instead.