* introduce different running modes: default, debug, experiment * fix pytorch installation in setup_conda.sh * fix incorrect calculation of precision, recall and f1 score in wandb callback * add `_self_` to config.yaml for compatibility with hydra1.1 * fix setting seed in `train.py` so it's skipped when `seed=null` * add exception message when trying to use wandb callbacks with `trainer.fast_dev_run=true` * change `axis=-1` to `dim=-1` in LogImagePredictions callback * add 'Reproducibilty' section to README.md
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
# @package _global_
|
|
|
|
# specify here default training configuration
|
|
defaults:
|
|
- _self_
|
|
- trainer: default.yaml
|
|
- model: mnist_model.yaml
|
|
- datamodule: mnist_datamodule.yaml
|
|
- callbacks: default.yaml
|
|
- logger: null # set logger here or use command line (e.g. `python run.py logger=wandb`)
|
|
|
|
- mode: default.yaml
|
|
|
|
- experiment: null
|
|
- hparams_search: null
|
|
|
|
# enable color logging
|
|
- override hydra/hydra_logging: colorlog
|
|
- override hydra/job_logging: colorlog
|
|
|
|
# path to original working directory
|
|
# hydra hijacks working directory by changing it to the current log directory,
|
|
# so it's useful to have this path as a special variable
|
|
# learn more here: https://hydra.cc/docs/next/tutorials/basic/running_your_app/working_directory
|
|
work_dir: ${hydra:runtime.cwd}
|
|
|
|
# path to folder with data
|
|
data_dir: ${work_dir}/data/
|
|
|
|
# pretty print config at the start of the run using Rich library
|
|
print_config: True
|
|
|
|
# disable python warnings if they annoy you
|
|
ignore_warnings: True
|
|
|
|
# check performance on test set, using the best model achieved during training
|
|
# lightning chooses best model based on metric specified in checkpoint callback
|
|
test_after_training: True
|
|
|
|
# seed for random number generators in pytorch, numpy and python.random
|
|
seed: null
|
|
|
|
# name of the run, accessed by loggers
|
|
name: null
|