-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Improvement] save best ckpt during training #464
Conversation
Codecov Report
@@ Coverage Diff @@
## master #464 +/- ##
==========================================
+ Coverage 84.69% 84.74% +0.05%
==========================================
Files 118 118
Lines 8344 8352 +8
Branches 1366 1367 +1
==========================================
+ Hits 7067 7078 +11
+ Misses 930 927 -3
Partials 347 347
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Thanks for your contribution
you can modify based on #395 |
Sure, I will close this pr and create a new one tonight. |
no hurry, you can make a new pr when #395 is merged |
ok |
Fix #460
Add arg
save_best_ckpt
for eval hook,. If set to True, then save best ckpt inwork_dir
with namebest_{best_socre}_{epoch_id}.pth