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

Fix off-by-one error in progress logging #1334

Merged
merged 1 commit into from
Jan 7, 2020
Merged

Conversation

jjjamie
Copy link
Contributor

@jjjamie jjjamie commented Jan 5, 2020

Now logs after multiples of modulo batches rather than 1, 1+modulo, etc
Prevents samples/sec being too large by factor of modulo for batch_no 0 and division by zero crash if 0th batch is too quick.

… off by factor of for batch_no 0 and division by zero crash if 0th batch is too quick
@alanakbik
Copy link
Collaborator

@jjjamie thanks for fixing this!

@alanakbik alanakbik merged commit cfda481 into flairNLP:master Jan 7, 2020
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.

2 participants