From bb7e24eea39690628ef8af80e58b307683d48de9 Mon Sep 17 00:00:00 2001 From: Sunflower7788 Date: Wed, 11 Dec 2024 20:39:21 +0800 Subject: [PATCH] update_det_static (#14372) --- configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_cml.yml | 1 + configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_student.yml | 1 + configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_cml.yml b/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_cml.yml index 1d93166c7..7e7ddcbfa 100644 --- a/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_cml.yml +++ b/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_cml.yml @@ -16,6 +16,7 @@ Global: use_visualdl: false infer_img: doc/imgs_en/img_10.jpg save_res_path: ./checkpoints/det_db/predicts_db.txt + d2s_train_image_shape: [3, 640, 640] distributed: true Architecture: name: DistillationModel diff --git a/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_student.yml b/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_student.yml index 60f1997d3..d9705ea35 100644 --- a/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_student.yml +++ b/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_student.yml @@ -16,6 +16,7 @@ Global: use_visualdl: false infer_img: doc/imgs_en/img_10.jpg save_res_path: ./checkpoints/det_db/predicts_db.txt + d2s_train_image_shape: [3, 640, 640] distributed: true Architecture: diff --git a/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml b/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml index 3e455e131..2463f93d2 100644 --- a/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml +++ b/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml @@ -16,6 +16,7 @@ Global: use_visualdl: false infer_img: doc/imgs_en/img_10.jpg save_res_path: ./checkpoints/det_db/predicts_db.txt + d2s_train_image_shape: [3, 640, 640] distributed: true Architecture: