From 8eec5f3d4ce41c2ba30f0f1ab3f506fc3c0dd263 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 18 Sep 2022 18:12:54 +0200 Subject: Formats --- text_recognizer/models/transformer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text_recognizer/models/transformer.py') diff --git a/text_recognizer/models/transformer.py b/text_recognizer/models/transformer.py index f44241d..dcec756 100644 --- a/text_recognizer/models/transformer.py +++ b/text_recognizer/models/transformer.py @@ -1,9 +1,9 @@ """Lightning model for base Transformers.""" from typing import Optional, Tuple, Type -from omegaconf import DictConfig import torch -from torch import nn, Tensor +from omegaconf import DictConfig +from torch import Tensor, nn from text_recognizer.data.mappings import EmnistMapping from text_recognizer.models.base import LitBase -- cgit v1.2.3-70-g09d2