提交 e1239409 编写于 作者: T tink2123

fix pretrain model path

上级 838e8069
...@@ -11,7 +11,7 @@ Global: ...@@ -11,7 +11,7 @@ Global:
test_batch_size_per_card: 16 test_batch_size_per_card: 16
image_shape: [3, 512, 512] image_shape: [3, 512, 512]
reader_yml: ./configs/det/det_east_icdar15_reader.yml 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: checkpoints:
save_res_path: ./output/det_east/predicts_east.txt save_res_path: ./output/det_east/predicts_east.txt
save_inference_dir: save_inference_dir:
...@@ -42,4 +42,4 @@ PostProcess: ...@@ -42,4 +42,4 @@ PostProcess:
score_thresh: 0.8 score_thresh: 0.8
cover_thresh: 0.1 cover_thresh: 0.1
nms_thresh: 0.2 nms_thresh: 0.2
\ No newline at end of file
...@@ -11,7 +11,7 @@ Global: ...@@ -11,7 +11,7 @@ Global:
test_batch_size_per_card: 16 test_batch_size_per_card: 16
image_shape: [3, 640, 640] image_shape: [3, 640, 640]
reader_yml: ./configs/det/det_db_icdar15_reader.yml 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 save_res_path: ./output/det_db/predicts_db.txt
checkpoints: checkpoints:
save_inference_dir: save_inference_dir:
...@@ -50,4 +50,4 @@ PostProcess: ...@@ -50,4 +50,4 @@ PostProcess:
box_thresh: 0.7 box_thresh: 0.7
max_candidates: 1000 max_candidates: 1000
unclip_ratio: 1.5 unclip_ratio: 1.5
\ No newline at end of file
...@@ -11,7 +11,7 @@ Global: ...@@ -11,7 +11,7 @@ Global:
test_batch_size_per_card: 16 test_batch_size_per_card: 16
image_shape: [3, 512, 512] image_shape: [3, 512, 512]
reader_yml: ./configs/det/det_east_icdar15_reader.yml 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 save_res_path: ./output/det_east/predicts_east.txt
checkpoints: checkpoints:
save_inference_dir: save_inference_dir:
...@@ -41,4 +41,4 @@ PostProcess: ...@@ -41,4 +41,4 @@ PostProcess:
score_thresh: 0.8 score_thresh: 0.8
cover_thresh: 0.1 cover_thresh: 0.1
nms_thresh: 0.2 nms_thresh: 0.2
\ No newline at end of file
...@@ -20,7 +20,7 @@ sudo nvidia-docker run --name ppocr -v $PWD:/paddle --network=host -it hub.baidu ...@@ -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 sudo nvidia-docker container exec -it ppocr /bin/bash
``` ```
2. 安装PaddlePaddle Fluid v1.7或更高版本 2. 安装PaddlePaddle Fluid v1.7(暂不支持更高版本,适配工作进行中)
``` ```
pip3 install --upgrade pip pip3 install --upgrade pip
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册