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

[Enhance] Reproduce mobileone training accuracy #1191

Merged
merged 19 commits into from
Nov 21, 2022

Conversation

Ezra-Yu
Copy link
Collaborator

@Ezra-Yu Ezra-Yu commented Nov 11, 2022

Motivation

Reproduce mobileone training accuracy

base on #1101

Modification

  1. Update configs, readme, and link.
  2. update vis_scheduler.pt tool to visualize weight-decay plot

Use cases (Optional)

Train
python tools/train.py configs/mobileone/mobileone-s0_8xb32_in1k.py
visualize weight decay plot
python ./tools/visualizations/vis_scheduler.py configs/mobileone/mobileone-s0_8xb32_in1k.py  -d 1000 -p momentum

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.

@codecov
Copy link

codecov bot commented Nov 11, 2022

Codecov Report

Base: 0.02% // Head: 89.08% // Increases project coverage by +89.06% 🎉

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

❗ Current head 957ddfa differs from pull request most recent head 220816e. Consider uploading reports for the commit 220816e to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           dev-1.x    #1191       +/-   ##
============================================
+ Coverage     0.02%   89.08%   +89.06%     
============================================
  Files          121      143       +22     
  Lines         8217    10885     +2668     
  Branches      1368     1731      +363     
============================================
+ Hits             2     9697     +9695     
+ Misses        8215      947     -7268     
- Partials         0      241      +241     
Flag Coverage Δ
unittests 89.08% <ø> (+89.06%) ⬆️

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/models/classifiers/hugging_face.py 25.33% <0.00%> (ø)
mmcls/models/backbones/mobilevit.py 91.15% <0.00%> (ø)
mmcls/engine/hooks/retriever_hooks.py 72.72% <0.00%> (ø)
mmcls/models/retrievers/image2image.py 92.38% <0.00%> (ø)
mmcls/engine/hooks/switch_recipe_hook.py 88.46% <0.00%> (ø)
mmcls/structures/utils.py 77.77% <0.00%> (ø)
mmcls/models/backbones/swin_transformer_v2.py 89.63% <0.00%> (ø)
mmcls/models/classifiers/timm.py 25.67% <0.00%> (ø)
... and 133 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 4969830 into open-mmlab:dev-1.x Nov 21, 2022
mzr1996 pushed a commit to mzr1996/mmpretrain that referenced this pull request Nov 24, 2022
* add switch hook and UTs

* update doc

* update doc

* fix lint

* fix ci

* fix ci

* fix typo

* fix ci

* update configs names

* update configs

* update configs

* update links

* update readme

* update vis_scheduler

* update metafile

* update configs

* rebase

* fix ci

* rebase
@Ezra-Yu Ezra-Yu deleted the 1.x_reproduce_mobileone_train branch April 13, 2023 11:55
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