From cb5d81fa3c73212303cb13ce1f9718d068b7799d Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Wed, 21 Sep 2022 17:56:29 +0800 Subject: [PATCH] update doc --- doc/doc_ch/algorithm_kie_vi_layoutxlm.md | 4 ++-- doc/doc_en/algorithm_kie_vi_layoutxlm_en.md | 4 ++-- ppstructure/kie/README.md | 4 ++-- ppstructure/kie/README_ch.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/doc_ch/algorithm_kie_vi_layoutxlm.md b/doc/doc_ch/algorithm_kie_vi_layoutxlm.md index 6c69230e..1ec778a8 100644 --- a/doc/doc_ch/algorithm_kie_vi_layoutxlm.md +++ b/doc/doc_ch/algorithm_kie_vi_layoutxlm.md @@ -45,7 +45,7 @@ VI-LayoutXLM基于LayoutXLM进行改进,在下游任务训练过程中,去 ### 4.1 Python推理 --SER +- SER 首先将训练得到的模型转换成inference model。以VI-LayoutXLM模型在XFUND_zh数据集上训练的模型为例([模型下载地址](https://paddleocr.bj.bcebos.com/ppstructure/models/vi_layoutxlm/ser_vi_layoutxlm_xfund_pretrained.tar)),可以使用下面的命令进行转换。 @@ -74,7 +74,7 @@ SER可视化结果默认保存到`./output`文件夹里面,结果示例如下 --RE +- RE 首先将训练得到的模型转换成inference model。以VI-LayoutXLM模型在XFUND_zh数据集上训练的模型为例([模型下载地址](https://paddleocr.bj.bcebos.com/ppstructure/models/vi_layoutxlm/re_vi_layoutxlm_xfund_pretrained.tar)),可以使用下面的命令进行转换。 diff --git a/doc/doc_en/algorithm_kie_vi_layoutxlm_en.md b/doc/doc_en/algorithm_kie_vi_layoutxlm_en.md index fab761f5..798a52ca 100644 --- a/doc/doc_en/algorithm_kie_vi_layoutxlm_en.md +++ b/doc/doc_en/algorithm_kie_vi_layoutxlm_en.md @@ -37,7 +37,7 @@ Please refer to [KIE tutorial](./kie_en.md)。PaddleOCR has modularized the code ### 4.1 Python Inference --SER +- SER First, we need to export the trained model into inference model. Take VI-LayoutXLM model trained on XFUND_zh as an example ([trained model download link](https://paddleocr.bj.bcebos.com/ppstructure/models/vi_layoutxlm/ser_vi_layoutxlm_xfund_pretrained.tar)). Use the following command to export. @@ -70,7 +70,7 @@ The SER visualization results are saved in the `./output` folder by default. The --RE +- RE First, we need to export the trained model into inference model. Take VI-LayoutXLM model trained on XFUND_zh as an example ([trained model download link](https://paddleocr.bj.bcebos.com/ppstructure/models/vi_layoutxlm/re_vi_layoutxlm_xfund_pretrained.tar)). Use the following command to export. diff --git a/ppstructure/kie/README.md b/ppstructure/kie/README.md index ae39d51d..872edb95 100644 --- a/ppstructure/kie/README.md +++ b/ppstructure/kie/README.md @@ -219,7 +219,7 @@ wget https://paddleocr.bj.bcebos.com/ppstructure/models/vi_layoutxlm/re_vi_layou cd .. ``` --SER +- SER Use the following command for inference. @@ -237,7 +237,7 @@ python3 kie/predict_kie_token_ser.py \ The visual results and text file will be saved in directory `output`. --RE +- RE Use the following command for inference. diff --git a/ppstructure/kie/README_ch.md b/ppstructure/kie/README_ch.md index 15de1507..7a8b1942 100644 --- a/ppstructure/kie/README_ch.md +++ b/ppstructure/kie/README_ch.md @@ -203,7 +203,7 @@ wget https://paddleocr.bj.bcebos.com/ppstructure/models/vi_layoutxlm/re_vi_layou cd .. ``` --SER +- SER 执行下面的命令进行预测。 @@ -220,7 +220,7 @@ python3 kie/predict_kie_token_ser.py \ 可视化结果保存在`output`目录下。 --RE +- RE 执行下面的命令进行预测。 -- GitLab