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 5893449 commit 622ebd7Copy full SHA for 622ebd7
src/art/local/backend.py
@@ -446,7 +446,9 @@ def _log_metrics(
446
metrics = {f"{split}/{metric}": value for metric, value in metrics.items()}
447
step = step if step is not None else self.__get_step(model)
448
449
- with open(f"{get_model_dir(model=model, art_path=self._path)}/history.jsonl", "a") as f:
+ with open(
450
+ f"{get_model_dir(model=model, art_path=self._path)}/history.jsonl", "a"
451
+ ) as f:
452
f.write(
453
json.dumps(
454
{
0 commit comments