Skip to content

Commit

Permalink
Update ch_PP-OCRv4_rec_distillation.yml (PaddlePaddle#13692)
Browse files Browse the repository at this point in the history
Refactor YAML config to define max_text_length as an anchor for reuse
  • Loading branch information
jiqirenfeile authored Aug 19, 2024
1 parent e22ce35 commit 8812c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_distillation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8812c07

Please sign in to comment.