You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code has several deficiencies and you have highlighted some of those.
Why you are applying sigmoid at the beginning of forward call?
There is no harm in assuming that the model @Hsuxu used gave logits as output (i.e. no sigmoid/softmax function was used) so the first thing one will do before calculating any loss is to use an activation function.
Let's hope @Hsuxu will answer the rest of the question soon!
I have two questions:
The text was updated successfully, but these errors were encountered: