Skip to content

Commit

Permalink
Add info to file experiment. (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmabus committed May 5, 2022
1 parent 6542c7c commit 66365b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions incense/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,11 @@ def __getattr__(self, item):
def from_run_dir(cls, run_dir: Path):
id_ = int(run_dir.name)
config = _load_json_from_path(run_dir / "config.json")
info = _load_json_from_path(run_dir / "info.json")
run_data = _load_json_from_path(run_dir / "run.json")
cout = (run_dir / "cout.txt").read_text()
run_data["config"] = config
run_data["info"] = info
run_data["captured_out"] = cout
metrics = cls._load_metrics(run_dir / "metrics.json")
artifacts = cls._load_artifacts(run_dir)
Expand Down

0 comments on commit 66365b7

Please sign in to comment.