提交 738d787b 编写于 作者: L LDOUBLEV

fix doc and modify config

上级 f5e0e9d0
...@@ -92,6 +92,7 @@ python3 tools/infer/predict_system.py --image_dir="./doc/imgs/11.jpg" --det_mode ...@@ -92,6 +92,7 @@ python3 tools/infer/predict_system.py --image_dir="./doc/imgs/11.jpg" --det_mode
- [文本检测模型训练/评估/预测](./doc/doc_ch/detection.md) - [文本检测模型训练/评估/预测](./doc/doc_ch/detection.md)
- [文本识别模型训练/评估/预测](./doc/doc_ch/recognition.md) - [文本识别模型训练/评估/预测](./doc/doc_ch/recognition.md)
- [基于预测引擎推理](./doc/doc_ch/inference.md) - [基于预测引擎推理](./doc/doc_ch/inference.md)
- [yml配置文件参数介绍](./doc/doc_ch/config_ch.md)
- [数据集](./doc/doc_ch/datasets.md) - [数据集](./doc/doc_ch/datasets.md)
- [FAQ](#FAQ) - [FAQ](#FAQ)
- [联系我们](#欢迎加入PaddleOCR技术交流群) - [联系我们](#欢迎加入PaddleOCR技术交流群)
......
...@@ -92,7 +92,9 @@ For more text detection and recognition models, please refer to the document [In ...@@ -92,7 +92,9 @@ For more text detection and recognition models, please refer to the document [In
- [Text detection model training/evaluation/prediction](./doc/doc_en/detection_en.md) - [Text detection model training/evaluation/prediction](./doc/doc_en/detection_en.md)
- [Text recognition model training/evaluation/prediction](./doc/doc_en/recognition_en.md) - [Text recognition model training/evaluation/prediction](./doc/doc_en/recognition_en.md)
- [Inference](./doc/doc_en/inference_en.md) - [Inference](./doc/doc_en/inference_en.md)
- [Introduction of yml file](./doc/doc_en/config_en.md)
- [Dataset](./doc/doc_en/datasets_en.md) - [Dataset](./doc/doc_en/datasets_en.md)
- [FAQ]((#FAQ)
## TEXT DETECTION ALGORITHM ## TEXT DETECTION ALGORITHM
...@@ -170,6 +172,7 @@ Please refer to the document for training guide and use of PaddleOCR text recogn ...@@ -170,6 +172,7 @@ Please refer to the document for training guide and use of PaddleOCR text recogn
![](doc/imgs_results/chinese_db_crnn_server/2.jpg) ![](doc/imgs_results/chinese_db_crnn_server/2.jpg)
![](doc/imgs_results/chinese_db_crnn_server/8.jpg) ![](doc/imgs_results/chinese_db_crnn_server/8.jpg)
<a name="FAQ"></a>
## FAQ ## FAQ
1. Error when using attention-based recognition model: KeyError: 'predict' 1. Error when using attention-based recognition model: KeyError: 'predict'
......
...@@ -6,7 +6,8 @@ Global: ...@@ -6,7 +6,8 @@ Global:
print_batch_step: 2 print_batch_step: 2
save_model_dir: ./output/det_db/ save_model_dir: ./output/det_db/
save_epoch_step: 200 save_epoch_step: 200
eval_batch_step: 5000 # evaluation is run every 2000 iterations after the 5000th iteration
eval_batch_step: [5000, 5000]
train_batch_size_per_card: 16 train_batch_size_per_card: 16
test_batch_size_per_card: 16 test_batch_size_per_card: 16
image_shape: [3, 640, 640] image_shape: [3, 640, 640]
...@@ -50,4 +51,4 @@ PostProcess: ...@@ -50,4 +51,4 @@ PostProcess:
thresh: 0.3 thresh: 0.3
box_thresh: 0.7 box_thresh: 0.7
max_candidates: 1000 max_candidates: 1000
unclip_ratio: 2.0 unclip_ratio: 2.0
\ No newline at end of file
...@@ -6,7 +6,7 @@ Global: ...@@ -6,7 +6,7 @@ Global:
print_batch_step: 5 print_batch_step: 5
save_model_dir: ./output/det_east/ save_model_dir: ./output/det_east/
save_epoch_step: 200 save_epoch_step: 200
eval_batch_step: 5000 eval_batch_step: [5000, 5000]
train_batch_size_per_card: 16 train_batch_size_per_card: 16
test_batch_size_per_card: 16 test_batch_size_per_card: 16
image_shape: [3, 512, 512] image_shape: [3, 512, 512]
......
...@@ -6,7 +6,7 @@ Global: ...@@ -6,7 +6,7 @@ Global:
print_batch_step: 2 print_batch_step: 2
save_model_dir: ./output/det_db/ save_model_dir: ./output/det_db/
save_epoch_step: 200 save_epoch_step: 200
eval_batch_step: 5000 eval_batch_step: [5000, 5000]
train_batch_size_per_card: 8 train_batch_size_per_card: 8
test_batch_size_per_card: 16 test_batch_size_per_card: 16
image_shape: [3, 640, 640] image_shape: [3, 640, 640]
......
...@@ -6,7 +6,7 @@ Global: ...@@ -6,7 +6,7 @@ Global:
print_batch_step: 5 print_batch_step: 5
save_model_dir: ./output/det_east/ save_model_dir: ./output/det_east/
save_epoch_step: 200 save_epoch_step: 200
eval_batch_step: 5000 eval_batch_step: [5000, 5000]
train_batch_size_per_card: 8 train_batch_size_per_card: 8
test_batch_size_per_card: 16 test_batch_size_per_card: 16
image_shape: [3, 512, 512] image_shape: [3, 512, 512]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册