Skip to content

Commit

Permalink
fix name opt
Browse files Browse the repository at this point in the history
  • Loading branch information
benmalef committed Nov 21, 2024
1 parent 2d53eda commit 6be76cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GANDLF/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ def _parseConfig(
parallel_compute_command = parallel_compute_command.replace('"', "")
params["parallel_compute_command"] = parallel_compute_command

if params["opt"] is not None:
if "opt" in params:
print("DeprecationWarning: 'opt' has been superseded by 'optimizer'")
params["optimizer"] = params["opt"]

Expand Down

0 comments on commit 6be76cb

Please sign in to comment.