Skip to content

Commit

Permalink
Fix small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
atc3 committed Aug 12, 2024
1 parent 5bcd5e0 commit 36ede1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dacapo/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions dacapo/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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}."
)
Expand Down

0 comments on commit 36ede1c

Please sign in to comment.