I tried using nn.CrossEntropyLoss()
for binary classification and it didn’t work. You should use BCELoss
.
2 Likes
I tried using nn.CrossEntropyLoss()
for binary classification and it didn’t work. You should use BCELoss
.