Skip to content
Discussion options

You must be logged in to vote
  1. You need to remove the F.elu call in F.elu(self.conv3(x, edge_index) + self.lin3(x)) as otherwise, the sigmoid cannot produce any values smaller than 0.5.
  2. When using cross_entropy_with_logits, you also do not need to apply sigmoid, as this is already done internally in the loss function.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arpieb
Comment options

Answer selected by arpieb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants