未验证 提交 f8e1a3d6 编写于 作者: W wangguanzhong 提交者: GitHub

update paddlecv doc (#5608)

上级 840a91c3
......@@ -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-HumanSegV2.yml --input=demo/pp_humansegv2_demo.jpg
# OCR任务
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")
```
# 通过-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
```
**注意:**
1. 优先级排序:命令行输入 > 配置文件配置
2. -o 中的`0`表示MODEL的Op位置,防止模型串联过程中出现同类Op的情况
<a name="3"></a>
......
......@@ -40,11 +40,9 @@ python -c "import paddle; print(paddle.__version__)"
```
# 克隆PaddleModelPipeline仓库
cd <path/to/clone/PaddleModelPipeline>
git clone https://github.com/jerrywgz/PaddleModelPipeline.git
# 安装其他依赖
cd PaddleModelPipeline
cd <path/to/clone/models>
git clone https://github.com/PaddlePaddle/models.git
cd models/paddlecv
# 编译安装paddlecv
python setup.py install
......
......@@ -50,7 +50,7 @@ function init() {
rm -rf $DIST_DIR $BUILD_DIR $EGG_DIR $TEST_DIR
if [ `pip list | grep paddlecv | wc -l` -gt 0 ]; then
echo -e "${BLUE}[init]${NONE} uninstalling paddlecv..."
#pip uninstall -y paddlecv
pip uninstall -y paddlecv
fi
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.
先完成此消息的编辑!
想要评论请 注册