diff options
Diffstat (limited to 'text_recognizer')
-rw-r--r-- | text_recognizer/networks/cnn_tranformer.py | 5 |
1 files changed, 5 insertions, 0 deletions
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): |