Skip to content

Commit

Permalink
Update training_multiSample.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwang12 authored Oct 3, 2024
1 parent c580219 commit 564a369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mNSF/training_multiSample.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def __init__(self, model, lr=0.01, pickle_path=None, max_to_keep=3, legacy=False
self.set_pickle_path(pickle_path)
self.converged = False


def multiply_lr(self, factor):
"""
Multiply the learning rate of both optimizers by a given factor.
Expand Down

0 comments on commit 564a369

Please sign in to comment.