init first

This commit is contained in:
Sen Liang committed 2022-05-08 17:42:17 +08:00
1 parent a4b5299c26
commit c4ed7854e7
74 files changed
+9565 -89

No files matched your search

+7 -5
View File
@@ -3,16 +3,16 @@
# specify here default training configuration
defaults:
- _self_
- datamodule: mnist.yaml
- dataset: mnist.yaml
- model: mnist.yaml
- callbacks: default.yaml
- logger: null # set logger here or use command line (e.g. `python train.py logger=tensorboard`)
- trainer: default.yaml
- log_dir: default.yaml
# experiment configs allow for version control of specific configurations
# e.g. best hyperparameters for each combination of model and datamodule
- experiment: null
- experiment: example.yaml
# debugging config (enable through command line, e.g. `python train.py debug=default)
- debug: null
@@ -28,13 +28,15 @@ defaults:
- override hydra/hydra_logging: colorlog
- override hydra/job_logging: colorlog
# path to original working directory
# hydra hijacks working directory by changing it to the new log directory
# https://hydra.cc/docs/next/tutorials/basic/running_your_app/working_directory
original_work_dir: ${hydra:runtime.cwd}
path_cwd: ${hydra:runtime.cwd}
# path to folder with data
data_dir: ${original_work_dir}/data/
# data_dir: ${path_cwd}/data/
# pretty print config at the start of the run using Rich library
print_config: True