diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-07-30 00:02:05 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-07-30 00:02:05 +0200 |
commit | 92fc1c7ed2f9f64552be8f71d9b8ab0d5a0a88d4 (patch) | |
tree | 68921ead6bffea3b7c93af365f1de58ecca130e0 /text_recognizer/data/iam_lines.py | |
parent | 34098ccbbbf6379c0bd29a987440b8479c743746 (diff) |
Black formatting
Diffstat (limited to 'text_recognizer/data/iam_lines.py')
-rw-r--r-- | text_recognizer/data/iam_lines.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/text_recognizer/data/iam_lines.py b/text_recognizer/data/iam_lines.py index 705cfa3..13dd379 100644 --- a/text_recognizer/data/iam_lines.py +++ b/text_recognizer/data/iam_lines.py @@ -43,7 +43,9 @@ class IAMLines(BaseDataModule): augment: bool = attr.ib(default=True) fraction: float = attr.ib(default=0.8) - dims: Tuple[int, int, int] = attr.ib(init=False, default=(1, IMAGE_HEIGHT, IMAGE_WIDTH)) + dims: Tuple[int, int, int] = attr.ib( + init=False, default=(1, IMAGE_HEIGHT, IMAGE_WIDTH) + ) output_dims: Tuple[int, int] = attr.ib(init=False, default=(MAX_LABEL_LENGTH, 1)) def __attrs_post_init__(self) -> None: |