* 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
28 lines
726 B
YAML
28 lines
726 B
YAML
# @package _global_
|
|
|
|
# run in debug mode with:
|
|
# `python run.py mode=debug`
|
|
|
|
defaults:
|
|
- override /trainer: debug.yaml
|
|
|
|
debug_mode: True
|
|
|
|
hydra:
|
|
# sets level of all command line loggers to 'DEBUG'
|
|
verbose: True
|
|
|
|
# https://hydra.cc/docs/tutorials/basic/running_your_app/logging/
|
|
# use this to set level of only chosen command line loggers to 'DEBUG'
|
|
# verbose: [src.train, src.utils.utils]
|
|
|
|
# sets output paths for all file logs to 'logs/debug/'
|
|
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}
|
|
|
|
# disable rich config printing, since it will be already printed by hydra when `verbose: True`
|
|
print_config: False
|