summaryrefslogtreecommitdiff
path: root/text_recognizer/model/transformer.py
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-11 22:10:45 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-11 22:10:45 +0200
commitd784c49566e5a7705539fb4ceb0461bad8f41361 (patch)
treea925281a3b335a9df3c0500d61f6571616275e26 /text_recognizer/model/transformer.py
parent43b10ea57f40983ec53c17a05f5b9fd2501f4eea (diff)
Update imports
Diffstat (limited to 'text_recognizer/model/transformer.py')
-rw-r--r--text_recognizer/model/transformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/text_recognizer/model/transformer.py b/text_recognizer/model/transformer.py
index 598d995..5842bdb 100644
--- a/text_recognizer/model/transformer.py
+++ b/text_recognizer/model/transformer.py
@@ -6,7 +6,7 @@ from omegaconf import DictConfig
from torch import nn, Tensor
from torchmetrics import CharErrorRate, WordErrorRate
-from .greedy_decoder import GreedyDecoder
+from text_recognizer.decoder.greedy_decoder import GreedyDecoder
from text_recognizer.data.tokenizer import Tokenizer
from .base import LitBase