kaggle-imet-2019
kaggle-imet-2019 copied to clipboard
Sigmoid before BCEWithLogitsLoss
Is the sigmoid activation necessary before the output is fed into BCEWithLogitsLoss? Are there any reasons not using it in your code? Thanks in advance.
This loss expects logits, so sigmoid must not be added here.