From ae441a0a390f694cbdda4933d5abfb93f9823b9e Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 27 Jun 2022 18:16:26 +0200 Subject: Update default output length --- text_recognizer/models/transformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text_recognizer/models') diff --git a/text_recognizer/models/transformer.py b/text_recognizer/models/transformer.py index 7686c4f..f44241d 100644 --- a/text_recognizer/models/transformer.py +++ b/text_recognizer/models/transformer.py @@ -20,7 +20,7 @@ class LitTransformer(LitBase): optimizer_config: DictConfig, lr_scheduler_config: Optional[DictConfig], mapping: EmnistMapping, - max_output_len: int = 451, + max_output_len: int = 682, start_token: str = "", end_token: str = "", pad_token: str = "

", -- cgit v1.2.3-70-g09d2