- make every run be an experiment by default - deprecate `mode` configs - introduce `debug` configs - introduce `log_dir` configs - remove unnecessary utilities from `utils.extras()` - add config flag for skipping training - update README.md
28 lines
645 B
YAML
28 lines
645 B
YAML
# @package _global_
|
|
|
|
# default debugging setup, runs 1 full epoch
|
|
|
|
defaults:
|
|
- override /log_dir: debug.yaml
|
|
|
|
trainer:
|
|
max_epochs: 1
|
|
gpus: 0 # debuggers don't like gpus
|
|
detect_anomaly: true
|
|
track_grad_norm: 2
|
|
|
|
datamodule:
|
|
num_workers: 0 # debuggers don't like multiprocessing
|
|
pin_memory: False
|
|
|
|
# sets level of all command line loggers to 'DEBUG'
|
|
# https://hydra.cc/docs/tutorials/basic/running_your_app/logging/
|
|
hydra:
|
|
verbose: True
|
|
|
|
# use this to set level of only chosen command line loggers to 'DEBUG'
|
|
# verbose: [src.train, src.utils]
|
|
|
|
# config is already printed by hydra when `hydra/verbose: True`
|
|
print_config: False
|