summaryrefslogtreecommitdiff
path: root/src/text_recognizer/models/__init__.py
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2020-11-08 12:41:04 +0100
committeraktersnurra <gustaf.rydholm@gmail.com>2020-11-08 12:41:04 +0100
commitbeeaef529e7c893a3475fe27edc880e283373725 (patch)
tree59eb72562bf7a5a9470c2586e6280600ad94f1ae /src/text_recognizer/models/__init__.py
parent4d7713746eb936832e84852e90292936b933e87d (diff)
Trying to get the CNNTransformer to work, but it is hard.
Diffstat (limited to 'src/text_recognizer/models/__init__.py')
-rw-r--r--src/text_recognizer/models/__init__.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/text_recognizer/models/__init__.py b/src/text_recognizer/models/__init__.py
index 0855079..28aa52e 100644
--- a/src/text_recognizer/models/__init__.py
+++ b/src/text_recognizer/models/__init__.py
@@ -1,16 +1,19 @@
"""Model modules."""
from .base import Model
from .character_model import CharacterModel
-from .line_ctc_model import LineCTCModel
+from .crnn_model import CRNNModel
from .metrics import accuracy, cer, wer
+from .transformer_encoder_model import TransformerEncoderModel
from .vision_transformer_model import VisionTransformerModel
__all__ = [
"Model",
"cer",
"CharacterModel",
+ "CRNNModel",
"CNNTransfromerModel",
- "LineCTCModel",
"accuracy",
+ "TransformerEncoderModel",
+ "VisionTransformerModel",
"wer",
]