Skip to content

Commit

Permalink
Merge pull request #2 from nickp60/main-1
Browse files Browse the repository at this point in the history
add message about convergence
  • Loading branch information
nickp60 authored Aug 8, 2023
2 parents aa1593b + 9f09be8 commit 6b39aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectra/spectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def train(self,X, labels = None, lr_schedule = [1.0,.5,.1,.01,.001,.0001],num_ep
if verbose:
print("UPDATING LR TO " + str(lr_schedule[int(counter/3)]))
last = loss.item()

print("Reached converence at epoch " + i)

#add all model parameters as attributes

Expand Down

0 comments on commit 6b39aa8

Please sign in to comment.