Last active
October 23, 2022 13:08
-
-
Save charlieoneill11/18afb2790f9aa3cfc81eeb5b060adb7e to your computer and use it in GitHub Desktop.
This file contains 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
optimiser = optim.SGD(seq_model.parameters(), lr=1e-3) | |
training_loop( | |
n_epochs = 500000, | |
optimiser = optimiser, | |
model = seq_model, | |
loss_fn = nn.MSELoss(), | |
X_train = X_train, | |
X_val = X_val, | |
y_train = y_train, | |
y_val = y_val) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment