summaryrefslogtreecommitdiff
path: root/training/conf/network/convnext.yaml
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-11 22:15:26 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-11 22:15:26 +0200
commit56dc112cfb649217cd624b4ff305e2db83a383b7 (patch)
tree92555f27313f8bb4650a3d8dfa1c88ac6e1bfbf8 /training/conf/network/convnext.yaml
parentbece39632a83ef3c8c0f49c753cbc6110d2f78b9 (diff)
Update configs
Diffstat (limited to 'training/conf/network/convnext.yaml')
-rw-r--r--training/conf/network/convnext.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/training/conf/network/convnext.yaml b/training/conf/network/convnext.yaml
new file mode 100644
index 0000000..40343a7
--- /dev/null
+++ b/training/conf/network/convnext.yaml
@@ -0,0 +1,16 @@
+_target_: text_recognizer.network.convnext.convnext.ConvNext
+dim: 8
+dim_mults: [2, 8]
+depths: [2, 2]
+attn:
+ _target_: text_recognizer.network.convnext.transformer.Transformer
+ attn:
+ _target_: text_recognizer.network.convnext.transformer.Attention
+ dim: 64
+ heads: 4
+ dim_head: 64
+ scale: 8
+ ff:
+ _target_: text_recognizer.network.convnext.transformer.FeedForward
+ dim: 64
+ mult: 4