summaryrefslogtreecommitdiff
path: root/training/conf/experiment
diff options
context:
space:
mode:
Diffstat (limited to 'training/conf/experiment')
-rw-r--r--training/conf/experiment/htr_char.yaml12
-rw-r--r--training/conf/experiment/vqvae.yaml3
2 files changed, 14 insertions, 1 deletions
diff --git a/training/conf/experiment/htr_char.yaml b/training/conf/experiment/htr_char.yaml
new file mode 100644
index 0000000..77126ae
--- /dev/null
+++ b/training/conf/experiment/htr_char.yaml
@@ -0,0 +1,12 @@
+# @package _global_
+
+defaults:
+ - override /mapping: characters
+
+criterion:
+ ignore_index: 3
+
+network:
+ num_classes: 89
+ pad_index: 3
+ max_output_len: 682
diff --git a/training/conf/experiment/vqvae.yaml b/training/conf/experiment/vqvae.yaml
index 13e5f34..699612e 100644
--- a/training/conf/experiment/vqvae.yaml
+++ b/training/conf/experiment/vqvae.yaml
@@ -8,6 +8,7 @@ defaults:
trainer:
max_epochs: 64
+ gradient_clip_val: 0.25
datamodule:
batch_size: 32
@@ -17,4 +18,4 @@ lr_scheduler:
steps_per_epoch: 624
optimizer:
- lr: 1.0e-2
+ lr: 1.0e-3