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

【Hackathon No.13】为 Paddle 新增 CyclicLR 优化调度器 #40698

Merged
merged 33 commits into from
Jun 8, 2022
Merged

【Hackathon No.13】为 Paddle 新增 CyclicLR 优化调度器 #40698

merged 33 commits into from
Jun 8, 2022

Conversation

Asthestarsfalll
Copy link
Contributor

@Asthestarsfalll Asthestarsfalll commented Mar 18, 2022

PR types

Others

PR changes

APIs

Describe

解决了issue:#40321
增加了CyclicLR优化调度器。具体地,paddle.optimizer.lr.CyclicLR(base_learning_rate,max_learning_rate,step_size_up,step_size_down, mode='triangular',gamma=1.,scale_fn=None,scale_mode='cycle',last_epoch=-1,verbose=False)能控制学习率以固定周期在base_learning_rate和max_learning_rate之间变化,它的调整是以batch step进行的,同时还有3种内置的波幅调整策略:“triangular”、“triangular2”、“exp_range”。
设计文档:PaddlePaddle/community#33
中文文档:PaddlePaddle/docs#4315

@CLAassistant
Copy link

CLAassistant commented Mar 18, 2022

CLA assistant check
All committers have signed the CLA.

@paddle-bot-old
Copy link

paddle-bot-old bot commented Mar 18, 2022

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@paddle-bot-old paddle-bot-old bot added contributor External developers status: proposed labels Mar 18, 2022
@paddle-bot-old
Copy link

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot-old
Copy link

PR格式检查通过,你的PR将接受Paddle专家以及开源社区的review,请及时关注PR动态。
The format inspection passed. Your PR will be reviewed by experts of Paddle and developers from the open-source community. Stay tuned.

@dingjiaweiww
Copy link
Contributor

请先通过CI噢~

@Asthestarsfalll
Copy link
Contributor Author

@dingjiaweiww 你好,已修改更新了,但还是有些过不了,可以帮忙看下吗?十分感谢!

@dingjiaweiww
Copy link
Contributor

PR-CI-Coverage表示 代码覆盖率不够

@dingjiaweiww
Copy link
Contributor

R-CI-iScan-Python指 代码不符合规范

@dingjiaweiww dingjiaweiww reopened this Apr 2, 2022
@dingjiaweiww
Copy link
Contributor

PR-CI-Kunlun-KP-Build和PR-CI-Static-Check可以不通过~

@Asthestarsfalll
Copy link
Contributor Author

感谢帮助!

zhiboniu
zhiboniu previously approved these changes May 31, 2022
Copy link
Contributor

@zhiboniu zhiboniu left a comment

Choose a reason for hiding this comment

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

LGTM

TCChenlong
TCChenlong previously approved these changes Jun 1, 2022
Copy link
Contributor

@TCChenlong TCChenlong left a comment

Choose a reason for hiding this comment

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

LGTM

DDDivano
DDDivano previously approved these changes Jun 1, 2022
XiaoguangHu01
XiaoguangHu01 previously approved these changes Jun 1, 2022
Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

@TCChenlong
Copy link
Contributor

@Asthestarsfalll 请解决一下 CI 中 Code Style error 的问题

@Asthestarsfalll
Copy link
Contributor Author

@Asthestarsfalll 请解决一下 CI 中 Code Style error 的问题

down

@TCChenlong
Copy link
Contributor

@Asthestarsfalll 请解决一下冲突~

XiaoguangHu01
XiaoguangHu01 previously approved these changes Jun 7, 2022
Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@TCChenlong TCChenlong left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@zhiboniu zhiboniu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jeff41404 jeff41404 left a comment

Choose a reason for hiding this comment

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

LGTM

@jeff41404 jeff41404 merged commit 33949fc into PaddlePaddle:develop Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants