summaryrefslogtreecommitdiff
path: root/text_recognizer/network/transformer/encoder.py
diff options
context:
space:
mode:
Diffstat (limited to 'text_recognizer/network/transformer/encoder.py')
-rw-r--r--text_recognizer/network/transformer/encoder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/text_recognizer/network/transformer/encoder.py b/text_recognizer/network/transformer/encoder.py
index ea4b0b3..328a40c 100644
--- a/text_recognizer/network/transformer/encoder.py
+++ b/text_recognizer/network/transformer/encoder.py
@@ -1,8 +1,8 @@
"""Transformer encoder module."""
from torch import Tensor, nn
-from text_recognizer.network.transformer.attention import Attention
-from text_recognizer.network.transformer.ff import FeedForward
+from .attention import Attention
+from .ff import FeedForward
class Encoder(nn.Module):