Created
March 3, 2021 15:59
-
-
Save adamoudad/e0ac5512b1493ecc24ccd2e0ea5f689d 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 | |
criterion = nn.BCELoss() | |
optimizer = torch.optim.Adam(model.parameters()) | |
model = CustomModel() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment