From 598fd271942884f852e98c82d6caedad425813a1 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 20 Jun 2022 00:56:50 +0200 Subject: Remove strides --- training/conf/network/conv_transformer.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'training/conf/network') diff --git a/training/conf/network/conv_transformer.yaml b/training/conf/network/conv_transformer.yaml index 90c2cb8..016416c 100644 --- a/training/conf/network/conv_transformer.yaml +++ b/training/conf/network/conv_transformer.yaml @@ -1,6 +1,6 @@ _target_: text_recognizer.networks.ConvTransformer input_dims: [1, 1, 576, 640] -hidden_dim: &hidden_dim 144 +hidden_dim: &hidden_dim 128 num_classes: 58 pad_index: 3 encoder: @@ -11,7 +11,6 @@ encoder: bn_eps: 1.0e-3 depth: 5 out_channels: *hidden_dim - stride: [2, 1] decoder: _target_: text_recognizer.networks.transformer.Decoder depth: 6 @@ -47,4 +46,4 @@ decoder: pixel_embedding: _target_: text_recognizer.networks.transformer.AxialPositionalEmbedding dim: *hidden_dim - shape: [18, 78] + shape: [18, 80] -- cgit v1.2.3-70-g09d2