We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f1b41f commit ca28a54Copy full SHA for ca28a54
src/art/local/backend.py
@@ -443,11 +443,7 @@ def _log_metrics(
443
step: int | None = None,
444
) -> None:
445
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
- )
+ step = step if step is not None else self.__get_step(model)
451
452
# If we have a W&B run, log the data there
453
if run := self._get_wandb_run(model):
0 commit comments