PyTorch Forums
Use class weight with Binary Cross Entropy Loss
ptrblck
June 29, 2021, 8:10am
4
Yes, it would be calculated as
nb_neg/nb_pos = 80/20 = 4
.
1 Like
show post in topic