summaryrefslogtreecommitdiff
path: root/training/conf/trainer
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-10 00:36:51 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-10 00:36:51 +0200
commit8177b5210fbbe11bd361dedbd5b4a4e1950bdb2e (patch)
tree2ee53ffbd9569390c45cbeb3ab9a1db361152874 /training/conf/trainer
parent7eb0002f599367a5b9a80374c89e08d7a93d6a1b (diff)
Update configs
Diffstat (limited to 'training/conf/trainer')
-rw-r--r--training/conf/trainer/default.yaml13
1 files changed, 7 insertions, 6 deletions
diff --git a/training/conf/trainer/default.yaml b/training/conf/trainer/default.yaml
index ef5b018..d4ffcdc 100644
--- a/training/conf/trainer/default.yaml
+++ b/training/conf/trainer/default.yaml
@@ -1,16 +1,17 @@
_target_: pytorch_lightning.Trainer
-stochastic_weight_avg: false
+stochastic_weight_avg: true
auto_scale_batch_size: binsearch
auto_lr_find: false
-gradient_clip_val: 0
+gradient_clip_val: 0.5
fast_dev_run: false
gpus: 1
precision: 16
-max_epochs: 512
+max_epochs: 256
terminate_on_nan: true
-weights_summary: top
-limit_train_batches: 1.0
+weights_summary: null
+limit_train_batches: 1.0
limit_val_batches: 1.0
limit_test_batches: 1.0
resume_from_checkpoint: null
-accumulate_grad_batches: 1
+accumulate_grad_batches: 2
+overfit_batches: 0