-
Notifications
You must be signed in to change notification settings - Fork 471
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
Make Lightning trainer .test() verbosity configurable #1367
Comments
Hi @w-biggs, thanks for raising this. Most of our core-developers are on summer break right now, so I'll try to help. Unfortunately, I don't get the problem. Could you elaborate on it? |
When cross-validating, every time a model is tested, Lightning outputs something like:
If I'm doing 100 tuning trials with 5 different cross-validation splits, that means this output gets printed 500 times. If I'm working in a notebook, this becomes super unwieldy, and it drowns out the info I'm actually interested in. Lightning's |
The easiest solution to me is to surface the |
Another verbosity issue I faced is on |
Prerequisites
If you have the same question but the Answer does not solve your issue, please continue the conversation there.
If you have the same issue but there is a twist to your situation, please add an explanation there.
Please post an idea or feedback
Is your feature request related to a problem? Please describe.
When doing cross-validation, my output gets flooded with the Lightning .test() output, which is frustrating. It drowns out the per-trial results, which is what I'm actually interested in, and lengthens the output by 20x.
Describe the solution you'd like
Have some sort of verbosity parameter to
.test()
which then gets passed into theverbosity={value}
parameter ofself.trainer.test
.Describe alternatives you've considered
There seems to be no good alternative -- Lightning doesn't use a logger, it just
print()
s the output based on the verbose flag. What I've ended up doing in the meantime is disabling stdout altogether when running.test()
, then re-enabling it before printing out the trial results.Additional context
N/A
The text was updated successfully, but these errors were encountered: