Skip to content
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

[fix] fix loading deit weights #538

Merged
merged 1 commit into from
May 9, 2021
Merged

Conversation

xiexinch
Copy link
Collaborator

@xiexinch xiexinch commented May 8, 2021

Ref implementation

Add 'model' case at init_weights()function in vit backbone.

In addition, delete unnecessary code in multilevel neck.

@xiexinch xiexinch changed the title [fix] support loading deit weights [fix] fix loading deit weights May 8, 2021
@codecov
Copy link

codecov bot commented May 8, 2021

Codecov Report

Merging #538 (c722769) into master (db44d16) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #538      +/-   ##
==========================================
- Coverage   86.79%   86.76%   -0.04%     
==========================================
  Files         101      101              
  Lines        5249     5250       +1     
  Branches      848      849       +1     
==========================================
- Hits         4556     4555       -1     
- Misses        533      535       +2     
  Partials      160      160              
Flag Coverage Δ
unittests 86.76% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmseg/models/backbones/vit.py 87.04% <0.00%> (-0.92%) ⬇️
mmseg/models/necks/multilevel_neck.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db44d16...c722769. Read the comment docs.

@clownrat6 clownrat6 requested a review from xvjiarui May 8, 2021 15:57
@xvjiarui xvjiarui merged commit 584f5a7 into open-mmlab:master May 9, 2021
bowenroom pushed a commit to bowenroom/mmsegmentation that referenced this pull request Feb 25, 2022
aravind-h-v pushed a commit to aravind-h-v/mmsegmentation that referenced this pull request Mar 27, 2023
sibozhang pushed a commit to sibozhang/mmsegmentation that referenced this pull request Mar 22, 2024
* resolve comments

* update changelog

* update docs & README
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.

2 participants