Skip to content

Commit 622ebd7

Browse files
committed
run-checks.sh
1 parent 5893449 commit 622ebd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/art/local/backend.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,9 @@ def _log_metrics(
446446
metrics = {f"{split}/{metric}": value for metric, value in metrics.items()}
447447
step = step if step is not None else self.__get_step(model)
448448

449-
with open(f"{get_model_dir(model=model, art_path=self._path)}/history.jsonl", "a") as f:
449+
with open(
450+
f"{get_model_dir(model=model, art_path=self._path)}/history.jsonl", "a"
451+
) as f:
450452
f.write(
451453
json.dumps(
452454
{

0 commit comments

Comments
 (0)