* make debug mode automatically set level of all command line loggers to `DEBUG`
* make debug mode automatically set the trainer config to `debug.yaml`
* add generator seed to fix test data leaking to train data in datamodule `setup()`
* move Dockerfile to `dockerfiles` branch
* update README.md
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-10-12 15:32:19 +02:00
1 parent e34ccb0acf
commit eee3f9ccd3
11 files changed
+72 -101

No files matched your search

+15 -3
View File
@@ -3,13 +3,25 @@
# run in debug mode with:
# `python run.py mode=debug`
# this flag doesn't really do anything
debug: true
defaults:
- override /trainer: debug.yaml
debug_mode: True
# output paths for debug mode
hydra:
# sets level of all command line loggers to 'DEBUG'
verbose: True
# https://hydra.cc/docs/tutorials/basic/running_your_app/logging/
# sets 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