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

Adding prefix title to progressbar and adjusting width of progressbar accordingly #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

element-jatin
Copy link

Re: #23

xlua.progressbar() currently lacks ability to add a title string as a prefix such as 'training', 'validation' or 'testing'.

Training : [=================== 5306/5306 =================>] Tot: 8m57s | Step: 107ms
Validation : [==================== 100/100 ==================>] Tot: 13s850ms | Step: 164ms

It is a simple fix to concatenate with title and adjust the progressbar width accordingly.

@element-jatin
Copy link
Author

There seems to be some issue with the machine with clang compiler. It doesn't even ran the tests.
Other server passed it.
https://travis-ci.org/torch/xlua/jobs/449048914

Copy link
Author

@element-jatin element-jatin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty straight-forward change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant