Skip to content

Commit ca28a54

Browse files
committed
fix
1 parent 8f1b41f commit ca28a54

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/art/local/backend.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -443,11 +443,7 @@ def _log_metrics(
443443
step: int | None = None,
444444
) -> None:
445445
metrics = {f"{split}/{metric}": value for metric, value in metrics.items()}
446-
step = (
447-
step
448-
if step is not None
449-
else self.__get_step(model)
450-
)
446+
step = step if step is not None else self.__get_step(model)
451447

452448
# If we have a W&B run, log the data there
453449
if run := self._get_wandb_run(model):

0 commit comments

Comments
 (0)