[feature request] tqdm for training
See original GitHub issueIt would be convenient to have tqdm
wrapped around the main training loop — especially if it was from tqdm.auto import tqdm
, as it autodetects whether it runs in a Jupyter notebook or in a terminal and uses either stderr
or a widget.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
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 >How to Use Progress Bars in Python? | tqdm and tqdm Notebook
tqdm is a library in Python which is used for creating Progress Meters or Progress Bars. In this article learn how to create...
Read more >Fine-tune a pretrained model - Hugging Face
When you use a pretrained model, you train it on a dataset specific to your task. This is known as fine-tuning, an incredibly...
Read more >Advanced Model Training with Fully Sharded Data Parallel ...
This tutorial introduces more advanced features of Fully Sharded Data Parallel ... tqdm.tqdm( range(len(train_loader)), colour="blue", desc="r0 Training ...
Read more >Track your loop using tqdm: 7 ways progress bars in Python ...
tqdm does not require any dependencies and works across multiple python environments. Integrating tqdm can be done effortlessly in loops, ...
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 FreeTop 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
Top GitHub Comments
For those finding this issue via search, here is a version that works with Stable Baselines 3:
It is a good idea to implement that using callback, thank you.
I’ve experimented a little and this seems to work with PPO2:
One thought is that perhaps
stable-baselines
should accept multiple callbacks (Keras style), but that would be a topic for another issue.