From 03dae09c63f2079f37bbf25fd9ded6f20f1490da Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 4 Apr 2021 18:21:13 +0200 Subject: Add transformer lit model --- text_recognizer/models/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text_recognizer/models/base.py') diff --git a/text_recognizer/models/base.py b/text_recognizer/models/base.py index 0c70625..46e5136 100644 --- a/text_recognizer/models/base.py +++ b/text_recognizer/models/base.py @@ -11,7 +11,7 @@ import torchmetrics from text_recognizer import networks -class BaseModel(pl.LightningModule): +class LitBaseModel(pl.LightningModule): """Abstract PyTorch Lightning class.""" def __init__( -- cgit v1.2.3-70-g09d2