From cd29d84c875e9fa5b84643ebdf5a9ce1c5dcb9a5 Mon Sep 17 00:00:00 2001 From: wangguanzhong Date: Mon, 28 Nov 2022 22:00:33 +0800 Subject: [PATCH] fix test case (#5684) --- paddlecv/configs/system/PP-Human-Attr.yml | 2 +- paddlecv/configs/system/PP-Human.yml | 2 +- paddlecv/docs/INSTALL.md | 5 +++++ paddlecv/requirements.txt | 4 ++++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/paddlecv/configs/system/PP-Human-Attr.yml b/paddlecv/configs/system/PP-Human-Attr.yml index 022836b6..ca93f3e6 100644 --- a/paddlecv/configs/system/PP-Human-Attr.yml +++ b/paddlecv/configs/system/PP-Human-Attr.yml @@ -6,7 +6,7 @@ ENV: cpu_threads: 1 trt_use_static: False save_img: True - save_res: False + save_res: True return_res: True diff --git a/paddlecv/configs/system/PP-Human.yml b/paddlecv/configs/system/PP-Human.yml index 5192c940..681c6c92 100644 --- a/paddlecv/configs/system/PP-Human.yml +++ b/paddlecv/configs/system/PP-Human.yml @@ -6,7 +6,7 @@ ENV: cpu_threads: 1 trt_use_static: False save_img: True - save_res: False + save_res: True return_res: True diff --git a/paddlecv/docs/INSTALL.md b/paddlecv/docs/INSTALL.md index bd2451ab..b4ffcd89 100644 --- a/paddlecv/docs/INSTALL.md +++ b/paddlecv/docs/INSTALL.md @@ -46,6 +46,11 @@ cd models/paddlecv # 编译安装paddlecv python setup.py install + +# 安装其他依赖 +# linux环境 +apt-get install libsndfile1 +# windows环境参考http://www.mega-nerd.com/libsndfile/#Download ``` 同时支持whl包安装使用,详细步骤参考[文档](whl.md) diff --git a/paddlecv/requirements.txt b/paddlecv/requirements.txt index cbae9020..c52b7418 100644 --- a/paddlecv/requirements.txt +++ b/paddlecv/requirements.txt @@ -6,3 +6,7 @@ Pillow faiss-cpu==1.7.1.post2 paddlenlp paddlespeech +pycocotools +filterpy +shapely +pyclipper -- GitLab