summaryrefslogtreecommitdiff
path: root/text_recognizer/data/iam_paragraphs.py
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-26 23:17:14 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-26 23:17:14 +0100
commit9b6c99172f80b45030279e7268aaa80e5a1ed574 (patch)
tree5049b225927e786dd462265ec8bca9a0f8084f18 /text_recognizer/data/iam_paragraphs.py
parent5e81d11e18cc28c383a30c10c53b8b477ada3c0a (diff)
fix: lint and format
Diffstat (limited to 'text_recognizer/data/iam_paragraphs.py')
-rw-r--r--text_recognizer/data/iam_paragraphs.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/text_recognizer/data/iam_paragraphs.py b/text_recognizer/data/iam_paragraphs.py
index a8d5e0d..033b93e 100644
--- a/text_recognizer/data/iam_paragraphs.py
+++ b/text_recognizer/data/iam_paragraphs.py
@@ -86,10 +86,7 @@ class IAMParagraphs(BaseDataModule):
length=self.output_dims[0],
)
return BaseDataset(
- data,
- targets,
- transform=transform,
- target_transform=target_transform,
+ data, targets, transform=transform, target_transform=target_transform,
)
log.info(f"Loading IAM paragraph regions and lines for {stage}...")