From 6bb2b79ddf7222b17882bc99cd530024f5796899 Mon Sep 17 00:00:00 2001 From: SWHL Date: Mon, 6 Mar 2023 14:24:47 +0800 Subject: [PATCH] Update actions of api --- .github/workflows/auto_update_api_docs.yml | 2 +- paddleocr_convert/__init__.py | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto_update_api_docs.yml b/.github/workflows/auto_update_api_docs.yml index d6647a2..4a1bcff 100644 --- a/.github/workflows/auto_update_api_docs.yml +++ b/.github/workflows/auto_update_api_docs.yml @@ -25,7 +25,7 @@ jobs: pip install pdoc - name: generate docs - run: pdoc -d google -o ./html ./paddleocr_convert + run: pdoc -d google -o ./html ./paddleocr_convert -e paddleocr_convert=https://github.com/RapidAI/PaddleOCRModelConverter/tree/main/paddleocr_convert/ - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/paddleocr_convert/__init__.py b/paddleocr_convert/__init__.py index de50d4c..0b9e2be 100644 --- a/paddleocr_convert/__init__.py +++ b/paddleocr_convert/__init__.py @@ -2,6 +2,13 @@ # @Author: SWHL # @Contact: liekkaskono@163.com """ +

+ + + PyPI + +

+ 该模块是paddleocr_convert转换模型的核心代码。主要包括下载模型、解压模型、转换模型和更改模型为动态输入四部分。 由于目前`paddle2onnx`转换工具较为成熟,可以就没有添加转换前后模型精度验证是否满足要求的操作。