diff options
Diffstat (limited to 'text_recognizer/models/conformer.py')
-rw-r--r-- | text_recognizer/models/conformer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text_recognizer/models/conformer.py b/text_recognizer/models/conformer.py index 655ebf6..41a9e4d 100644 --- a/text_recognizer/models/conformer.py +++ b/text_recognizer/models/conformer.py @@ -21,7 +21,7 @@ class LitConformer(LitBase): loss_fn: Type[nn.Module], optimizer_configs: DictConfig, lr_scheduler_configs: Optional[DictConfig], - mapping: Type[EmnistMapping], + mapping: EmnistMapping, max_output_len: int = 451, start_token: str = "<s>", end_token: str = "<e>", |