Skip to content

Commit

Permalink
Merge pull request #67 from kheuton/bug-fixed_learning_rate
Browse files Browse the repository at this point in the history
Remove fixed learning rate from Train_Model
  • Loading branch information
mmcdermott authored Oct 19, 2022
2 parents 0e83501 + f85c920 commit b7e9cea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion notebooks/mmd_grud_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ def Train_Model(
loss_CEL=torch.nn.CrossEntropyLoss()
loss_L1 = torch.nn.L1Loss()

learning_rate = 0.001
# optimizer = torch.optim.RMSprop(model.parameters(), lr = learning_rate, alpha=0.99)
optimizer = torch.optim.Adam(model.parameters(), lr=learning_rate)
use_gpu = False#torch.cuda.is_available()
Expand Down

0 comments on commit b7e9cea

Please sign in to comment.