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

How to save the weight file every two epochs #338

Open
dongzhenguo2016 opened this issue Jun 19, 2020 · 1 comment
Open

How to save the weight file every two epochs #338

dongzhenguo2016 opened this issue Jun 19, 2020 · 1 comment

Comments

@dongzhenguo2016
Copy link

Simpledet saves a weight file once for each epoch during training.
Since the epoch I set is relatively large, now I want to save the weight file every two epochs, where do I need to set it?
Thank you

@zehuichen123
Copy link
Contributor

maybe you can add a if-else clause here to decide whether to save it or not :)
https://github.com/TuSimple/simpledet/blob/bcccd77d5c763901a90afe4bb503849bb7ee4dbc/core/detection_module.py#L185

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

No branches or pull requests

2 participants