From 8812c07cd4d5c245d8a04dfc3c6def98d077f200 Mon Sep 17 00:00:00 2001 From: jiqirenfeile <106600936+jiqirenfeile@users.noreply.github.com> Date: Sun, 18 Aug 2024 20:50:59 -0400 Subject: [PATCH] Update ch_PP-OCRv4_rec_distillation.yml (#13692) Refactor YAML config to define max_text_length as an anchor for reuse --- configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_distillation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_distillation.yml b/configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_distillation.yml index f613ee52b..aa2a36dca 100644 --- a/configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_distillation.yml +++ b/configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_distillation.yml @@ -16,7 +16,7 @@ Global: use_visualdl: false infer_img: doc/imgs_words/ch/word_1.jpg character_dict_path: ppocr/utils/ppocr_keys_v1.txt - max_text_length: 25 + max_text_length: &max_text_length 25 infer_mode: false use_space_char: true distributed: true