-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Model saving bug #464
Comments
Hi @WenjieDu! I think this may have had an unintended effect--now (in v0.7 and later) even when model_saving_strategy is set as "best", PyPOTS saves the model every time the loss is decreased. In v0.6, setting to "best" had the intended behavior (saving only the best model at the very end after training is finished). |
Bug confirmed. Thank you, @vemuribv! I should have taken I'm reopening this issue and going to submit a PR to fix this. Could you please help review it? |
@vemuribv PR submitted. You are also very welcome to propose a better way to optimize the current saving strategy ;-) |
1. System Info
PyPOTS v0.6
2. Information
3. Reproduction
When
model_saving_strategy
is set as better, PyPOTS doesn't save models when loss gets decreased.4. Expected behavior
Models should be properly saved
The text was updated successfully, but these errors were encountered: