keep db post_process param of yml same with utility.py

This commit is contained in:
LDOUBLEV 2020-10-27 14:02:07 +08:00
parent b9439bfbc0
commit 6c0e331833
2 changed files with 2 additions and 3 deletions

View File

@ -18,5 +18,4 @@ TestReader:
infer_img: infer_img:
img_set_dir: ./train_data/icdar2015/text_localization/ img_set_dir: ./train_data/icdar2015/text_localization/
label_file_path: ./train_data/icdar2015/text_localization/test_icdar2015_label.txt label_file_path: ./train_data/icdar2015/text_localization/test_icdar2015_label.txt
test_image_shape: [736, 1280]
do_eval: True do_eval: True

View File

@ -51,7 +51,7 @@ Optimizer:
PostProcess: PostProcess:
function: ppocr.postprocess.db_postprocess,DBPostProcess function: ppocr.postprocess.db_postprocess,DBPostProcess
thresh: 0.3 thresh: 0.3
box_thresh: 0.6 box_thresh: 0.5
max_candidates: 1000 max_candidates: 1000
unclip_ratio: 1.5 unclip_ratio: 1.6