-
Notifications
You must be signed in to change notification settings - Fork 30
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 issue 370: two-phase tuning now write phase 1 frozen best values into phase 2 results_summary.txt
#371
Conversation
…parameters in phase_2 results_summary.txt.
|
Coverage Report
Files without new missing coverage
273 files skipped due to complete coverage. Coverage success: total of 98.09% is above 98.09% 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great !
Description
Before,
results_summary.txt
of phase 2 was containing only hyperaparameters of phase 2 (and not frozen ones from phase 1).Additionally, if the best trial after phase 2 was from phase 1, a crash could occur during
process_results
.Changes
tune.py
:tune_two_phase
now pass a new parameter,best_param_phase_1
, toprocess_results
to ensure frozen hyperparameter values from phase 1 are written.update_config
is called withvalues
and notrial
, it now checks if the hyperparameter exists in the providedvalues
.Checklist