Skip to content

Commit

Permalink
Another Bug Fixed: Should feed raw logits to CELoss rather than logprobs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhui-zh15 committed Apr 12, 2022
1 parent 13a295a commit 6e59bbd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion models/discriminator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def __init__(self, input_dims, hidden_dims, output_dims):
nn.Linear(hidden_dims, hidden_dims),
nn.ReLU(),
nn.Linear(hidden_dims, output_dims),
nn.LogSoftmax()
)

def forward(self, input):
Expand Down

0 comments on commit 6e59bbd

Please sign in to comment.