summaryrefslogtreecommitdiff
path: root/text_recognizer/networks/vq_transformer.py
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-10-10 18:07:15 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-10-10 18:07:15 +0200
commitef5e7e6a62a6d7223fe5a5137e2bfacba9ec12b6 (patch)
treeaf2511701bc35ad485a1c2d61d7dfdcb734eacf8 /text_recognizer/networks/vq_transformer.py
parent9d8e73039b840bf3a2b52adcb7d279a2accd9790 (diff)
Remove imports
Diffstat (limited to 'text_recognizer/networks/vq_transformer.py')
-rw-r--r--text_recognizer/networks/vq_transformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/text_recognizer/networks/vq_transformer.py b/text_recognizer/networks/vq_transformer.py
index 2121c33..1c85bf9 100644
--- a/text_recognizer/networks/vq_transformer.py
+++ b/text_recognizer/networks/vq_transformer.py
@@ -1,6 +1,6 @@
"""Vector quantized encoder, transformer decoder."""
from pathlib import Path
-from typing import OrderedDict, Tuple, Union
+from typing import OrderedDict, Tuple
from omegaconf import OmegaConf
from hydra.utils import instantiate