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

Add use_sec_per_it option to LogProgress #10

Merged

Conversation

JadeCopet
Copy link
Contributor

This PR adds an option to force display speed as sec/it in LogProgress logs rather than using it/sec by default. This option is set to False by default to preserve previous behaviour.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 22, 2021
Copy link
Contributor

@adefossez adefossez left a comment

Choose a reason for hiding this comment

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

do you think it could be useful to have a display in "ms" in case the speed is quite high ? that could improve readability.

@JadeCopet
Copy link
Contributor Author

Yes absolutely, I didn't want to diverge too much from the original spirit but this would make the log more readable. Let me update this accordingly.

@adefossez adefossez merged commit 13264d9 into facebookresearch:main Sep 24, 2021
@adefossez
Copy link
Contributor

awesome thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants