diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-19 21:10:25 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-19 21:10:25 +0200 |
commit | 0456dbe77b82deeb90db5edd8e5155d9b514ce81 (patch) | |
tree | cb8e0e219e1386b856c512cc3188968039b1583b /text_recognizer/models/base.py | |
parent | d90e4109f2066f0396cbca31dda34579e3c608d0 (diff) |
Linting of Base model
Diffstat (limited to 'text_recognizer/models/base.py')
-rw-r--r-- | text_recognizer/models/base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/text_recognizer/models/base.py b/text_recognizer/models/base.py index 57d319e..39cf78f 100644 --- a/text_recognizer/models/base.py +++ b/text_recognizer/models/base.py @@ -19,6 +19,7 @@ class BaseLitModel(LightningModule): """Abstract PyTorch Lightning class.""" def __attrs_pre_init__(self) -> None: + """Pre init constructor.""" super().__init__() network: Type[nn.Module] = attr.ib() |