diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-11-21 21:34:53 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-11-21 21:34:53 +0100 |
commit | b44de0e11281c723ec426f8bec8ca0897ecfe3ff (patch) | |
tree | 998841a3a681d3dedfbe8470c1b8544b4dcbe7a2 /training/conf/experiment/vqgan_htr_char.yaml | |
parent | 3b2fb0fd977a6aff4dcf88e1a0f99faac51e05b1 (diff) |
Remove VQVAE stuff, did not work...
Diffstat (limited to 'training/conf/experiment/vqgan_htr_char.yaml')
-rw-r--r-- | training/conf/experiment/vqgan_htr_char.yaml | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/training/conf/experiment/vqgan_htr_char.yaml b/training/conf/experiment/vqgan_htr_char.yaml deleted file mode 100644 index af3fa40..0000000 --- a/training/conf/experiment/vqgan_htr_char.yaml +++ /dev/null @@ -1,59 +0,0 @@ -defaults: - - override /mapping: null - - override /network: null - - override /model: null - -mapping: - _target_: text_recognizer.data.emnist_mapping.EmnistMapping - extra_symbols: [ "\n" ] - -datamodule: - word_pieces: false - batch_size: 8 - augment: false - -criterion: - ignore_index: 3 - -network: - _target_: text_recognizer.networks.vq_transformer.VqTransformer - input_dims: [1, 576, 640] - encoder_dim: 32 - hidden_dim: 256 - dropout_rate: 0.1 - num_classes: 58 - pad_index: 3 - no_grad: true - decoder: - _target_: text_recognizer.networks.transformer.Decoder - dim: 256 - depth: 2 - num_heads: 8 - attn_fn: text_recognizer.networks.transformer.attention.Attention - attn_kwargs: - dim_head: 32 - dropout_rate: 0.2 - norm_fn: torch.nn.LayerNorm - ff_fn: text_recognizer.networks.transformer.mlp.FeedForward - ff_kwargs: - dim_out: null - expansion_factor: 4 - glu: true - dropout_rate: 0.2 - cross_attend: true - pre_norm: true - rotary_emb: null - pretrained_encoder_path: "training/logs/runs/2021-09-25/23-07-28" - -model: - _target_: text_recognizer.models.vq_transformer.VqTransformerLitModel - start_token: <s> - end_token: <e> - pad_token: <p> - max_output_len: 682 # 451 - alpha: 1.0 - -trainer: - max_epochs: 64 - limit_train_batches: 0.1 - limit_val_batches: 0.1 |