summaryrefslogtreecommitdiff
path: root/training/conf/lr_scheduler
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-29 22:54:52 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-29 22:54:52 +0200
commit4da7a2c812221d56a430b35139ac40b23fa76f77 (patch)
tree69528c08aa97f57918bc23cd0cc2ab6388ee0470 /training/conf/lr_scheduler
parente22453c6e6ff10a610348778f8107799c1125d3b (diff)
Refactor of config, more granular
Diffstat (limited to 'training/conf/lr_scheduler')
-rw-r--r--training/conf/lr_scheduler/one_cycle.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/training/conf/lr_scheduler/one_cycle.yaml b/training/conf/lr_scheduler/one_cycle.yaml
new file mode 100644
index 0000000..60a6f27
--- /dev/null
+++ b/training/conf/lr_scheduler/one_cycle.yaml
@@ -0,0 +1,8 @@
+type: OneCycleLR
+args:
+ interval: step
+ max_lr: 1.0e-3
+ three_phase: true
+ epochs: 64
+ steps_per_epoch: 633 # num_samples / batch_size
+monitor: val_loss