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] Add adan optimizer #1180

Merged
merged 11 commits into from
Nov 17, 2022
Merged

[Feature] Add adan optimizer #1180

merged 11 commits into from
Nov 17, 2022

Conversation

XingyuXie
Copy link
Contributor

@XingyuXie XingyuXie commented Nov 9, 2022

Motivation

Add the new optimizer, Adan

Modification

Add adan_t.py in mmclassification/mmcls/engine/optimizers/adan_t.py

Use cases (Optional)

Please see the attached config&log files for a detailed example.

@CLAassistant
Copy link

CLAassistant commented Nov 9, 2022

CLA assistant check
All committers have signed the CLA.

@Ezra-Yu Ezra-Yu changed the title Add adan optimizer [Feature] Add adan optimizer Nov 11, 2022
@codecov
Copy link

codecov bot commented Nov 11, 2022

Codecov Report

Base: 0.02% // Head: 89.19% // Increases project coverage by +89.17% 🎉

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

Additional details and impacted files
@@             Coverage Diff              @@
##           dev-1.x    #1180       +/-   ##
============================================
+ Coverage     0.02%   89.19%   +89.17%     
============================================
  Files          121      141       +20     
  Lines         8217    10526     +2309     
  Branches      1368     1674      +306     
============================================
+ Hits             2     9389     +9387     
+ Misses        8215      916     -7299     
- Partials         0      221      +221     
Flag Coverage Δ
unittests 89.19% <ø> (+89.17%) ⬆️

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

Impacted Files Coverage Δ
mmcls/apis/inference.py 0.00% <0.00%> (ø)
mmcls/datasets/transforms/compose.py
mmcls/utils/progress.py 66.66% <0.00%> (ø)
mmcls/models/classifiers/hugging_face.py 25.33% <0.00%> (ø)
mmcls/models/classifiers/timm.py 25.67% <0.00%> (ø)
mmcls/models/utils/layer_scale.py 86.66% <0.00%> (ø)
mmcls/models/backbones/mobileone.py 94.47% <0.00%> (ø)
mmcls/models/backbones/mobilevit.py 91.15% <0.00%> (ø)
mmcls/models/necks/reduction.py 100.00% <0.00%> (ø)
mmcls/models/backbones/efficientformer.py 95.08% <0.00%> (ø)
... and 131 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
Copy link
Member

mzr1996 commented Nov 14, 2022

Hello, please sign the CLA, and we can merge it after that, thanks:wink:

@mzr1996 mzr1996 merged commit e51ecfb into open-mmlab:dev-1.x Nov 17, 2022
mzr1996 pushed a commit to mzr1996/mmpretrain that referenced this pull request Nov 24, 2022
* add adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate init
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