Created
October 9, 2019 14:47
-
-
Save kabirahuja2431/142ed9023af787cf07c9f53133c48ece to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch.nn as nn | |
import torch.optim as optim | |
criterion = nn.BCEWithLogitsLoss() | |
opti = optim.Adam(net.parameters(), lr = 2e-5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment