summaryrefslogtreecommitdiff
path: root/training/conf/optimizer
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-28 15:14:55 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-28 15:14:55 +0200
commitc032ffb05a7ed86f8fe5d596f94e8997c558cae8 (patch)
treebf890ffd4c815db7d510cfb281d253b5728f70c6 /training/conf/optimizer
parent524bf4351ac295bd4ff9914bb1f32eda7f7ff855 (diff)
Reformatting with attrs, config for encoder and decoder
Diffstat (limited to 'training/conf/optimizer')
-rw-r--r--training/conf/optimizer/madgrad.yaml11
1 files changed, 5 insertions, 6 deletions
diff --git a/training/conf/optimizer/madgrad.yaml b/training/conf/optimizer/madgrad.yaml
index 2f2cff9..84626d3 100644
--- a/training/conf/optimizer/madgrad.yaml
+++ b/training/conf/optimizer/madgrad.yaml
@@ -1,6 +1,5 @@
-type: MADGRAD
-args:
- lr: 1.0e-3
- momentum: 0.9
- weight_decay: 0
- eps: 1.0e-6
+_target_: madgrad.MADGRAD
+lr: 1.0e-3
+momentum: 0.9
+weight_decay: 0
+eps: 1.0e-6