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

Automatically setting batch_size to 1 when the images don't have all the same dimensions #170

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

Joao-L-S-Almeida
Copy link
Member

When a a list of images with different dimensions is passed to a dataloader, the batch is automatically set to 1 to avoid stacking issues.

…the same dimensions

Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
@Joao-L-S-Almeida
Copy link
Member Author

WARNING. If this PR isn't approved (or rejected) within 7 days it will be approved as is.

@Joao-L-S-Almeida Joao-L-S-Almeida merged commit 1544914 into main Oct 23, 2024
5 checks passed
@Joao-L-S-Almeida Joao-L-S-Almeida deleted the nonuniform_inference branch October 23, 2024 14:16
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