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

[Feature] Implementation of RevViT #1127

Merged
merged 6 commits into from
Dec 14, 2022
Merged

Conversation

tonysy
Copy link
Collaborator

@tonysy tonysy commented Oct 24, 2022

Implement reversible vision tranformer #1073

  • RevViT-Small:
    • /mnt/petrelfs/share_data/zhangsongyang/mmclassification/checkpoints/revvit/rev_vit_s_mmcls_update_pos_embed.pth
  • RevViT-Base:
    • /mnt/petrelfs/share_data/zhangsongyang/mmclassification/checkpoints/revvit/rev_vit_b_mmcls_update_pos_embed.pth

Motivation

Please describe the motivation of this PR and the goal you want to achieve through this PR.

Modification

Please briefly describe what modification is made in this PR.

BC-breaking (Optional)

Does the modification introduce changes that break the backward compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.

Use cases (Optional)

If this PR introduces a new feature, it is better to list some use cases here and update the documentation.

Checklist

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

  • If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects, like MMDet or MMSeg.
  • CLA has been signed and all committers have signed the CLA in this PR.

@tonysy tonysy changed the title [WIP] implement rev-vit network [WIP] Implementation of RevViT Dec 11, 2022
@codecov
Copy link

codecov bot commented Dec 11, 2022

Codecov Report

Base: 0.02% // Head: 88.61% // Increases project coverage by +88.59% 🎉

Coverage data is based on head (3dc878a) compared to base (b8b31e9).
Patch has no changes to coverable lines.

❗ Current head 3dc878a differs from pull request most recent head b2a136c. Consider uploading reports for the commit b2a136c to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           dev-1.x    #1127       +/-   ##
============================================
+ Coverage     0.02%   88.61%   +88.59%     
============================================
  Files          121      151       +30     
  Lines         8217    11808     +3591     
  Branches      1368     1892      +524     
============================================
+ Hits             2    10464    +10462     
+ Misses        8215     1041     -7174     
- Partials         0      303      +303     
Flag Coverage Δ
unittests 88.61% <ø> (+88.59%) ⬆️

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

Impacted Files Coverage Δ
mmcls/datasets/transforms/compose.py
mmcls/models/backbones/efficientformer.py 95.08% <0.00%> (ø)
mmcls/models/backbones/mobileone.py 94.47% <0.00%> (ø)
mmcls/evaluation/metrics/voc_multi_label.py 100.00% <0.00%> (ø)
mmcls/utils/progress.py 66.66% <0.00%> (ø)
mmcls/models/backbones/mobilevit.py 91.15% <0.00%> (ø)
mmcls/models/classifiers/hugging_face.py 25.64% <0.00%> (ø)
mmcls/models/backbones/beit.py 57.06% <0.00%> (ø)
mmcls/apis/model.py 83.52% <0.00%> (ø)
mmcls/models/backbones/deit3.py 94.52% <0.00%> (ø)
... and 142 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tonysy tonysy requested a review from mzr1996 December 11, 2022 15:07
@tonysy tonysy changed the title [WIP] Implementation of RevViT [Feature] Implementation of RevViT Dec 13, 2022
@mzr1996 mzr1996 merged commit 210373c into open-mmlab:dev-1.x Dec 14, 2022
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.

None yet

2 participants