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

hotfix: top_k save policy; coat_mini & coat_tiny recipe #689

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

geniuspatrick
Copy link
Collaborator

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

Motivation

If using top_k policy, the type checking of metric should be isinstance(metric, Tensor) instead of type(metric) is not np.ndarray.

In coat.yaml, drop_overflow_update: True should be added when using loss_scale_type: dynamic.

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

#684
#662
#600

@XixinYang XixinYang merged commit 2c5fc1e into mindspore-lab:main Jun 16, 2023
@geniuspatrick geniuspatrick deleted the bugfix branch June 16, 2023 02:02
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