From 6c0e3318339ff24fcef9ef80d47448664d5febd3 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Tue, 27 Oct 2020 14:02:07 +0800 Subject: [PATCH] keep db post_process param of yml same with utility.py --- configs/det/det_db_icdar15_reader.yml | 1 - configs/det/det_r18_vd_db_v1.1.yml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configs/det/det_db_icdar15_reader.yml b/configs/det/det_db_icdar15_reader.yml index 0f99257b..6258a304 100755 --- a/configs/det/det_db_icdar15_reader.yml +++ b/configs/det/det_db_icdar15_reader.yml @@ -18,5 +18,4 @@ TestReader: infer_img: img_set_dir: ./train_data/icdar2015/text_localization/ label_file_path: ./train_data/icdar2015/text_localization/test_icdar2015_label.txt - test_image_shape: [736, 1280] do_eval: True diff --git a/configs/det/det_r18_vd_db_v1.1.yml b/configs/det/det_r18_vd_db_v1.1.yml index aa6dc0ee..f7cfe57f 100755 --- a/configs/det/det_r18_vd_db_v1.1.yml +++ b/configs/det/det_r18_vd_db_v1.1.yml @@ -51,7 +51,7 @@ Optimizer: PostProcess: function: ppocr.postprocess.db_postprocess,DBPostProcess thresh: 0.3 - box_thresh: 0.6 + box_thresh: 0.5 max_candidates: 1000 - unclip_ratio: 1.5 + unclip_ratio: 1.6 -- GitLab