加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
lgarithm 提交于 2018-11-14 00:35 . run hao28 with real data
# https://docs.travis-ci.com/user/languages/python/
language: python
# https://docs.travis-ci.com/user/caching/#pip-cache
cache: pip
# https://docs.travis-ci.com/user/docker/
services:
- docker
python:
- '3.6'
sudo: required
before_install:
- docker info
- sudo apt update
- sudo apt install -y swig # FIXME: can't install libopencv-dev on travis CI
- pip install -r requirements.txt
- pip install pycocotools # must be installed after cython is installed
- ./scripts/install-pafprocess.sh
- ./scripts/download-test-data.sh
script:
- docker build --rm -t openpose-plus-test:snapshot -f docker/Dockerfile.travis-ci .
- docker run --rm -it openpose-plus-test:snapshot sh -c './configure --build-fake --with-trace && make && make test'
- python ./examples/example-inference-1.py --path-to-npz='' --images=$(ls data/media/*.jpg | sort | head -n 3 | tr '\n' ',') --base-model=vgg
- python ./examples/example-inference-1.py --path-to-npz='' --images=$(ls data/media/*.jpg | sort | head -n 3 | tr '\n' ',') --base-model=vggtiny
- python ./examples/example-inference-1.py --path-to-npz='' --images=$(ls data/media/*.jpg | sort | head -n 3 | tr '\n' ',') --base-model=mobilenet
- wget https://media.githubusercontent.com/media/tensorlayer/pretrained-models/master/models/openpose-plus/hao28-pose345000.npz
- python ./examples/example-inference-1.py --path-to-npz='hao28-pose345000.npz' --images=$(ls data/media/*.jpg | sort | head -n 3 | tr '\n' ',') --base-model=hao28_experimental
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化