From 8626406b872f7cf4b69a9dcc8bdfb777c6f1300d Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 4 Oct 2022 22:06:07 +0200 Subject: Update stem import paths --- text_recognizer/data/transforms/line.py | 2 +- text_recognizer/data/transforms/paragraph.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'text_recognizer/data/transforms') diff --git a/text_recognizer/data/transforms/line.py b/text_recognizer/data/transforms/line.py index 4f0ce05..6c38213 100644 --- a/text_recognizer/data/transforms/line.py +++ b/text_recognizer/data/transforms/line.py @@ -5,7 +5,7 @@ from PIL import Image import torchvision.transforms as T import text_recognizer.metadata.iam_lines as metadata -from text_recognizer.data.stems.image import ImageStem +from text_recognizer.data.transforms.image import ImageStem class LineStem(ImageStem): diff --git a/text_recognizer/data/transforms/paragraph.py b/text_recognizer/data/transforms/paragraph.py index 39e1e59..b364f91 100644 --- a/text_recognizer/data/transforms/paragraph.py +++ b/text_recognizer/data/transforms/paragraph.py @@ -2,7 +2,7 @@ import torchvision.transforms as T import text_recognizer.metadata.iam_paragraphs as metadata -from text_recognizer.data.stems.image import ImageStem +from text_recognizer.data.transforms.image import ImageStem IMAGE_HEIGHT, IMAGE_WIDTH = metadata.IMAGE_HEIGHT, metadata.IMAGE_WIDTH -- cgit v1.2.3-70-g09d2