Replies: 1 comment
-
Greetings Blurr99, The code You can see in the documentation (math included) that BCELoss measures the Binary Cross Entropy between the target and the input probabilities. Therefore, you shall feed the probabilities as they are (i.e., no rounding) into the loss function. I hope this answers your question. Best wishes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, in this video https://www.youtube.com/watch?v=LyJtbe__2i0, at 10:47:28, Daniel uses:
but after the logits pass through the sigmoid function they turn into class probabilities right? So how can they be compared to y_train which contains either 0 or 1. Shouldn't it be:
Beta Was this translation helpful? Give feedback.
All reactions