From 3ab82ad36bce6fa698a13a029a0694b75a5947b7 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 6 Aug 2021 02:42:45 +0200 Subject: Fix VQVAE into en/decoder, bug in wandb artifact code uploading --- training/conf/experiment/htr_char.yaml | 7 ++++++- training/conf/experiment/vqvae.yaml | 8 +++++--- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'training/conf/experiment') diff --git a/training/conf/experiment/htr_char.yaml b/training/conf/experiment/htr_char.yaml index 77126ae..e51a116 100644 --- a/training/conf/experiment/htr_char.yaml +++ b/training/conf/experiment/htr_char.yaml @@ -3,10 +3,15 @@ defaults: - override /mapping: characters +datamodule: + word_pieces: false + criterion: ignore_index: 3 network: - num_classes: 89 + num_classes: 58 pad_index: 3 + +model: max_output_len: 682 diff --git a/training/conf/experiment/vqvae.yaml b/training/conf/experiment/vqvae.yaml index 699612e..eb40f3b 100644 --- a/training/conf/experiment/vqvae.yaml +++ b/training/conf/experiment/vqvae.yaml @@ -8,14 +8,16 @@ defaults: trainer: max_epochs: 64 - gradient_clip_val: 0.25 + # gradient_clip_val: 0.25 datamodule: - batch_size: 32 + batch_size: 16 lr_scheduler: epochs: 64 - steps_per_epoch: 624 + steps_per_epoch: 1245 optimizer: lr: 1.0e-3 + +summary: [1, 576, 640] -- cgit v1.2.3-70-g09d2