Disable Progress bars for Train/Validation/Predict separately
See original GitHub issue🚀 Feature
Currently we can turn off progress bars by setting enable_progress_bar=False
but this is an all or nothing solution.
Motivation
I am using PL trainer to make predictions in a small customer facing prototype, the progress bars make the output look very different to the previous solution we are proposing a drop in solution for. We can disable all the progress bars but it’s useful to have them for monitoring training even if we do not want them when calling predict.
Pitch
Additional kwargs to disable progress bars for Trainer.predict
calls
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Incorrect progress bar during validation · Issue #3647 - GitHub
Bug when running for multiple epochs, the progress bar doesn't look right. While during training the progress bar looks fine (percentage ...
Read more >How to disable progress bar in Pytorch Lightning
This method simply disables the validation progress bar and allows you to keep the correct training bar [refer 1 and 2].
Read more >Trainer — PyTorch Lightning 1.8.5.post0 documentation
Automatically enabling/disabling grads. Running the training, validation and test dataloaders. Calling the Callbacks at the appropriate times.
Read more >Training models with a progress bar - Towards Data Science
tqdm is a Python library for adding progress bar. It lets you configure and display a progress bar with metrics you want to...
Read more >Avoid Overfitting By Early Stopping With XGBoost In Python
How to use early stopping to prematurely stop the training of an ... that is being optimized to train the model (such as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You could create a new
Trainer
instance for prediction with the progress bar disabled.@justusschock We discussed adding such function in the past. I think it makes sense.
Do you mind writing a proposal in a separate issue about it? Closing this as I don’t want to sidetrack the original question.