summaryrefslogtreecommitdiff
path: root/src/text_recognizer/models/transformer_model.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/text_recognizer/models/transformer_model.py')
-rw-r--r--src/text_recognizer/models/transformer_model.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text_recognizer/models/transformer_model.py b/src/text_recognizer/models/transformer_model.py
index 968a047..a912122 100644
--- a/src/text_recognizer/models/transformer_model.py
+++ b/src/text_recognizer/models/transformer_model.py
@@ -18,8 +18,8 @@ class TransformerModel(Model):
def __init__(
self,
- network_fn: Type[nn.Module],
- dataset: Type[Dataset],
+ network_fn: str,
+ dataset: str,
network_args: Optional[Dict] = None,
dataset_args: Optional[Dict] = None,
metrics: Optional[Dict] = None,