From 3d279b65f19813357ae395e5f72f1efcbd2829f5 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 8 Jul 2021 22:27:43 +0200 Subject: Notebook stuff --- text_recognizer/networks/cnn_tranformer.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'text_recognizer/networks') diff --git a/text_recognizer/networks/cnn_tranformer.py b/text_recognizer/networks/cnn_tranformer.py index 38de0ba..ff0ae82 100644 --- a/text_recognizer/networks/cnn_tranformer.py +++ b/text_recognizer/networks/cnn_tranformer.py @@ -4,6 +4,11 @@ from typing import Type import attr from torch import nn, Tensor +from text_recognizer.networks.transformer.positional_encodings import ( + PositionalEncoding, + PositionalEncoding2D, +) + @attr.s class CnnTransformer(nn.Module): -- cgit v1.2.3-70-g09d2