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

fix ema and edgenext yaml bugs #703

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

Songyuanwei
Copy link
Collaborator

@Songyuanwei Songyuanwei commented Jul 10, 2023

Thank you for your contribution to the MindCV repo.
Before submitting this PR, please make sure:

Motivation

更新ema,如果梯度溢出时,当不更新loss和梯度的时候,也不进行ema更新。
(Write your motivation for proposed changes here.)

Test Plan

(How should this PR be tested? Do you require special setup to run the test or repro the fixed bug?)

Related Issues and PRs

(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)

@geniuspatrick geniuspatrick merged commit 0ca6d08 into mindspore-lab:main Jul 19, 2023
5 checks passed
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