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

Change num_batches definition #60

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Change num_batches definition #60

merged 1 commit into from
Oct 8, 2024

Conversation

louisPoulain
Copy link
Collaborator

With the current implementation, we do not pass the whole dataset as long as its length is not a multiple of the batch size. With this small change we can pass a final batch (uncomplete) to the network.
This ensure that we see the whole validation dataset at least

@louisPoulain louisPoulain added the enhancement New feature or request label Oct 8, 2024
@louisPoulain louisPoulain self-assigned this Oct 8, 2024
@louisPoulain louisPoulain marked this pull request as ready for review October 8, 2024 09:20
@louisPoulain louisPoulain requested a review from dnerini October 8, 2024 09:20
@dnerini
Copy link
Member

dnerini commented Oct 8, 2024

Looking good, thanks!

@dnerini dnerini merged commit 597d839 into main Oct 8, 2024
2 checks passed
@dnerini dnerini deleted the fix/pass-all-dataset branch October 8, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants