PyTorch Forums
How to set ignore_index for a BCE task with nn.CrossEntropyLoss
vision
SaisaiSun
(Saisai)
June 24, 2024, 3:29am
9
Here is one.
Ignore padding area in loss computation
show post in topic