summaryrefslogtreecommitdiff
path: root/training/conf/lr_scheduler
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/lr_scheduler
parent524bf4351ac295bd4ff9914bb1f32eda7f7ff855 (diff)
Reformatting with attrs, config for encoder and decoder
Diffstat (limited to 'training/conf/lr_scheduler')
-rw-r--r--training/conf/lr_scheduler/one_cycle.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/training/conf/lr_scheduler/one_cycle.yaml b/training/conf/lr_scheduler/one_cycle.yaml
index e8cb5c4..5afdf81 100644
--- a/training/conf/lr_scheduler/one_cycle.yaml
+++ b/training/conf/lr_scheduler/one_cycle.yaml
@@ -1,11 +1,11 @@
_target_: torch.optim.lr_scheduler.OneCycleLR
max_lr: 1.0e-3
-total_steps: None
-epochs: None
-steps_per_epoch: None
+total_steps: null
+epochs: null
+steps_per_epoch: null
pct_start: 0.3
-anneal_strategy: 'cos'
-cycle_momentum: True
+anneal_strategy: cos
+cycle_momentum: true
base_momentum: 0.85
max_momentum: 0.95
div_factor: 25.0