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

BatchNorm1D does not work with batches of size 1 #49

Open
SebieF opened this issue Sep 30, 2022 · 1 comment
Open

BatchNorm1D does not work with batches of size 1 #49

SebieF opened this issue Sep 30, 2022 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@SebieF
Copy link
Collaborator

SebieF commented Sep 30, 2022

The LightAttention model used for residues_to_class protocol uses BatchNorm1D. However, if using a batch size of 1 is not possible with BatchNorm1D. Because a batch size of 1 is an edge case anyway, we decide not to fix this problem soon. See also #34.

Please answer to this issue if you should encounter the problem, then we might look into a solution for it.

@SebieF SebieF added bug Something isn't working wontfix This will not be worked on labels Sep 30, 2022
@SebieF
Copy link
Collaborator Author

SebieF commented Jan 3, 2023

Batches of size 1 seem also to be a problem for the torch.nn.BCEWithLogitsLoss used for protein_protein_interaction protocol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant