From cfb3ab4f89e4b5a5ddf0cec1b473481257b3c4bf Mon Sep 17 00:00:00 2001 From: andyjpaddle Date: Mon, 19 Sep 2022 07:59:25 +0000 Subject: [PATCH] add params for v3 rec --- configs/rec/PP-OCRv3/ch_PP-OCRv3_rec.yml | 1 + configs/rec/PP-OCRv3/ch_PP-OCRv3_rec_distillation.yml | 1 + configs/rec/PP-OCRv3/en_PP-OCRv3_rec.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/rec/PP-OCRv3/ch_PP-OCRv3_rec.yml b/configs/rec/PP-OCRv3/ch_PP-OCRv3_rec.yml index 6453934b..7e98280b 100644 --- a/configs/rec/PP-OCRv3/ch_PP-OCRv3_rec.yml +++ b/configs/rec/PP-OCRv3/ch_PP-OCRv3_rec.yml @@ -88,6 +88,7 @@ Train: prob: 0.5 ext_data_num: 2 image_shape: [48, 320, 3] + max_text_length: *max_text_length - RecAug: - MultiLabelEncode: - RecResizeImg: diff --git a/configs/rec/PP-OCRv3/ch_PP-OCRv3_rec_distillation.yml b/configs/rec/PP-OCRv3/ch_PP-OCRv3_rec_distillation.yml index e7cbae59..42725573 100644 --- a/configs/rec/PP-OCRv3/ch_PP-OCRv3_rec_distillation.yml +++ b/configs/rec/PP-OCRv3/ch_PP-OCRv3_rec_distillation.yml @@ -162,6 +162,7 @@ Train: prob: 0.5 ext_data_num: 2 image_shape: [48, 320, 3] + max_text_length: *max_text_length - RecAug: - MultiLabelEncode: - RecResizeImg: diff --git a/configs/rec/PP-OCRv3/en_PP-OCRv3_rec.yml b/configs/rec/PP-OCRv3/en_PP-OCRv3_rec.yml index ff536ede..c728e0ac 100644 --- a/configs/rec/PP-OCRv3/en_PP-OCRv3_rec.yml +++ b/configs/rec/PP-OCRv3/en_PP-OCRv3_rec.yml @@ -88,6 +88,7 @@ Train: prob: 0.5 ext_data_num: 2 image_shape: [48, 320, 3] + max_text_length: *max_text_length - RecAug: - MultiLabelEncode: - RecResizeImg: -- GitLab