diff --git a/doc/doc_ch/algorithm_kie_vi_layoutxlm.md b/doc/doc_ch/algorithm_kie_vi_layoutxlm.md index 6c69230e020d8ead1ca3f917676730afaf0a19f8..1ec778a899d8e3e66164f6d1deb902bca36ad65a 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 fab761f5a957c2bfdd42e09d22da27410a2ad423..798a52ca8cd9ce0de6b942294a22c11f64c9ac2f 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 ae39d51dd320ca99de962a9a8b8a1ed0dab9d105..872edb959276e22b22e4b733df44bdb6a6819c98 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 15de1507fa16d9cf696a485ae89a5c95188b2f92..7a8b1942b1849834f8843c8f272ce08e95f4b993 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 执行下面的命令进行预测。