Skip to content
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

Do not have combined train+val progress bar, keep bar output after epoch is finished #1121

Closed
elistevens opened this issue Mar 11, 2020 · 4 comments
Labels
feature Is an improvement or enhancement help wanted Open to be worked on won't fix This will not be worked on

Comments

@elistevens
Copy link

🚀 Feature

The progress bar labeled "Epoch" should be renamed to "Train" and the validation data should be displayed only in a separate bar.

Additionally, each epoch should leave the final training and validation bar on-screen for visual inspection.

Motivation

It's confusing that training and validation are shown in a single bar, and it destroys the information about the iterations/sec from training. Since validation is faster, the value spikes up right at the end.

Pitch

Have two separate bars, one for training, one for validation, and none combined.

After a bar fills up, move the cursor down a line to not overwrite it.

@elistevens elistevens added feature Is an improvement or enhancement help wanted Open to be worked on labels Mar 11, 2020
@danieltudosiu
Copy link

This can easily be done with tqdm. Here is their example.

We can have their "1st loop" as our experiment loop (which encompasses training+validation epochs) and then have one progress bar per training epoch and another one per validation epoch.

@awaelchli
Copy link
Member

I would also like to see the two progress bars to be split completely, but I would still prefer it disappears after the epoch is done, otherwise it fills up the terminal unnecessarily. I prefer to inspect my metrics in the logger. (Just my opinion of course)

@awaelchli awaelchli mentioned this issue Apr 12, 2020
7 tasks
@awaelchli
Copy link
Member

The progress bar is now a callback. Is there a desire for an alternative of a split progress bar? We could add this simply as an extra callback and the user can choose it.
This could also go to bolts.

@stale
Copy link

stale bot commented Jun 23, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the won't fix This will not be worked on label Jun 23, 2020
@stale stale bot closed this as completed Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Is an improvement or enhancement help wanted Open to be worked on won't fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants