Skip to content

Commit

Permalink
Update actions of api
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Mar 6, 2023
1 parent 2686288 commit 6bb2b79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto_update_api_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions paddleocr_convert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
# @Author: SWHL
# @Contact: [email protected]
"""
<p>
<a href=""><img src="https://img.shields.io/badge/Python->=3.7,<=3.10-aff.svg"></a>
<a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Win%2C%20Mac-pink.svg"></a>
<a href="https://pypi.org/project/paddleocr_convert/"><img alt="PyPI" src="https://img.shields.io/pypi/v/paddleocr_convert"></a>
<a href="https://pepy.tech/project/paddleocr_convert"><img src="https://static.pepy.tech/personalized-badge/paddleocr_convert?period=total&units=abbreviation&left_color=grey&right_color=blue&left_text=Downloads"></a>
</p>
该模块是paddleocr_convert转换模型的核心代码。主要包括下载模型、解压模型、转换模型和更改模型为动态输入四部分。
由于目前`paddle2onnx`转换工具较为成熟,可以就没有添加转换前后模型精度验证是否满足要求的操作。
Expand Down

0 comments on commit 6bb2b79

Please sign in to comment.