Example in domain_templates: computer_vision_fine_tuning #7081
-
I found that in the code below sigmoid activation applied before binary_cross_entropy_with_logits loss: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, the sigmoid should be removed from the forward, because BCEWithLogits already contains the sigmoid. |
Beta Was this translation helpful? Give feedback.
Yes, the sigmoid should be removed from the forward, because BCEWithLogits already contains the sigmoid.
Do you want to send a PR to update the example?