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

CodeCamp #62 #1238

Merged
merged 52 commits into from
Jan 17, 2023
Merged

CodeCamp #62 #1238

merged 52 commits into from
Jan 17, 2023

Conversation

aso538
Copy link
Contributor

@aso538 aso538 commented Dec 2, 2022

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

添加LeViT的BackBone和权重转换
论文:https://arxiv.org/pdf/2104.01136.pdf

Modification

添加模型文件与配置文件

Please briefly describe what modification is made in this PR

@CLAassistant
Copy link

CLAassistant commented Dec 2, 2022

CLA assistant check
All committers have signed the CLA.

@aso538 aso538 marked this pull request as draft December 27, 2022 03:28
@aso538 aso538 marked this pull request as ready for review December 27, 2022 03:28
@aso538 aso538 closed this Dec 27, 2022
@aso538 aso538 deleted the dev-1.x branch December 27, 2022 07:00
@aso538 aso538 restored the dev-1.x branch December 27, 2022 07:00
@aso538 aso538 reopened this Dec 27, 2022
@aso538 aso538 marked this pull request as draft December 27, 2022 08:26
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Show resolved Hide resolved
activation=attention_activation,
resolution=resolution,
), drop_path))
if mr > 0:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This condition is useless if mlp_ratio won't equal zero.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't understand what you mean. Only when the mlp_ ratio is greater than 0 MLP is meaningful

mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
mmcls/models/backbones/levit.py Outdated Show resolved Hide resolved
@aso538 aso538 requested a review from mzr1996 January 10, 2023 03:12
@codecov
Copy link

codecov bot commented Jan 17, 2023

Codecov Report

Base: 0.02% // Head: 86.58% // Increases project coverage by +86.56% 🎉

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

Additional details and impacted files
@@             Coverage Diff              @@
##           dev-1.x    #1238       +/-   ##
============================================
+ Coverage     0.02%   86.58%   +86.56%     
============================================
  Files          121      165       +44     
  Lines         8217    13382     +5165     
  Branches      1368     2125      +757     
============================================
+ Hits             2    11587    +11585     
+ Misses        8215     1448     -6767     
- Partials         0      347      +347     
Flag Coverage Δ
unittests 86.58% <ø> (+86.56%) ⬆️

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

Impacted Files Coverage Δ
mmcls/datasets/transforms/compose.py
mmcls/structures/utils.py 77.77% <0.00%> (ø)
mmcls/models/backbones/davit.py 84.94% <0.00%> (ø)
mmcls/models/backbones/revvit.py 64.39% <0.00%> (ø)
mmcls/models/backbones/vig.py 18.85% <0.00%> (ø)
mmcls/models/tta/__init__.py 100.00% <0.00%> (ø)
mmcls/models/backbones/mvit.py 92.46% <0.00%> (ø)
mmcls/engine/optimizers/adan_t.py 10.60% <0.00%> (ø)
mmcls/models/backbones/beit.py 57.06% <0.00%> (ø)
mmcls/models/utils/layer_scale.py 86.66% <0.00%> (ø)
... and 156 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.

@mzr1996 mzr1996 merged commit 6b9e2b5 into open-mmlab:dev-1.x Jan 17, 2023
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.

3 participants