Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
models
提交
f8e1a3d6
M
models
项目概览
PaddlePaddle
/
models
接近 2 年 前同步成功
通知
230
Star
6828
Fork
2962
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
602
列表
看板
标记
里程碑
合并请求
255
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
models
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
602
Issue
602
列表
看板
标记
里程碑
合并请求
255
合并请求
255
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
f8e1a3d6
编写于
11月 22, 2022
作者:
W
wangguanzhong
提交者:
GitHub
11月 22, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update paddlecv doc (#5608)
上级
840a91c3
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
11 deletion
+11
-11
paddlecv/docs/GETTING_STARTED.md
paddlecv/docs/GETTING_STARTED.md
+7
-5
paddlecv/docs/INSTALL.md
paddlecv/docs/INSTALL.md
+3
-5
paddlecv/scripts/build_wheel.sh
paddlecv/scripts/build_wheel.sh
+1
-1
未找到文件。
paddlecv/docs/GETTING_STARTED.md
浏览文件 @
f8e1a3d6
...
@@ -4,9 +4,9 @@ PaddleCV是飞桨视觉统一的推理部署套件,提供了单模型、多模
...
@@ -4,9 +4,9 @@ PaddleCV是飞桨视觉统一的推理部署套件,提供了单模型、多模
-
[
安装
](
#1
)
-
[
安装
](
#1
)
-
[
预测部署
](
#2
)
-
[
预测部署
](
#2
)
-
[
部署示例
](
#2.1
)
-
[
部署示例
](
#2.1
)
-
[
参数说明
](
#2.2
)
-
[
参数说明
](
#2.2
)
-
[
配置文件
](
#2.3
)
-
[
配置文件
](
#2.3
)
-
[
二次开发
](
#3
)
-
[
二次开发
](
#3
)
<a
name=
"1"
></a>
<a
name=
"1"
></a>
...
@@ -45,6 +45,9 @@ python -u tools/predict.py --config=configs/single_op/PP-HGNet.yml --input=demo/
...
@@ -45,6 +45,9 @@ python -u tools/predict.py --config=configs/single_op/PP-HGNet.yml --input=demo/
# 目标检测任务
# 目标检测任务
python
-u
tools/predict.py
--config
=
configs/single_op/PP-YOLOE+.yml
--input
=
demo/000000014439.jpg
python
-u
tools/predict.py
--config
=
configs/single_op/PP-YOLOE+.yml
--input
=
demo/000000014439.jpg
# 图像分割任务
python
-u
tools/predict.py
--config
=
configs/single_op/PP-HumanSegV2.yml
--input
=
demo/pp_humansegv2_demo.jpg
# OCR任务
# OCR任务
python
-u
tools/predict.py
--config
=
configs/system/PP-OCRv3.yml
--input
=
demo/word_1.jpg
python
-u
tools/predict.py
--config
=
configs/system/PP-OCRv3.yml
--input
=
demo/word_1.jpg
```
```
...
@@ -79,14 +82,13 @@ res = paddlecv("../demo/00056221.jpg")
...
@@ -79,14 +82,13 @@ res = paddlecv("../demo/00056221.jpg")
```
```
# 通过-o修改检测后处理阈值
# 通过-o修改检测后处理阈值
# -o 中的`0`表示MODEL的Op位置,防止模型串联过程中出现同类Op的情况
python -u tools/predict.py --config=configs/single_op/PP-YOLOE+.yml --input=demo/000000014439.jpg -o MODEL.0.DetectionOp.PostProcess.0.ParserDetResults.threshold=0.6
python -u tools/predict.py --config=configs/single_op/PP-YOLOE+.yml --input=demo/000000014439.jpg -o MODEL.0.DetectionOp.PostProcess.0.ParserDetResults.threshold=0.6
```
```
**注意:**
**注意:**
1.
优先级排序:命令行输入 > 配置文件配置
1.
优先级排序:命令行输入 > 配置文件配置
2.
-o 中的
`0`
表示MODEL的Op位置,防止模型串联过程中出现同类Op的情况
<a
name=
"3"
></a>
<a
name=
"3"
></a>
...
...
paddlecv/docs/INSTALL.md
浏览文件 @
f8e1a3d6
...
@@ -40,11 +40,9 @@ python -c "import paddle; print(paddle.__version__)"
...
@@ -40,11 +40,9 @@ python -c "import paddle; print(paddle.__version__)"
```
```
# 克隆PaddleModelPipeline仓库
# 克隆PaddleModelPipeline仓库
cd <path/to/clone/PaddleModelPipeline>
cd <path/to/clone/models>
git clone https://github.com/jerrywgz/PaddleModelPipeline.git
git clone https://github.com/PaddlePaddle/models.git
cd models/paddlecv
# 安装其他依赖
cd PaddleModelPipeline
# 编译安装paddlecv
# 编译安装paddlecv
python setup.py install
python setup.py install
...
...
paddlecv/scripts/build_wheel.sh
浏览文件 @
f8e1a3d6
...
@@ -50,7 +50,7 @@ function init() {
...
@@ -50,7 +50,7 @@ function init() {
rm
-rf
$DIST_DIR
$BUILD_DIR
$EGG_DIR
$TEST_DIR
rm
-rf
$DIST_DIR
$BUILD_DIR
$EGG_DIR
$TEST_DIR
if
[
`
pip list |
grep
paddlecv |
wc
-l
`
-gt
0
]
;
then
if
[
`
pip list |
grep
paddlecv |
wc
-l
`
-gt
0
]
;
then
echo
-e
"
${
BLUE
}
[init]
${
NONE
}
uninstalling paddlecv..."
echo
-e
"
${
BLUE
}
[init]
${
NONE
}
uninstalling paddlecv..."
#
pip uninstall -y paddlecv
pip uninstall
-y
paddlecv
fi
fi
echo
-e
"
${
BLUE
}
[init]
${
NONE
}
${
GREEN
}
init success
\n
"
echo
-e
"
${
BLUE
}
[init]
${
NONE
}
${
GREEN
}
init success
\n
"
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录