diff --git a/dacapo/train.py b/dacapo/train.py index e5c2ae4cc..a1d884b3d 100644 --- a/dacapo/train.py +++ b/dacapo/train.py @@ -57,7 +57,7 @@ def train_run(run: Run, do_validate=True): ValueError: If run_name is not found in config store """ - print(f"Starting/resuming training for run {run}...") + print(f"Starting/resuming training for run {run.name}...") # create run diff --git a/dacapo/validate.py b/dacapo/validate.py index 0da9dfa30..44f091e7a 100644 --- a/dacapo/validate.py +++ b/dacapo/validate.py @@ -186,7 +186,7 @@ def validate( run.name, iteration, validation_dataset.name ) compute_context = create_compute_context() - sucess = predict( + success = predict( run, iteration if compute_context.distribute_workers else None, input_container=input_raw_array_identifier.container, @@ -198,7 +198,7 @@ def validate( overwrite=overwrite, ) - if not sucess: + if not success: logger.error( f"Could not predict run {run.name} on dataset {validation_dataset.name}." )