Refactoring configs (#248)

- 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
This commit is contained in:
ashleve authored and GitHub committed 2022-02-18 01:38:04 +01:00
1 parent 2ff8e053bf
commit 19f5454d13
27 files changed
+210 -238

No files matched your search

+1 -5
View File
@@ -15,11 +15,7 @@ def main(config: DictConfig):
from src.train import train
from src import utils
# A couple of optional utilities:
# - disabling python warnings
# - forcing debug-friendly configuration
# - verifying experiment name is set when running in experiment mode
# You can safely get rid of this line if you don't want those
# Applies optional utilities
utils.extras(config)
# Pretty print config using Rich library