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 do I reduce the verbosity of logs during the trials? #221
Comments
If you put 'verbose=0' only the hyperparameters and the score of each trial will appear |
Yes, I am aware of that. verbose=0 will only suppress the logs from Keras |
@sibyjackgrove Thanks for the issue! This is currently not possible but it makes sense to me that we should have an option for this. IMO we should unify on the |
Thank you for the update @omalleyt12 ! |
I would vouch for this feature as well. Not only the current verbosity is too extensive, it also lacks some information that could be better, for example trial number, execution time until then and of that trial, etc |
I believe the output is coming from the on_trial_end() method in base_tuner.py
I remove this and put my own code to prints out what i want. There are two additional modifications i've added to help me personally. A score_history array on the base_tuner (i can plot my progress, see how many iterations have gone by, if my search has found a new best config) Also a get_init_points() on the bayesian.py oracle so that if i auto calculate init points with space * 3 i can retrieve this value to see when my search switches from random diversification to bayesian tuning. |
We will need this |
Specifying |
Still get wierd format and colored output after each trial. |
I assume with the latest release of Keras Tuner 1.0.2, the issue is resolved. |
Using Keras Tuner 1.1.0
From what I read here, version 1.0.2 should have added this parameter, no? Any idea what I'm doing wrong? |
Setting the parameter verbose=0 in Tuner.search reduces the output to the console, but all of the logs are still created. How can we suppress creation of the large checkpoint.data-* logs that can reach sizes of 1 GB? |
Is there any argument that can be passed to
tuner.search()
to control the logs being produced at the end of each trial (similar to verbose in Kerasmodel.filt()
). Right now it is printing all the hyperparameters in addition to other information.The text was updated successfully, but these errors were encountered: