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] support eta_min_ratio in CosineAnnealingParamScheduler #725

Merged
merged 7 commits into from
Nov 22, 2022

Conversation

cir7
Copy link
Contributor

@cir7 cir7 commented Nov 15, 2022

Motivation

[Enhance] support eta_min_ratio in CosineAnnealingParamScheduler
[doc] fix a typo in CosineRestartParamScheduler's docstring

@cir7 cir7 requested a review from RangiLyu as a code owner November 15, 2022 08:22
@cir7 cir7 force-pushed the lilin/support_eta_min_ratio branch 2 times, most recently from 0da0742 to c5a290c Compare November 15, 2022 08:51
@cir7 cir7 force-pushed the lilin/support_eta_min_ratio branch from c5a290c to 43f52fb Compare November 15, 2022 08:56
Copy link
Member

@RangiLyu RangiLyu left a comment

Choose a reason for hiding this comment

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

Please also add some unit tests for eta_min_ratio.

@codecov
Copy link

codecov bot commented Nov 16, 2022

Codecov Report

Base: 78.41% // Head: 78.40% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (022ec2e) compared to base (48650f3).
Patch coverage: 66.66% of modified lines in pull request are covered.

❗ Current head 022ec2e differs from pull request most recent head 2019b1a. Consider uploading reports for the commit 2019b1a to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #725      +/-   ##
==========================================
- Coverage   78.41%   78.40%   -0.01%     
==========================================
  Files         127      127              
  Lines        9178     9184       +6     
  Branches     1826     1827       +1     
==========================================
+ Hits         7197     7201       +4     
- Misses       1670     1671       +1     
- Partials      311      312       +1     
Flag Coverage Δ
unittests 78.40% <66.66%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
mmengine/optim/scheduler/param_scheduler.py 87.79% <66.66%> (-0.38%) ⬇️

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.

@cir7 cir7 force-pushed the lilin/support_eta_min_ratio branch from de9969f to 2019b1a Compare November 16, 2022 13:21
RangiLyu
RangiLyu previously approved these changes Nov 17, 2022
mmengine/optim/scheduler/param_scheduler.py Show resolved Hide resolved
mmengine/optim/scheduler/param_scheduler.py Outdated Show resolved Hide resolved
mmengine/optim/scheduler/param_scheduler.py Outdated Show resolved Hide resolved
mmengine/optim/scheduler/param_scheduler.py Show resolved Hide resolved
mmengine/optim/scheduler/param_scheduler.py Outdated Show resolved Hide resolved
mmengine/optim/scheduler/param_scheduler.py Show resolved Hide resolved
@HAOCHENYE HAOCHENYE added the enhancement New feature or request label Nov 17, 2022
@HAOCHENYE HAOCHENYE added this to the 0.4.0 milestone Nov 17, 2022
@HAOCHENYE HAOCHENYE modified the milestones: 0.4.0, 0.3.2 Nov 22, 2022
zhouzaida
zhouzaida previously approved these changes Nov 22, 2022
HAOCHENYE
HAOCHENYE previously approved these changes Nov 22, 2022
Copy link
Collaborator

@HAOCHENYE HAOCHENYE left a comment

Choose a reason for hiding this comment

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

Approved!!!
image

@cir7 cir7 dismissed stale reviews from HAOCHENYE and zhouzaida via bceebf3 November 22, 2022 08:12
@zhouzaida zhouzaida merged commit 0e6bb48 into open-mmlab:main Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants