From e1239409b806c65b99960bbc6dc3fe5b673f33de Mon Sep 17 00:00:00 2001 From: tink2123 Date: Tue, 19 May 2020 10:50:42 +0800 Subject: [PATCH] fix pretrain model path --- configs/det/det_mv3_east.yml | 4 ++-- configs/det/det_r50_vd_db.yml | 4 ++-- configs/det/det_r50_vd_east.yml | 4 ++-- doc/installation.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configs/det/det_mv3_east.yml b/configs/det/det_mv3_east.yml index b1129ce9..b6f37256 100755 --- a/configs/det/det_mv3_east.yml +++ b/configs/det/det_mv3_east.yml @@ -11,7 +11,7 @@ Global: test_batch_size_per_card: 16 image_shape: [3, 512, 512] reader_yml: ./configs/det/det_east_icdar15_reader.yml - pretrain_weights: ./pretrain_models/MobileNetV3_pretrained/MobileNetV3_large_x0_5_pretrained/ + pretrain_weights: ./pretrain_models/MobileNetV3_large_x0_5_pretrained/ checkpoints: save_res_path: ./output/det_east/predicts_east.txt save_inference_dir: @@ -42,4 +42,4 @@ PostProcess: score_thresh: 0.8 cover_thresh: 0.1 nms_thresh: 0.2 - \ No newline at end of file + diff --git a/configs/det/det_r50_vd_db.yml b/configs/det/det_r50_vd_db.yml index 78550411..6e3b3b9e 100755 --- a/configs/det/det_r50_vd_db.yml +++ b/configs/det/det_r50_vd_db.yml @@ -11,7 +11,7 @@ Global: test_batch_size_per_card: 16 image_shape: [3, 640, 640] reader_yml: ./configs/det/det_db_icdar15_reader.yml - pretrain_weights: ./pretrain_models/ResNet50_vd_pretrained/ + pretrain_weights: ./pretrain_models/ResNet50_vd_ssld_pretrained/ save_res_path: ./output/det_db/predicts_db.txt checkpoints: save_inference_dir: @@ -50,4 +50,4 @@ PostProcess: box_thresh: 0.7 max_candidates: 1000 unclip_ratio: 1.5 - \ No newline at end of file + diff --git a/configs/det/det_r50_vd_east.yml b/configs/det/det_r50_vd_east.yml index f0f6e4a4..bb16f9fa 100755 --- a/configs/det/det_r50_vd_east.yml +++ b/configs/det/det_r50_vd_east.yml @@ -11,7 +11,7 @@ Global: test_batch_size_per_card: 16 image_shape: [3, 512, 512] reader_yml: ./configs/det/det_east_icdar15_reader.yml - pretrain_weights: ./pretrain_models/ResNet50_vd_pretrained/ + pretrain_weights: ./pretrain_models/ResNet50_vd_ssld_pretrained/ save_res_path: ./output/det_east/predicts_east.txt checkpoints: save_inference_dir: @@ -41,4 +41,4 @@ PostProcess: score_thresh: 0.8 cover_thresh: 0.1 nms_thresh: 0.2 - \ No newline at end of file + diff --git a/doc/installation.md b/doc/installation.md index 8f4f3c37..1c6fead8 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -20,7 +20,7 @@ sudo nvidia-docker run --name ppocr -v $PWD:/paddle --network=host -it hub.baidu sudo nvidia-docker container exec -it ppocr /bin/bash ``` -2. 安装PaddlePaddle Fluid v1.7或更高版本 +2. 安装PaddlePaddle Fluid v1.7(暂不支持更高版本,适配工作进行中) ``` pip3 install --upgrade pip -- GitLab