* 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
+3 -1
View File
@@ -2,8 +2,10 @@
# default running mode
# default output paths for hydra logs
default_mode: True
hydra:
# default output paths for all file logs
run:
dir: logs/runs/${now:%Y-%m-%d}/${now:%H-%M-%S}
sweep:
+4 -2
View File
@@ -1,13 +1,15 @@
# @package _global_
# run in experiment mode with:
# python run.py mode=exp name='my_new_experiment_23'
# `python run.py mode=exp name=experiment_name`
experiment_mode: True
# allows for custom naming of the experiment
name: ???
# output paths for experiment mode
hydra:
# sets output paths for all file logs to `logs/experiment/name'
run:
dir: logs/experiments/${name}
sweep: