Skip to content

Conversation

@kuynzereb
Copy link
Contributor

This PR resolves #631

Now we process num_training_batches + 1 batches instead of num_training_batches batches in the training loop if num_training_batches < len(train_dataloader). This PR fixes it.

@kuynzereb kuynzereb mentioned this pull request Dec 27, 2019
@kuynzereb kuynzereb mentioned this pull request Dec 27, 2019
3 tasks
Copy link
Collaborator

@Borda Borda left a comment

Choose a reason for hiding this comment

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

LGTM

@williamFalcon williamFalcon merged commit 12edc30 into Lightning-AI:master Jan 5, 2020
@kuynzereb kuynzereb deleted the fix_number_of_training_batches branch January 14, 2020 07:49
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.

num_training_batches rounds down, causing 0 batches count

3 participants