From 747a474a3ef0c8071e265ae8cf0d2c2414b565bc Mon Sep 17 00:00:00 2001 From: Evezerest <50011306+Evezerest@users.noreply.github.com> Date: Wed, 23 Nov 2022 14:58:49 +0800 Subject: [PATCH] Fix image link and add icons (#5662) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update PP backbones‘ introduction Update PP backbones‘ introduction * Update sample image link Update sample image link * delete paddlecv whl package delete paddlecv whl package * Add model icons of OCR and Class Add icons of OCR and Class --- modelcenter/PP-HGNet/info.yaml | 2 +- modelcenter/PP-HGNet/introduction_cn.ipynb | 3 +-- modelcenter/PP-HGNet/introduction_en.ipynb | 3 +-- modelcenter/PP-LCNet/info.yaml | 2 +- modelcenter/PP-LCNet/introduction_cn.ipynb | 7 +------ modelcenter/PP-LCNet/introduction_en.ipynb | 3 +-- modelcenter/PP-LCNetV2/info.yaml | 2 +- modelcenter/PP-LCNetV2/introduction_cn.ipynb | 3 +-- modelcenter/PP-LCNetV2/introduction_en.ipynb | 3 +-- modelcenter/PP-OCRv2/APP/app.py | 2 +- modelcenter/PP-OCRv2/info.yaml | 2 +- modelcenter/PP-OCRv3/APP/app.py | 3 ++- modelcenter/PP-OCRv3/info.yaml | 10 +++++++++- modelcenter/PP-ShiTu/info.yaml | 2 +- modelcenter/PP-ShiTuV2/APP/app.py | 2 +- modelcenter/PP-ShiTuV2/info.yaml | 2 +- modelcenter/PP-StructureV2/info.yaml | 2 +- 17 files changed, 26 insertions(+), 27 deletions(-) diff --git a/modelcenter/PP-HGNet/info.yaml b/modelcenter/PP-HGNet/info.yaml index 0eba9163..78b52256 100644 --- a/modelcenter/PP-HGNet/info.yaml +++ b/modelcenter/PP-HGNet/info.yaml @@ -3,7 +3,7 @@ Model_Info: name: "PP-HGNet" description: "面向Nvidia GPU端的高性能卷积神经网络" description_en: "A High-performance Convolutional Neural Network for Nvidia GPU" - icon: "" + icon: "https://paddleocr.bj.bcebos.com/icon/backbone.png" from_repo: "PaddleClas" Task: - tag_en: "Computer Vision" diff --git a/modelcenter/PP-HGNet/introduction_cn.ipynb b/modelcenter/PP-HGNet/introduction_cn.ipynb index d73756fe..5c41d0e2 100644 --- a/modelcenter/PP-HGNet/introduction_cn.ipynb +++ b/modelcenter/PP-HGNet/introduction_cn.ipynb @@ -19,7 +19,7 @@ "PP-HGNet 系列模型在 ImageNet1k 数据集上的评测指标如下所示:\n", "\n", "| Model | Top-1 Acc(\\%) | Top-5 Acc(\\%) | Latency(ms) |\n", - "|:--: |:--: |:--: |:--: | :--: |:--: |\n", + "|:--: |:--: |:--: |:--: |\n", "| PPHGNet_tiny | 79.83 | 95.04 | 1.77 |\n", "| PPHGNet_tiny_ssld | 81.95 | 96.12 | 1.77 |\n", "| PPHGNet_small | 81.51| 95.82 | 2.52 |\n", @@ -105,7 +105,6 @@ "cell_type": "code", "execution_count": null, "metadata": { - "collapsed": false, "jupyter": { "outputs_hidden": false }, diff --git a/modelcenter/PP-HGNet/introduction_en.ipynb b/modelcenter/PP-HGNet/introduction_en.ipynb index 82f082a4..537f3325 100644 --- a/modelcenter/PP-HGNet/introduction_en.ipynb +++ b/modelcenter/PP-HGNet/introduction_en.ipynb @@ -19,7 +19,7 @@ "The evaluation indexes of PP-HGNet series models in ImageNet1k data set are shown as follows:\n", "\n", "| Model | Top-1 Acc(\\%) | Top-5 Acc(\\%) | Latency(ms) |\n", - "|:--: |:--: |:--: |:--: | :--: |:--: |\n", + "|:--: |:--: |:--: |:--: | \n", "| PPHGNet_tiny | 79.83 | 95.04 | 1.77 |\n", "| PPHGNet_tiny_ssld | 81.95 | 96.12 | 1.77 |\n", "| PPHGNet_small | 81.51| 95.82 | 2.52 |\n", @@ -105,7 +105,6 @@ "cell_type": "code", "execution_count": null, "metadata": { - "collapsed": false, "jupyter": { "outputs_hidden": false }, diff --git a/modelcenter/PP-LCNet/info.yaml b/modelcenter/PP-LCNet/info.yaml index fabb10b1..ce738cf8 100644 --- a/modelcenter/PP-LCNet/info.yaml +++ b/modelcenter/PP-LCNet/info.yaml @@ -3,7 +3,7 @@ Model_Info: name: "PP-LCNet" description: "面向Intel CPU端的轻量级卷积神经网络" description_en: "A Lightweight Convolutional Neural Network for Intel CPU" - icon: "" + icon: "https://paddleocr.bj.bcebos.com/icon/backbone.png" from_repo: "PaddleClas" Task: - tag_en: "Computer Vision" diff --git a/modelcenter/PP-LCNet/introduction_cn.ipynb b/modelcenter/PP-LCNet/introduction_cn.ipynb index db27eda5..d6b26f68 100644 --- a/modelcenter/PP-LCNet/introduction_cn.ipynb +++ b/modelcenter/PP-LCNet/introduction_cn.ipynb @@ -28,7 +28,7 @@ "PP-LCNet 系列模型在 ImageNet1k 数据集上的评测指标如下所示:\n", "\n", "| Model | Params(M) | FLOPs(M) | Top-1 Acc(\\%) | Top-5 Acc(\\%) | Latency(ms) |\n", - "|:--:|:--:|:--:|:--:|:--:|:--:|:--:|:--:|\n", + "|:--:|:--:|:--:|:--:|:--:|:--:|\n", "| PPLCNet_x0_25 | 1.5 | 18 | 51.86 | 75.65 | 1.74 |\n", "| PPLCNet_x0_35 | 1.6 | 29 | 58.09 | 80.83 | 1.92 |\n", "| PPLCNet_x0_5 | 1.9 | 47 | 63.14 | 84.66 | 2.05 |\n", @@ -265,11 +265,6 @@ "PP-LCNet 系列模型在 Intel CPU 端延时测试基于 Intel Xeon Gold 6148 硬件平台完成,推理框架使用 PaddlePaddle,开启 MKLDNN 加速,推理 batch size 为 1,线程数为 10。" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [] - }, { "cell_type": "markdown", "metadata": {}, diff --git a/modelcenter/PP-LCNet/introduction_en.ipynb b/modelcenter/PP-LCNet/introduction_en.ipynb index 94dbebb3..042380d0 100644 --- a/modelcenter/PP-LCNet/introduction_en.ipynb +++ b/modelcenter/PP-LCNet/introduction_en.ipynb @@ -28,7 +28,7 @@ "The evaluation results of PP-LCNet series models in ImageNet1k dataset are shown as follows:\n", "\n", "| Model | Params(M) | FLOPs(M) | Top-1 Acc(\\%) | Top-5 Acc(\\%) | Latency(ms) |\n", - "|:--:|:--:|:--:|:--:|:--:|:--:|:--:|:--:|\n", + "|:--:|:--:|:--:|:--:|:--:|:--:|\n", "| PPLCNet_x0_25 | 1.5 | 18 | 51.86 | 75.65 | 1.74 |\n", "| PPLCNet_x0_35 | 1.6 | 29 | 58.09 | 80.83 | 1.92 |\n", "| PPLCNet_x0_5 | 1.9 | 47 | 63.14 | 84.66 | 2.05 |\n", @@ -138,7 +138,6 @@ "cell_type": "code", "execution_count": null, "metadata": { - "collapsed": false, "jupyter": { "outputs_hidden": false }, diff --git a/modelcenter/PP-LCNetV2/info.yaml b/modelcenter/PP-LCNetV2/info.yaml index c0f9db9b..3de03091 100644 --- a/modelcenter/PP-LCNetV2/info.yaml +++ b/modelcenter/PP-LCNetV2/info.yaml @@ -3,7 +3,7 @@ Model_Info: name: "PP-LCNetv2" description: "面向Intel CPU端的轻量级卷积神经网络" description_en: "A Lightweight Convolutional Neural Network for Intel CPU" - icon: "" + icon: "https://paddleocr.bj.bcebos.com/icon/backbone.png" from_repo: "https://github.com/paddlepaddle/paddleclas" Task: - tag_en: "Computer Vision" diff --git a/modelcenter/PP-LCNetV2/introduction_cn.ipynb b/modelcenter/PP-LCNetV2/introduction_cn.ipynb index 945dddb8..5b68b01a 100644 --- a/modelcenter/PP-LCNetV2/introduction_cn.ipynb +++ b/modelcenter/PP-LCNetV2/introduction_cn.ipynb @@ -19,7 +19,7 @@ "PP-LCNetV2 系列模型在 ImageNet1k 数据集上的评测指标如下所示:\n", "\n", "| Model | Params(M) | FLOPs(M) | Top-1 Acc(\\%) | Top-5 Acc(\\%) | Latency(ms) |\n", - "|:--:|:--:|:--:|:--:|:--:|:--:|:--:|:--:|\n", + "|:--:|:--:|:--:|:--:|:--:|:--:|\n", "| PPLCNetV2_base | 6.6 | 604 | 77.04 | 93.27 | 4.32 |\n", "| PPLCNetV2_base_ssld | 6.6 | 604 | 80.07 | 94.87 | 4.32 |\n", "\n", @@ -90,7 +90,6 @@ "cell_type": "code", "execution_count": null, "metadata": { - "collapsed": false, "jupyter": { "outputs_hidden": false }, diff --git a/modelcenter/PP-LCNetV2/introduction_en.ipynb b/modelcenter/PP-LCNetV2/introduction_en.ipynb index de0e42e7..98f99895 100644 --- a/modelcenter/PP-LCNetV2/introduction_en.ipynb +++ b/modelcenter/PP-LCNetV2/introduction_en.ipynb @@ -19,7 +19,7 @@ "The evaluation results of PP-LCNetV2 series models on ImageNet1k dataset are shown as follows:\n", "\n", "| Model | Params(M) | FLOPs(M) | Top-1 Acc(\\%) | Top-5 Acc(\\%) | Latency(ms) |\n", - "|:--:|:--:|:--:|:--:|:--:|:--:|:--:|:--:|\n", + "|:--:|:--:|:--:|:--:|:--:|:--:|\n", "| PPLCNetV2_base | 6.6 | 604 | 77.04 | 93.27 | 4.32 |\n", "| PPLCNetV2_base_ssld | 6.6 | 604 | 80.07 | 94.87 | 4.32 |\n", "\n", @@ -90,7 +90,6 @@ "cell_type": "code", "execution_count": null, "metadata": { - "collapsed": false, "jupyter": { "outputs_hidden": false }, diff --git a/modelcenter/PP-OCRv2/APP/app.py b/modelcenter/PP-OCRv2/APP/app.py index 7de73c1d..5081af96 100644 --- a/modelcenter/PP-OCRv2/APP/app.py +++ b/modelcenter/PP-OCRv2/APP/app.py @@ -41,7 +41,7 @@ with gr.Blocks() as demo: with gr.Column(scale=1, min_width=100): img_in = gr.Image( - value="https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/dygraph/doc/imgs/11.jpg", + value="https://gitee.com/PaddlePaddle/PaddleOCR/raw/dygraph/doc/imgs/11.jpg", label="Input") with gr.Row(): diff --git a/modelcenter/PP-OCRv2/info.yaml b/modelcenter/PP-OCRv2/info.yaml index ec98e663..ec5d411c 100644 --- a/modelcenter/PP-OCRv2/info.yaml +++ b/modelcenter/PP-OCRv2/info.yaml @@ -3,7 +3,7 @@ Model_Info: name: "PP-OCRv2" description: "PP-OCRv2文字检测识别系统" description_en: "PP-OCRv2 text detection and recognition system" - icon: "@后续UE统一设计之后,会存到bos上某个位置" + icon: "https://paddleocr.bj.bcebos.com/icon/ocr.png" from_repo: "PaddleOCR" Task: - tag_en: "Computer Vision" diff --git a/modelcenter/PP-OCRv3/APP/app.py b/modelcenter/PP-OCRv3/APP/app.py index 8bb67eff..ea7f1acc 100644 --- a/modelcenter/PP-OCRv3/APP/app.py +++ b/modelcenter/PP-OCRv3/APP/app.py @@ -40,7 +40,8 @@ with gr.Blocks() as demo: gr.Markdown("PP-OCRv3") with gr.Column(scale=1, min_width=100): - img_in = gr.Image(label="Input") + img_in = gr.Image(value="https://gitee.com/PaddlePaddle/PaddleOCR/raw/dygraph/doc/imgs/11.jpg", + label="Input") with gr.Row(): btn1 = gr.Button("Clear") diff --git a/modelcenter/PP-OCRv3/info.yaml b/modelcenter/PP-OCRv3/info.yaml index 77412036..e177ac9e 100644 --- a/modelcenter/PP-OCRv3/info.yaml +++ b/modelcenter/PP-OCRv3/info.yaml @@ -3,13 +3,21 @@ Model_Info: name: "PP-OCRv3" description: "PP-OCRv3文字检测识别系统" description_en: "PP-OCRv3 text detection and recognition system" - icon: "@后续UE统一设计之后,会存到bos上某个位置" + icon: "https://paddleocr.bj.bcebos.com/icon/ocr.png" from_repo: "PaddleOCR" Task: - tag_en: "Computer Vision" tag: "计算机视觉" sub_tag_en: "Character Recognition" sub_tag: "文字识别" + - tag_en: "Computer Vision" + tag: "计算机视觉" + sub_tag_en: "Optical Character Recognition" + sub_tag: "OCR" + - tag_en: "Computer Vision" + tag: "计算机视觉" + sub_tag_en: "Text Detection" + sub_tag: "文字检测" Example: - title: "鸟枪换炮!基于PP-OCRv3的电表检测识别" diff --git a/modelcenter/PP-ShiTu/info.yaml b/modelcenter/PP-ShiTu/info.yaml index 76cdf6b7..5a757c81 100644 --- a/modelcenter/PP-ShiTu/info.yaml +++ b/modelcenter/PP-ShiTu/info.yaml @@ -3,7 +3,7 @@ Model_Info: name: "PP-ShiTu" description: "PP-ShiTu识别系统" description_en: "PP-ShiTu, a light-weighted recognition system" - icon: "@后续UE统一设计之后,会存到bos上某个位置" + icon: "https://paddleocr.bj.bcebos.com/icon/shitu.png" from_repo: "PaddleClas" Task: - tag_en: "Computer Vision" diff --git a/modelcenter/PP-ShiTuV2/APP/app.py b/modelcenter/PP-ShiTuV2/APP/app.py index a279069b..c088c35a 100644 --- a/modelcenter/PP-ShiTuV2/APP/app.py +++ b/modelcenter/PP-ShiTuV2/APP/app.py @@ -141,7 +141,7 @@ with gr.Blocks() as demo: with gr.Column(scale=1, min_width=100): img_in = gr.Image( - value="https://github.com/PaddlePaddle/PaddleClas/blob/release/2.5/docs/images/recognition/drink_data_demo/test_images/100.jpeg?raw=true", + value="https://gitee.com/PaddlePaddle/PaddleClas/raw/release/2.5/docs/images/recognition/drink_data_demo/test_images/100.jpeg", label="Input") with gr.Row(): diff --git a/modelcenter/PP-ShiTuV2/info.yaml b/modelcenter/PP-ShiTuV2/info.yaml index c2f782b4..0fa007c9 100644 --- a/modelcenter/PP-ShiTuV2/info.yaml +++ b/modelcenter/PP-ShiTuV2/info.yaml @@ -3,7 +3,7 @@ Model_Info: name: "PP-ShiTuV2" description: "PP-ShiTuV2识别系统" description_en: "PP-ShiTuV2, an light-weighted recognition system" - icon: "@后续UE统一设计之后,会存到bos上某个位置" + icon: "https://paddleocr.bj.bcebos.com/icon/shitu.png" from_repo: "PaddleClas" Task: - tag_en: "Computer Vision" diff --git a/modelcenter/PP-StructureV2/info.yaml b/modelcenter/PP-StructureV2/info.yaml index aa091cf1..df7c1e30 100644 --- a/modelcenter/PP-StructureV2/info.yaml +++ b/modelcenter/PP-StructureV2/info.yaml @@ -3,7 +3,7 @@ Model_Info: name: "PP-StructureV2" description: "PP-StructureV2文档分析系统,包含版面分析,表格识别,版面恢复和关键信息抽取" description_en: "PP-StructureV2 document analysis system, including layout analysis, table recognition, layout recovery and key information extraction" - icon: "@后续UE统一设计之后,会存到bos上某个位置" + icon: "https://paddleocr.bj.bcebos.com/icon/structure.png" from_repo: "PaddleOCR" Task: - tag_en: "Computer Vision" -- GitLab