summaryrefslogtreecommitdiff
path: root/src/text_recognizer/datasets/__init__.py
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2020-09-09 23:31:31 +0200
committeraktersnurra <gustaf.rydholm@gmail.com>2020-09-09 23:31:31 +0200
commit2b63fd952bdc9c7c72edd501cbcdbf3231e98f00 (patch)
tree1c0e0898cb8b66faff9e5d410aa1f82d13542f68 /src/text_recognizer/datasets/__init__.py
parente1b504bca41a9793ed7e88ef14f2e2cbd85724f2 (diff)
Created an abstract Dataset class for common methods.
Diffstat (limited to 'src/text_recognizer/datasets/__init__.py')
-rw-r--r--src/text_recognizer/datasets/__init__.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/text_recognizer/datasets/__init__.py b/src/text_recognizer/datasets/__init__.py
index ede4541..a3af9b1 100644
--- a/src/text_recognizer/datasets/__init__.py
+++ b/src/text_recognizer/datasets/__init__.py
@@ -1,10 +1,5 @@
"""Dataset modules."""
-from .emnist_dataset import (
- DATA_DIRNAME,
- EmnistDataset,
- EmnistMapper,
- ESSENTIALS_FILENAME,
-)
+from .emnist_dataset import EmnistDataset, Transpose
from .emnist_lines_dataset import (
construct_image_from_string,
EmnistLinesDataset,
@@ -13,7 +8,14 @@ from .emnist_lines_dataset import (
from .iam_dataset import IamDataset
from .iam_lines_dataset import IamLinesDataset
from .iam_paragraphs_dataset import IamParagraphsDataset
-from .util import _download_raw_dataset, compute_sha256, download_url, Transpose
+from .util import (
+ _download_raw_dataset,
+ compute_sha256,
+ DATA_DIRNAME,
+ download_url,
+ EmnistMapper,
+ ESSENTIALS_FILENAME,
+)
__all__ = [
"_download_raw_dataset",