Skip to content

Commit

Permalink
Update GANDLF/schedulers/wrap_monai.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sarthak Pati <patis@iu.edu>
  • Loading branch information
Ainesh06102004 and sarthakpati committed Mar 12, 2024
1 parent cce37f7 commit b2482ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GANDLF/schedulers/wrap_monai.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

def warmupcosineschedule(parameters):
return WCS(
parameters["optimizer_object"], #optimizers["model_optimizers"],
parameters["optimizer_object"],
t_total = parameters["num_epochs"],
warmup_steps = 0.1 * parameters["num_epochs"],
)

0 comments on commit b2482ea

Please sign in to comment.