Unify log dir structure (#211)

* Unifiy log dir paths
* Add a little helper script `logs/latest` which can be used to quickly change into the latest log dir of a specific kind
* Update README
This commit is contained in:
Nils Werner authored and GitHub committed 2021-12-03 03:42:33 +01:00
1 parent 6cbf168156
commit ab02996fd4
6 files changed
+62 -42

No files matched your search

+1 -1
View File
@@ -71,6 +71,6 @@ callbacks:
logger:
wandb:
name: ${name}_${now:%Y-%m-%d_%H-%M-%S}
name: ${name}/${now:%Y-%m-%d}/${now:%H-%M-%S}
tags: ["best_model", "mnist"]
notes: "Description of this model."
+2 -2
View File
@@ -18,9 +18,9 @@ hydra:
# sets output paths for all file logs to 'logs/debug/'
run:
dir: logs/debug/${now:%Y-%m-%d}/${now:%H-%M-%S}
dir: logs/debug/runs/${now:%Y-%m-%d}/${now:%H-%M-%S}
sweep:
dir: logs/debug/multirun_${now:%Y-%m-%d_%H-%M-%S}
dir: logs/debug/multiruns/${now:%Y-%m-%d}/${now:%H-%M-%S}
subdir: ${hydra.job.num}
# disable rich config printing, since it will be already printed by hydra when `verbose: True`
+1 -1
View File
@@ -9,5 +9,5 @@ hydra:
run:
dir: logs/runs/${now:%Y-%m-%d}/${now:%H-%M-%S}
sweep:
dir: logs/multiruns/${now:%Y-%m-%d_%H-%M-%S}
dir: logs/multiruns/${now:%Y-%m-%d}/${now:%H-%M-%S}
subdir: ${hydra.job.num}
+2 -2
View File
@@ -11,7 +11,7 @@ name: ???
hydra:
# sets output paths for all file logs to `logs/experiment/name'
run:
dir: logs/experiments/${name}/${now:%Y-%m-%d_%H-%M-%S}
dir: logs/experiments/${name}/runs/${now:%Y-%m-%d}/${now:%H-%M-%S}
sweep:
dir: logs/experiments/${name}/multirun_${now:%Y-%m-%d_%H-%M-%S}
dir: logs/experiments/${name}/multiruns/${now:%Y-%m-%d}/${now:%H-%M-%S}
subdir: ${hydra.job.num}