Logger in PyTorch-Lightning prints information about the model to be trained (or evaluated) and the progress during the training,
However, in my case I would like to hide all messages from the logger in order not to flood the output in Jupyter Notebook
.
I've looked into the API of the Trainer class on the official docs page https://pytorch-lightning.readthedocs.io/en/latest/common/trainer.html#trainer-flags and it seems like there is no option to turn off the messages from the logger.
There is a parameter log_every_n_steps
which can be set to big value, but nevertheless, the logging result after each epoch is displayed.
How can one disable the logging?
progress_bar_refresh_rate
seems to be deprecated now. It is recommended to useenable_progress_bar=False
. Or add aTQDMProgressBar
Callback and adapt it'srefresh_rate
– Downfall