* update to Hydra 1.1 * add bash folder with scripts for conda setup and run scheduling * add saving seed in `log_hyperparameters()` method * redesign Dockerfile to make it weight less * add `test_after_training` parameter to config * add inheritance to trainer configs * remove forcing ddp-friendly configuration * refactor tests * remove conda_env_gpu.yaml * remove default langage version from pre-commit config * add mnist datamodule unit test * rename test folder from 'smoke' to 'shell' * remove wandb import from utils.py * change 'use_artifact' to 'log_artifact' in wandb callbacks * add rank zero decorator to wandb callbacks * add dumping rich tree config to file * get rid of `=` character in ckpt names * update requirements.txt * update LICENSE * update README.md
44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
# @package _global_
|
|
|
|
# specify here default training configuration
|
|
defaults:
|
|
- trainer: default.yaml
|
|
- model: mnist_model.yaml
|
|
- datamodule: mnist_datamodule.yaml
|
|
- callbacks: default.yaml # set this to null if you don't want to use callbacks
|
|
- logger: null # set logger here or use command line (e.g. `python run.py logger=wandb`)
|
|
|
|
- experiment: null
|
|
- hparams_search: null
|
|
|
|
- hydra: default.yaml
|
|
|
|
# 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/
|
|
|
|
# use `python run.py debug=true` for easy debugging!
|
|
# this will run 1 train, val and test loop with only 1 batch
|
|
# equivalent to running `python run.py trainer.fast_dev_run=true`
|
|
# (this is placed here just for easier access from command line)
|
|
debug: False
|
|
|
|
# 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
|