Release/1.1 (#174)
* introduce different running modes: default, debug, experiment * fix pytorch installation in setup_conda.sh * fix incorrect calculation of precision, recall and f1 score in wandb callback * add `_self_` to config.yaml for compatibility with hydra1.1 * fix setting seed in `train.py` so it's skipped when `seed=null` * add exception message when trying to use wandb callbacks with `trainer.fast_dev_run=true` * change `axis=-1` to `dim=-1` in LogImagePredictions callback * add 'Reproducibilty' section to README.md
This commit is contained in:
1 parent
89b502b090
commit
86f30fb320
19 files changed
+131
-81
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# @package _global_
|
||||
|
||||
# run in debug mode with:
|
||||
# `python run.py mode=debug`
|
||||
|
||||
# this flag doesn't really do anything
|
||||
debug: true
|
||||
|
||||
# output paths for debug mode
|
||||
hydra:
|
||||
run:
|
||||
dir: logs/debug/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
||||
sweep:
|
||||
dir: logs/debug/multirun_${now:%Y-%m-%d_%H-%M-%S}
|
||||
subdir: ${hydra.job.num}
|
||||
@@ -0,0 +1,11 @@
|
||||
# @package _global_
|
||||
|
||||
# default running mode
|
||||
|
||||
# default output paths for hydra logs
|
||||
hydra:
|
||||
run:
|
||||
dir: logs/runs/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
||||
sweep:
|
||||
dir: logs/multiruns/${now:%Y-%m-%d_%H-%M-%S}
|
||||
subdir: ${hydra.job.num}
|
||||
@@ -0,0 +1,15 @@
|
||||
# @package _global_
|
||||
|
||||
# run in experiment mode with:
|
||||
# python run.py mode=exp name='my_new_experiment_23'
|
||||
|
||||
# allows for custom naming of the experiment
|
||||
name: ???
|
||||
|
||||
# output paths for experiment mode
|
||||
hydra:
|
||||
run:
|
||||
dir: logs/experiments/${name}
|
||||
sweep:
|
||||
dir: logs/experiments/${name}
|
||||
subdir: ${hydra.job.num}
|
||||
Reference in new issue
Block a user