Skip to content

Commit

Permalink
update loss
Browse files Browse the repository at this point in the history
  • Loading branch information
yaodongyu committed Jan 29, 2019
1 parent 76f4044 commit 164c135
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trades.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ def trades_loss(model,
F.softmax(model(x_natural), dim=1))
loss = loss_natural + beta * loss_robust
return loss

0 comments on commit 164c135

Please sign in to comment.