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:
1 parent
2ff8e053bf
commit
19f5454d13
27 files changed
+210
-238
No files matched your search
@@ -3,3 +3,4 @@ defaults:
|
||||
|
||||
gpus: 4
|
||||
strategy: ddp
|
||||
sync_batchnorm: True
|
||||
@@ -1,19 +0,0 @@
|
||||
defaults:
|
||||
- default.yaml
|
||||
|
||||
gpus: 0
|
||||
|
||||
min_epochs: 1
|
||||
max_epochs: 2
|
||||
|
||||
# prints
|
||||
profiler: null
|
||||
|
||||
# debugs
|
||||
fast_dev_run: true
|
||||
overfit_batches: 0
|
||||
limit_train_batches: 1.0
|
||||
limit_val_batches: 1.0
|
||||
limit_test_batches: 1.0
|
||||
track_grad_norm: -1
|
||||
detect_anomaly: true
|
||||
@@ -5,7 +5,7 @@ gpus: 0
|
||||
min_epochs: 1
|
||||
max_epochs: 10
|
||||
|
||||
resume_from_checkpoint: null
|
||||
|
||||
# number of validation steps to execute at the beginning of the training
|
||||
num_sanity_val_steps: 0
|
||||
# num_sanity_val_steps: 0
|
||||
|
||||
resume_from_checkpoint: null
|
||||
Reference in new issue
Block a user