Skip to content

Batch size mismatch during loss computation #14812

Discussion options

You must be logged in to vote

@Estabi I believe this is irrelevant to PL. Have you checked the sizes of y_hat and y match? See PyTorch docs: https://pytorch.org/docs/1.12/generated/torch.nn.functional.l1_loss.html#torch.nn.functional.l1_loss

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Estabi
Comment options

Answer selected by akihironitta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants