* update template to pytorch 1.10+ and lightning 1.5+ * add experiment mode to all experiment configs and implement special logging paths for experiment mode * add `MaxMetric` to model, for computation of best so far validation accuracy * add RichProgressBar to default callbacks * get rid of trick for preventing auto hparam logging, since lightning now supports it with `self.save_hyperparameters(logger=False)` * add `self.save_hyperparameters()` to datamodule since lightinng now supports it * deprecate Apex support * deprecate bash script for conda setup * change `terminate_on_nan` debug option to `detect_anomaly` for compatibility with lightning v1.5 * specify model and datamodule during `trainer.test()`, for compatibility with lightning v1.5 * remove `configs/trainer/all_params.yaml` * make hyperparameter optimization compatible with lightning v1.5 * general documentation improvements
18 lines
425 B
YAML
18 lines
425 B
YAML
# @package _global_
|
|
|
|
# run in experiment mode with:
|
|
# `python run.py mode=exp name=experiment_name`
|
|
|
|
experiment_mode: True
|
|
|
|
# allows for custom naming of the experiment
|
|
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}
|
|
sweep:
|
|
dir: logs/experiments/${name}/multirun_${now:%Y-%m-%d_%H-%M-%S}
|
|
subdir: ${hydra.job.num}
|