Skip to content

Commit

Permalink
Correct bug where if system configuration was not defined the train s…
Browse files Browse the repository at this point in the history
…ession would crash
  • Loading branch information
golmschenk committed Jun 18, 2024
1 parent c4b7559 commit 77a5484
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qusi/internal/train_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def train_session(
"""
if hyperparameter_configuration is None:
hyperparameter_configuration = TrainHyperparameterConfiguration.new()
if system_configuration is None:
system_configuration = TrainSystemConfiguration.new()
if logging_configuration is None:
logging_configuration = TrainLoggingConfiguration.new()
if loss_function is None:
Expand Down

0 comments on commit 77a5484

Please sign in to comment.