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

BatchNorm needs batch_size > 1 #349

Open
Joao-L-S-Almeida opened this issue Jan 6, 2025 · 0 comments
Open

BatchNorm needs batch_size > 1 #349

Joao-L-S-Almeida opened this issue Jan 6, 2025 · 0 comments
Assignees
Labels

Comments

@Joao-L-S-Almeida
Copy link
Member

Joao-L-S-Almeida commented Jan 6, 2025

When a set of non-uniform images is used as input, the batch_size is automatically set to 1 since isn't possible to stack them, however, BatchNorm layers as those used in UperNetDecoder fail for batch_size = 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant