Spaces:
Build error
Build error
HansGan commited on
Commit ·
1b15ee2
1
Parent(s): 9e2870e
- openpose/.github/CI_deprecated/.travis.yml +162 -0
- openpose/.github/CI_deprecated/Readme_Travis_badges_table_and_backup_instructions.md +13 -0
- openpose/.github/CI_deprecated/generate_gh_pages.sh +104 -0
- openpose/.github/Logo_doxygen_black.png +3 -0
- openpose/.github/Logo_main_black.png +3 -0
- openpose/.github/issue_template.md +85 -0
- openpose/.github/media/body_heat_maps.png +3 -0
- openpose/.github/media/dance_foot.gif +3 -0
- openpose/.github/media/installation/cmake_im_1.png +3 -0
- openpose/.github/media/installation/cmake_im_1_windows.png +3 -0
- openpose/.github/media/installation/cmake_im_2.png +3 -0
- openpose/.github/media/installation/cmake_im_2_windows.png +3 -0
- openpose/.github/media/installation/cmake_im_2_windows_new.png +3 -0
- openpose/.github/media/installation/cmake_im_3.png +3 -0
- openpose/.github/media/installation/cmake_im_3_windows.png +3 -0
- openpose/.github/media/installation/cmake_im_5.png +3 -0
- openpose/.github/media/keypoints_face.png +3 -0
- openpose/.github/media/keypoints_hand.odt +0 -0
- openpose/.github/media/keypoints_hand.png +3 -0
- openpose/.github/media/keypoints_pose_18.png +3 -0
- openpose/.github/media/keypoints_pose_25.png +3 -0
- openpose/.github/media/openpose3d.gif +3 -0
- openpose/.github/media/openpose_vs_competition.png +3 -0
- openpose/.github/media/paf_heat_maps.png +3 -0
- openpose/.github/media/pose_face.gif +3 -0
- openpose/.github/media/pose_face_hands.gif +3 -0
- openpose/.github/media/shake.gif +3 -0
- openpose/.github/media/unity_body_foot.png +3 -0
- openpose/.github/media/unity_hand_face.png +3 -0
- openpose/.github/media/unity_main.png +3 -0
- openpose/.github/root_index.html +8 -0
- openpose/.github/stale.yml +17 -0
- openpose/.github/workflows/main.yml +291 -0
openpose/.github/CI_deprecated/.travis.yml
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# # This will run on Travis' 'new' container-based infrastructure
|
| 2 |
+
|
| 3 |
+
# # Blacklist
|
| 4 |
+
# branches:
|
| 5 |
+
# only:
|
| 6 |
+
# - master
|
| 7 |
+
|
| 8 |
+
# # Environment variables + OS + other parameters
|
| 9 |
+
# global:
|
| 10 |
+
# - GH_REPO_NAME: openpose
|
| 11 |
+
# - DOXYFILE: $CI_BUILD_DIR/.doc_autogeneration.doxygen
|
| 12 |
+
# # Set this in Environment Variables on travis-ci.org
|
| 13 |
+
# # - GH_REPO_REF: github.com/<user_name>/openpose.git
|
| 14 |
+
# matrix:
|
| 15 |
+
# # Use a build matrix to test many builds in parallel
|
| 16 |
+
# # envvar defaults:
|
| 17 |
+
# # WITH_CMAKE: true
|
| 18 |
+
# # WITH_PYTHON: false
|
| 19 |
+
# # WITH_CUDA: true
|
| 20 |
+
# # WITH_CUDNN: true
|
| 21 |
+
# # WITH_OPEN_CL: false
|
| 22 |
+
# # WITH_MKL: false
|
| 23 |
+
# include:
|
| 24 |
+
# # Ubuntu 16.04
|
| 25 |
+
# # Ubuntu 16.04 - Default - CMake - CUDA
|
| 26 |
+
# - os: linux
|
| 27 |
+
# dist: xenial
|
| 28 |
+
# env: NAME="U16-default-cmake-cuda8"
|
| 29 |
+
# sudo: required
|
| 30 |
+
# # Ubuntu 16.04 - Python - CMake - CUDA
|
| 31 |
+
# - os: linux
|
| 32 |
+
# dist: xenial
|
| 33 |
+
# env: NAME="U16-python-cmake-cuda8" WITH_PYTHON=true
|
| 34 |
+
# sudo: required
|
| 35 |
+
# # Generate and deploy documentation
|
| 36 |
+
# after_success:
|
| 37 |
+
# - cd $CI_BUILD_DIR
|
| 38 |
+
# - chmod +x scripts/generate_gh_pages.sh
|
| 39 |
+
# - ./scripts/generate_gh_pages.sh
|
| 40 |
+
# # Ubuntu 16.04 - Python - CMake - CPU
|
| 41 |
+
# - os: linux
|
| 42 |
+
# dist: xenial
|
| 43 |
+
# env: NAME="U16-python-cmake-cpu" WITH_PYTHON=true WITH_CUDA=false
|
| 44 |
+
# sudo: required
|
| 45 |
+
# # Ubuntu 16.04 - Python - CMake - OpenCL
|
| 46 |
+
# - os: linux
|
| 47 |
+
# dist: xenial
|
| 48 |
+
# env: NAME="U16-python-cmake-opencl" WITH_PYTHON=true WITH_CUDA=false WITH_OPEN_CL=true
|
| 49 |
+
# sudo: required
|
| 50 |
+
# # Ubuntu 16.04 - Python - CMake - CPU - Debug
|
| 51 |
+
# - os: linux
|
| 52 |
+
# dist: xenial
|
| 53 |
+
# env: NAME="U16-python-cmake-cpu-debug" WITH_PYTHON=true WITH_CUDA=false WITH_DEBUG=true
|
| 54 |
+
# sudo: required
|
| 55 |
+
# # Ubuntu 16.04 - Python - CMake - CPU - Unity
|
| 56 |
+
# - os: linux
|
| 57 |
+
# dist: xenial
|
| 58 |
+
# env: NAME="U16-python-cmake-cpu-unity" WITH_PYTHON=true WITH_UNITY=true WITH_CUDA=false
|
| 59 |
+
# sudo: required
|
| 60 |
+
|
| 61 |
+
# # Mac OSX
|
| 62 |
+
# # Mac OSX - Python - CMake - CPU
|
| 63 |
+
# - os: osx
|
| 64 |
+
# osx_image: xcode9.4 # xcode10.1 does not work with Python # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
|
| 65 |
+
# env: NAME="OSX-python-cmake-cpu" WITH_CUDA=false WITH_PYTHON=true
|
| 66 |
+
# sudo: required
|
| 67 |
+
# # Mac OSX - Python - CMake - OpenCL
|
| 68 |
+
# - os: osx
|
| 69 |
+
# osx_image: xcode10.1 # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
|
| 70 |
+
# env: NAME="OSX-default-cmake-opencl" WITH_CUDA=false WITH_OPEN_CL=true
|
| 71 |
+
# sudo: required
|
| 72 |
+
# # Mac OSX - Python - CMake - CPU - Debug
|
| 73 |
+
# - os: osx
|
| 74 |
+
# osx_image: xcode9.4 # xcode10.1 does not work with Python # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
|
| 75 |
+
# env: NAME="OSX-python-cmake-cpu-debug" WITH_CUDA=false WITH_PYTHON=true WITH_DEBUG=true
|
| 76 |
+
# sudo: required
|
| 77 |
+
# # Mac OSX - Python - CMake - CPU - Unity
|
| 78 |
+
# - os: osx
|
| 79 |
+
# osx_image: xcode9.4 # xcode10.1 does not work with Python # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
|
| 80 |
+
# env: NAME="OSX-python-cmake-cpu-unity" WITH_CUDA=false WITH_PYTHON=true WITH_UNITY=true
|
| 81 |
+
# sudo: required
|
| 82 |
+
# # Mac OSX - Default - CMake - CPU
|
| 83 |
+
# - os: osx
|
| 84 |
+
# osx_image: xcode10.1 # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
|
| 85 |
+
# env: NAME="OSX-default-cmake-cpu" WITH_CUDA=false
|
| 86 |
+
# sudo: required
|
| 87 |
+
|
| 88 |
+
# # # TO-DO: To be implemented
|
| 89 |
+
# # # Windows
|
| 90 |
+
# # # Windows - Default - CMake - CUDA
|
| 91 |
+
# # - os: windows
|
| 92 |
+
# # env: NAME="W10-default-cmake-cuda8"
|
| 93 |
+
|
| 94 |
+
# # Ubuntu (others)
|
| 95 |
+
# # Ubuntu 16.04 - Default - CMake - CPU
|
| 96 |
+
# - os: linux
|
| 97 |
+
# dist: xenial
|
| 98 |
+
# env: NAME="U16-default-cmake-cpu" WITH_CUDA=false
|
| 99 |
+
# sudo: required
|
| 100 |
+
# # Ubuntu 16.04 - Default - Make - CUDA
|
| 101 |
+
# - os: linux
|
| 102 |
+
# dist: xenial
|
| 103 |
+
# env: NAME="U16-default-make-cuda8" WITH_CMAKE=false
|
| 104 |
+
# sudo: required
|
| 105 |
+
# # # TO-DO: To be implemented
|
| 106 |
+
# # # Ubuntu 16.04 - Default - CMake - CPU MKL
|
| 107 |
+
# # - os: linux
|
| 108 |
+
# # dist: xenial
|
| 109 |
+
# # env: NAME="U16-default-cmake-cpu-mkl" WITH_CUDA=false WITH_MKL=true
|
| 110 |
+
# # sudo: required
|
| 111 |
+
# # # Ubuntu 16.04 - Python - CMake - OpenCL
|
| 112 |
+
# # - os: linux
|
| 113 |
+
# # dist: xenial
|
| 114 |
+
# # env: NAME="U16-python-cmake-opencl" WITH_PYTHON=true WITH_CUDA=false WITH_OPEN_CL=true
|
| 115 |
+
# # sudo: required
|
| 116 |
+
# # # Unnecessary/redundant ones
|
| 117 |
+
# # # Ubuntu 16.04 - Default - CMake - CUDA - no cuDNN
|
| 118 |
+
# # - os: linux
|
| 119 |
+
# # dist: xenial
|
| 120 |
+
# # env: NAME="U16-default-cmake-cuda8-nocudnn" WITH_CUDNN=false
|
| 121 |
+
# # sudo: required
|
| 122 |
+
# # Ubuntu 14.04 - Default - CMake - CPU
|
| 123 |
+
# - os: linux
|
| 124 |
+
# dist: trusty
|
| 125 |
+
# env: NAME="U14-default-cmake-cpu" WITH_CUDA=false
|
| 126 |
+
# sudo: required
|
| 127 |
+
# # Ubuntu 14.04 - Default - Make - CUDA
|
| 128 |
+
# - os: linux
|
| 129 |
+
# dist: trusty
|
| 130 |
+
# env: NAME="U14-default-make-cuda8" WITH_CMAKE=false
|
| 131 |
+
# sudo: required
|
| 132 |
+
# # # Unnecessary/redundant ones
|
| 133 |
+
# # # Ubuntu 14.04 - Default - CMake - CUDA
|
| 134 |
+
# # - os: linux
|
| 135 |
+
# # dist: trusty
|
| 136 |
+
# # env: NAME="U14-default-cmake-cuda8"
|
| 137 |
+
# # sudo: required
|
| 138 |
+
|
| 139 |
+
# # Install apt dependencies
|
| 140 |
+
# addons:
|
| 141 |
+
# apt:
|
| 142 |
+
# packages:
|
| 143 |
+
# - doxygen
|
| 144 |
+
# - doxygen-doc
|
| 145 |
+
# - doxygen-latex
|
| 146 |
+
# - doxygen-gui
|
| 147 |
+
# - graphviz
|
| 148 |
+
|
| 149 |
+
# # Install Caffe and OP dependencies
|
| 150 |
+
# install:
|
| 151 |
+
# - if [[ "$CI_OS_NAME" == "linux" ]]; then sudo bash scripts/CI/install_deps_ubuntu.sh ; fi
|
| 152 |
+
# - if [[ "$CI_OS_NAME" == "osx" ]]; then bash scripts/CI/install_deps_osx.sh ; fi
|
| 153 |
+
# - if [[ "$CI_OS_NAME" == "windows" ]]; then exit 99 ; fi
|
| 154 |
+
|
| 155 |
+
# # Running CMake
|
| 156 |
+
# before_script:
|
| 157 |
+
# - bash scripts/CI/configure.sh
|
| 158 |
+
|
| 159 |
+
# # Build your code e.g., by calling make
|
| 160 |
+
# script:
|
| 161 |
+
# - bash scripts/CI/run_make.sh
|
| 162 |
+
# - bash scripts/CI/run_tests.sh
|
openpose/.github/CI_deprecated/Readme_Travis_badges_table_and_backup_instructions.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
In order to recover Travis:
|
| 2 |
+
1. Uncomment all the lines of code in ".travis.yml" and move it back to the main folder (e.g., at the same level than the global README.md and CMakeLists.txt files).
|
| 3 |
+
2. Move `generate_gh_pages.sh` back to `scripts/generate_gh_pages.sh`.
|
| 4 |
+
3. Re-add the table of badges in the README.md:
|
| 5 |
+
|
| 6 |
+
| |`Default Config` |`CUDA (+Python)` |`CPU (+Python)` |`OpenCL (+Python)`| `Debug` | `Unity` |
|
| 7 |
+
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
| 8 |
+
| **`Linux`** | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) |
|
| 9 |
+
| **`MacOS`** | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) | [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose) |
|
| 10 |
+
| **`Windows`** | [](https://ci.appveyor.com/project/gineshidalgo99/openpose/branch/master) | | | | |
|
| 11 |
+
<!--
|
| 12 |
+
Note: Currently using [travis-matrix-badges](https://github.com/bjfish/travis-matrix-badges) vs. traditional [](https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose)
|
| 13 |
+
-->
|
openpose/.github/CI_deprecated/generate_gh_pages.sh
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
################################################################################
|
| 3 |
+
# Title : generate_gh_pages.sh
|
| 4 |
+
# Date created : 2016/02/22
|
| 5 |
+
# Notes :
|
| 6 |
+
__AUTHOR__="openpose"
|
| 7 |
+
# Preconditions:
|
| 8 |
+
# - Packages doxygen doxygen-doc doxygen-latex doxygen-gui graphviz
|
| 9 |
+
# must be installed.
|
| 10 |
+
# - Doxygen configuration file must have the destination directory empty and
|
| 11 |
+
# source code directory with a $(CI_BUILD_DIR) prefix.
|
| 12 |
+
# - An gh-pages branch should already exist. See below for more info on how to
|
| 13 |
+
# create a gh-pages branch.
|
| 14 |
+
#
|
| 15 |
+
# Required global variables:
|
| 16 |
+
# - CI_BUILD_NUMBER : The number of the current build.
|
| 17 |
+
# - CI_COMMIT : The commit that the current build is testing.
|
| 18 |
+
# - DOXYFILE : The Doxygen configuration file.
|
| 19 |
+
# - GH_REPO_NAME : The name of the repository.
|
| 20 |
+
# - GH_REPO_REF : The GitHub reference to the repository.
|
| 21 |
+
# - GH_REPO_TOKEN : Secure token to the github repository.
|
| 22 |
+
#
|
| 23 |
+
# For information on how to encrypt variables for Travis CI please go to
|
| 24 |
+
# https://docs.travis-ci.com/user/environment-variables/#Encrypted-Variables
|
| 25 |
+
# or https://gist.github.com/vidavidorra/7ed6166a46c537d3cbd2
|
| 26 |
+
# For information on how to create a clean gh-pages branch from the master
|
| 27 |
+
# branch, please go to https://gist.github.com/vidavidorra/846a2fc7dd51f4fe56a0
|
| 28 |
+
#
|
| 29 |
+
# This script will generate Doxygen documentation and push the documentation to
|
| 30 |
+
# the gh-pages branch of a repository specified by GH_REPO_REF.
|
| 31 |
+
# Before this script is used there should already be a gh-pages branch in the
|
| 32 |
+
# repository.
|
| 33 |
+
#
|
| 34 |
+
################################################################################
|
| 35 |
+
|
| 36 |
+
################################################################################
|
| 37 |
+
##### Setup this script and get the current gh-pages branch. #####
|
| 38 |
+
echo 'Setting up the script...'
|
| 39 |
+
# Exit with nonzero exit code if anything fails
|
| 40 |
+
set -e
|
| 41 |
+
|
| 42 |
+
# Create a clean working directory for this script.
|
| 43 |
+
mkdir code_docs
|
| 44 |
+
cd code_docs
|
| 45 |
+
|
| 46 |
+
# Get the current gh-pages branch
|
| 47 |
+
git clone -b gh-pages https://git@$GH_REPO_REF
|
| 48 |
+
cd $GH_REPO_NAME
|
| 49 |
+
|
| 50 |
+
##### Configure git.
|
| 51 |
+
# Set the push default to simple i.e. push only the current branch.
|
| 52 |
+
git config --global push.default simple
|
| 53 |
+
# Pretend to be an user called Travis CI.
|
| 54 |
+
git config user.name "Travis CI"
|
| 55 |
+
git config user.email "travis@travis-ci.org"
|
| 56 |
+
|
| 57 |
+
# Remove everything currently in the gh-pages branch.
|
| 58 |
+
# GitHub is smart enough to know which files have changed and which files have
|
| 59 |
+
# stayed the same and will only update the changed files. So the gh-pages branch
|
| 60 |
+
# can be safely cleaned, and it is sure that everything pushed later is the new
|
| 61 |
+
# documentation.
|
| 62 |
+
rm -rf *
|
| 63 |
+
|
| 64 |
+
# Need to create a .nojekyll file to allow filenames starting with an underscore
|
| 65 |
+
# to be seen on the gh-pages site. Therefore creating an empty .nojekyll file.
|
| 66 |
+
# Presumably this is only needed when the SHORT_NAMES option in Doxygen is set
|
| 67 |
+
# to NO, which it is by default. So creating the file just in case.
|
| 68 |
+
echo "" > .nojekyll
|
| 69 |
+
|
| 70 |
+
################################################################################
|
| 71 |
+
##### Generate the Doxygen code documentation and log the output. #####
|
| 72 |
+
echo 'Generating Doxygen code documentation...'
|
| 73 |
+
# Redirect both stderr and stdout to the log file AND the console.
|
| 74 |
+
echo "OUTPUT_DIRECTORY = " >> $DOXYFILE
|
| 75 |
+
doxygen $DOXYFILE 2>&1 | tee doxygen.log
|
| 76 |
+
|
| 77 |
+
################################################################################
|
| 78 |
+
##### Upload the documentation to the gh-pages branch of the repository. #####
|
| 79 |
+
# Only upload if Doxygen successfully created the documentation.
|
| 80 |
+
# Check this by verifying that the html directory and the file html/index.html
|
| 81 |
+
# both exist. This is a good indication that Doxygen did it's work.
|
| 82 |
+
if [ -d "html" ] && [ -f "html/index.html" ]; then
|
| 83 |
+
|
| 84 |
+
echo 'Uploading documentation to the gh-pages branch...'
|
| 85 |
+
# Add everything in this directory (the Doxygen code documentation) to the
|
| 86 |
+
# gh-pages branch.
|
| 87 |
+
# GitHub is smart enough to know which files have changed and which files have
|
| 88 |
+
# stayed the same and will only update the changed files.
|
| 89 |
+
git add --all
|
| 90 |
+
|
| 91 |
+
# Commit the added files with a title and description containing the Travis CI
|
| 92 |
+
# build number and the GitHub commit reference that issued this build.
|
| 93 |
+
git commit -m "Deploy code docs to GitHub Pages Travis build: ${CI_BUILD_NUMBER}" -m "Commit: ${CI_COMMIT}"
|
| 94 |
+
|
| 95 |
+
# Force push to the remote gh-pages branch.
|
| 96 |
+
# The output is redirected to /dev/null to hide any sensitive credential data
|
| 97 |
+
# that might otherwise be exposed.
|
| 98 |
+
git push --force "https://${GH_REPO_TOKEN}@${GH_REPO_REF}" > /dev/null 2>&1
|
| 99 |
+
else
|
| 100 |
+
echo '' >&2
|
| 101 |
+
echo 'Warning: No documentation (html) files have been found!' >&2
|
| 102 |
+
echo 'Warning: Not going to push the documentation to GitHub!' >&2
|
| 103 |
+
exit 1
|
| 104 |
+
fi
|
openpose/.github/Logo_doxygen_black.png
ADDED
|
Git LFS Details
|
openpose/.github/Logo_main_black.png
ADDED
|
Git LFS Details
|
openpose/.github/issue_template.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Posting rules
|
| 2 |
+
1. **No duplicated posts, only 1 new post opened a day, and up to 2 opened a week**. Otherwise, extrict user bans will occur.
|
| 3 |
+
- Check the [FAQ](https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/05_faq.md) section, other GitHub issues, and general documentation before posting. E.g., **low-speed, out-of-memory, output format, 0-people detected, installation issues, ...**).
|
| 4 |
+
- Keep posting all your issues in the same post.
|
| 5 |
+
- No bans if you are unsure whether the post is duplicated!
|
| 6 |
+
2. **Fill all** the **Your System Configuration section** if you are facing an error or unexpected behavior. Some posts (e.g., feature requests) might not require it.
|
| 7 |
+
3. **No questions about training or 3rd party libraries**:
|
| 8 |
+
- OpenPose only implements testing. For training, check [OpenPose train](https://github.com/CMU-Perceptual-Computing-Lab/openpose_train).
|
| 9 |
+
- Caffe errors/issues: Check [Caffe](http://caffe.berkeleyvision.org) documentation.
|
| 10 |
+
- CUDA/cuDNN check failed errors: They are usually fixed by re-installing CUDA, then re-installing the proper cuDNN version, then rebooting, and then re-installing OpenPose. Otherwise, check Nvidia/CUDA/cuDNN forums.
|
| 11 |
+
- OpenCV errors: Install the default/pre-compiled OpenCV or check for OpenCV online help.
|
| 12 |
+
4. Set a **proper issue title**: Add the OS (Ubuntu, Windows) and be specific (e.g., do not call it: `Error`).
|
| 13 |
+
5. Only English comments.
|
| 14 |
+
6. Remove these posting rules from your post but follow them!
|
| 15 |
+
Posts which do not follow these rules will be **ignored/deleted** and those **users banned** with no further clarification.
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
### Issue Summary
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
### Executed Command (if any)
|
| 24 |
+
Note: add `--logging_level 0 --disable_multi_thread` to get higher debug information.
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
### OpenPose Output (if any)
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
### Errors (if any)
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
### Type of Issue
|
| 37 |
+
Select the topic(s) on your post, delete the rest:
|
| 38 |
+
- Compilation/installation error
|
| 39 |
+
- Execution error
|
| 40 |
+
- Help wanted
|
| 41 |
+
- Question
|
| 42 |
+
- Enhancement / offering possible extensions / pull request / etc
|
| 43 |
+
- Other (type your own type)
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
### Your System Configuration
|
| 48 |
+
1. **Whole console output** (if errors appeared), paste the error to [PasteBin](https://pastebin.com/) and then paste the link here: LINK
|
| 49 |
+
|
| 50 |
+
2. **OpenPose version**: Latest GitHub code? Or specific commit (e.g., d52878f)? Or specific version from `Release` section (e.g., 1.2.0)?
|
| 51 |
+
|
| 52 |
+
3. **General configuration**:
|
| 53 |
+
- **Installation mode**: CMake, sh script, manual Makefile installation, ... (Ubuntu); CMake, ... (Windows); ...?
|
| 54 |
+
- **Operating system** (`lsb_release -a` in Ubuntu):
|
| 55 |
+
- **Operating system version** (e.g., Ubuntu 16, Windows 10, ...):
|
| 56 |
+
- **Release or Debug mode**? (by default: release):
|
| 57 |
+
- Compiler (`gcc --version` in Ubuntu or VS version in Windows): 5.4.0, ... (Ubuntu); VS2015 Enterprise Update 3, VS2017 community, ... (Windows); ...?
|
| 58 |
+
|
| 59 |
+
4. **Non-default settings**:
|
| 60 |
+
- **3-D Reconstruction module added**? (by default: no):
|
| 61 |
+
- Any other custom CMake configuration with respect to the default version? (by default: no):
|
| 62 |
+
|
| 63 |
+
5. **3rd-party software**:
|
| 64 |
+
- **Caffe version**: Default from OpenPose, custom version, ...?
|
| 65 |
+
- **CMake version** (`cmake --version` in Ubuntu):
|
| 66 |
+
- **OpenCV version**: pre-compiled `apt-get install libopencv-dev` (only Ubuntu); OpenPose default (only Windows); compiled from source? If so, 2.4.9, 2.4.12, 3.1, 3.2?; ...?
|
| 67 |
+
|
| 68 |
+
6. If **GPU mode** issue:
|
| 69 |
+
- **CUDA version** (`cat /usr/local/cuda/version.txt` in most cases):
|
| 70 |
+
- **cuDNN version**:
|
| 71 |
+
- **GPU model** (`nvidia-smi` in Ubuntu):
|
| 72 |
+
|
| 73 |
+
7. If **CPU-only mode** issue:
|
| 74 |
+
- **CPU brand & model**:
|
| 75 |
+
- Total **RAM memory** available:
|
| 76 |
+
|
| 77 |
+
8. If **Python** API:
|
| 78 |
+
- **Python version**: 2.7, 3.7, ...?
|
| 79 |
+
- **Numpy version** (`python -c "import numpy; print numpy.version.version"` in Ubuntu):
|
| 80 |
+
|
| 81 |
+
9. If **Windows** system:
|
| 82 |
+
- Portable demo or compiled library?
|
| 83 |
+
|
| 84 |
+
10. If **speed performance** issue:
|
| 85 |
+
- Report OpenPose timing speed based on the [profiling documentation](https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/06_maximizing_openpose_speed.md#profiling-speed).
|
openpose/.github/media/body_heat_maps.png
ADDED
|
Git LFS Details
|
openpose/.github/media/dance_foot.gif
ADDED
|
Git LFS Details
|
openpose/.github/media/installation/cmake_im_1.png
ADDED
|
Git LFS Details
|
openpose/.github/media/installation/cmake_im_1_windows.png
ADDED
|
Git LFS Details
|
openpose/.github/media/installation/cmake_im_2.png
ADDED
|
Git LFS Details
|
openpose/.github/media/installation/cmake_im_2_windows.png
ADDED
|
Git LFS Details
|
openpose/.github/media/installation/cmake_im_2_windows_new.png
ADDED
|
Git LFS Details
|
openpose/.github/media/installation/cmake_im_3.png
ADDED
|
Git LFS Details
|
openpose/.github/media/installation/cmake_im_3_windows.png
ADDED
|
Git LFS Details
|
openpose/.github/media/installation/cmake_im_5.png
ADDED
|
Git LFS Details
|
openpose/.github/media/keypoints_face.png
ADDED
|
Git LFS Details
|
openpose/.github/media/keypoints_hand.odt
ADDED
|
Binary file (137 kB). View file
|
|
|
openpose/.github/media/keypoints_hand.png
ADDED
|
Git LFS Details
|
openpose/.github/media/keypoints_pose_18.png
ADDED
|
Git LFS Details
|
openpose/.github/media/keypoints_pose_25.png
ADDED
|
Git LFS Details
|
openpose/.github/media/openpose3d.gif
ADDED
|
Git LFS Details
|
openpose/.github/media/openpose_vs_competition.png
ADDED
|
Git LFS Details
|
openpose/.github/media/paf_heat_maps.png
ADDED
|
Git LFS Details
|
openpose/.github/media/pose_face.gif
ADDED
|
Git LFS Details
|
openpose/.github/media/pose_face_hands.gif
ADDED
|
Git LFS Details
|
openpose/.github/media/shake.gif
ADDED
|
Git LFS Details
|
openpose/.github/media/unity_body_foot.png
ADDED
|
Git LFS Details
|
openpose/.github/media/unity_hand_face.png
ADDED
|
Git LFS Details
|
openpose/.github/media/unity_main.png
ADDED
|
Git LFS Details
|
openpose/.github/root_index.html
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<meta http-equiv = "refresh" content = "0; url = web/html/doc/index.html" />
|
| 5 |
+
</head>
|
| 6 |
+
<body>
|
| 7 |
+
</body>
|
| 8 |
+
</html>
|
openpose/.github/stale.yml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Number of days of inactivity before an issue becomes stale
|
| 2 |
+
daysUntilStale: 60
|
| 3 |
+
# Number of days of inactivity before a stale issue is closed
|
| 4 |
+
daysUntilClose: 7
|
| 5 |
+
# Issues with these labels will never be considered stale
|
| 6 |
+
exemptLabels:
|
| 7 |
+
- bug/typo
|
| 8 |
+
- enhancement
|
| 9 |
+
# Label to use when marking an issue as stale
|
| 10 |
+
staleLabel: stale/old
|
| 11 |
+
# Comment to post when marking an issue as stale. Set to `false` to disable
|
| 12 |
+
markComment: >
|
| 13 |
+
This issue has been automatically marked as stale because it has not had
|
| 14 |
+
recent activity. It will be closed if no further activity occurs. Thank you
|
| 15 |
+
for your contributions.
|
| 16 |
+
# Comment to post when closing a stale issue. Set to `false` to disable
|
| 17 |
+
closeComment: false
|
openpose/.github/workflows/main.yml
ADDED
|
@@ -0,0 +1,291 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: CI
|
| 2 |
+
|
| 3 |
+
on: [push, pull_request]
|
| 4 |
+
|
| 5 |
+
env:
|
| 6 |
+
GH_REPO_NAME: ${{ github.event.repository.name }}
|
| 7 |
+
DOXYFILE: ${{ github.workspace }}/.doc_autogeneration.doxygen
|
| 8 |
+
GH_REPO_REF: ${{ github.repositoryUrl }}
|
| 9 |
+
PYTHON3_VERSION: python3.8
|
| 10 |
+
|
| 11 |
+
jobs:
|
| 12 |
+
build:
|
| 13 |
+
name: ${{ matrix.env.NAME }}
|
| 14 |
+
runs-on: ${{ matrix.os }}
|
| 15 |
+
env: ${{ matrix.env }}
|
| 16 |
+
strategy:
|
| 17 |
+
fail-fast: false
|
| 18 |
+
matrix:
|
| 19 |
+
include:
|
| 20 |
+
# Ubuntu
|
| 21 |
+
# Ubuntu 20.04 - Default - CMake - CUDA
|
| 22 |
+
- os: ubuntu-20.04
|
| 23 |
+
os_name: linux
|
| 24 |
+
env:
|
| 25 |
+
NAME: U20-default-cmake-cuda
|
| 26 |
+
WITH_CUDNN: false
|
| 27 |
+
CI_OS_NAME: linux
|
| 28 |
+
# Ubuntu 18.04 - Default - CMake - CUDA
|
| 29 |
+
- os: ubuntu-18.04
|
| 30 |
+
os_name: linux
|
| 31 |
+
env:
|
| 32 |
+
NAME: U18-default-cmake-cuda
|
| 33 |
+
WITH_CUDNN: false
|
| 34 |
+
CI_OS_NAME: linux
|
| 35 |
+
# Ubuntu 20.04 - Python - CMake - CUDA
|
| 36 |
+
- os: ubuntu-20.04
|
| 37 |
+
os_name: linux
|
| 38 |
+
env:
|
| 39 |
+
NAME: U20-python-cmake-cuda
|
| 40 |
+
WITH_CUDNN: false
|
| 41 |
+
WITH_PYTHON: true
|
| 42 |
+
CI_OS_NAME: linux
|
| 43 |
+
CI_BUILD_NUMBER: ${{ github.run_number }}
|
| 44 |
+
CI_COMMIT: ${{ github.sha }}
|
| 45 |
+
DOCS: true
|
| 46 |
+
# Ubuntu 18.04 - Python - CMake - CUDA
|
| 47 |
+
- os: ubuntu-18.04
|
| 48 |
+
os_name: linux
|
| 49 |
+
env:
|
| 50 |
+
NAME: U18-python-cmake-cuda
|
| 51 |
+
WITH_CUDNN: false
|
| 52 |
+
WITH_PYTHON: true
|
| 53 |
+
CI_OS_NAME: linux
|
| 54 |
+
# Ubuntu 20.04 - Python - CMake - CPU
|
| 55 |
+
- os: ubuntu-20.04
|
| 56 |
+
os_name: linux
|
| 57 |
+
env:
|
| 58 |
+
NAME: U20-python-cmake-cpu
|
| 59 |
+
WITH_PYTHON: true
|
| 60 |
+
WITH_CUDA: false
|
| 61 |
+
WITH_CUDNN: false
|
| 62 |
+
CI_OS_NAME: linux
|
| 63 |
+
# Ubuntu 18.04 - Python - CMake - CPU
|
| 64 |
+
- os: ubuntu-18.04
|
| 65 |
+
os_name: linux
|
| 66 |
+
env:
|
| 67 |
+
NAME: U18-python-cmake-cpu
|
| 68 |
+
WITH_PYTHON: true
|
| 69 |
+
WITH_CUDA: false
|
| 70 |
+
WITH_CUDNN: false
|
| 71 |
+
CI_OS_NAME: linux
|
| 72 |
+
# TO-DO (not passing)
|
| 73 |
+
# # Ubuntu 20.04 - Python - CMake - OpenCL
|
| 74 |
+
# - os: ubuntu-20.04
|
| 75 |
+
# os_name: linux
|
| 76 |
+
# env:
|
| 77 |
+
# NAME: U20-python-cmake-opencl
|
| 78 |
+
# WITH_PYTHON: true
|
| 79 |
+
# WITH_CUDA: false
|
| 80 |
+
# WITH_CUDNN: false
|
| 81 |
+
# WITH_OPEN_CL: true
|
| 82 |
+
# CI_OS_NAME: linux
|
| 83 |
+
# Ubuntu 18.04 - Python - CMake - OpenCL
|
| 84 |
+
- os: ubuntu-18.04
|
| 85 |
+
os_name: linux
|
| 86 |
+
env:
|
| 87 |
+
NAME: U18-python-cmake-opencl
|
| 88 |
+
WITH_PYTHON: true
|
| 89 |
+
WITH_CUDA: false
|
| 90 |
+
WITH_CUDNN: false
|
| 91 |
+
WITH_OPEN_CL: true
|
| 92 |
+
CI_OS_NAME: linux
|
| 93 |
+
# Ubuntu 20.04 - Python - CMake - CPU - Debug
|
| 94 |
+
- os: ubuntu-20.04
|
| 95 |
+
os_name: linux
|
| 96 |
+
env:
|
| 97 |
+
NAME: U20-python-cmake-cpu-debug
|
| 98 |
+
WITH_PYTHON: true
|
| 99 |
+
WITH_CUDA: false
|
| 100 |
+
WITH_CUDNN: false
|
| 101 |
+
WITH_DEBUG: true
|
| 102 |
+
CI_OS_NAME: linux
|
| 103 |
+
# Ubuntu 18.04 - Python - CMake - CPU - Debug
|
| 104 |
+
- os: ubuntu-18.04
|
| 105 |
+
os_name: linux
|
| 106 |
+
env:
|
| 107 |
+
NAME: U18-python-cmake-cpu-debug
|
| 108 |
+
WITH_PYTHON: true
|
| 109 |
+
WITH_CUDA: false
|
| 110 |
+
WITH_CUDNN: false
|
| 111 |
+
WITH_DEBUG: true
|
| 112 |
+
CI_OS_NAME: linux
|
| 113 |
+
# Ubuntu 20.04 - Python - CMake - CPU - Unity
|
| 114 |
+
- os: ubuntu-20.04
|
| 115 |
+
os_name: linux
|
| 116 |
+
env:
|
| 117 |
+
NAME: U20-python-cmake-cpu-unity
|
| 118 |
+
WITH_PYTHON: true
|
| 119 |
+
WITH_UNITY: true
|
| 120 |
+
WITH_CUDA: false
|
| 121 |
+
WITH_CUDNN: false
|
| 122 |
+
CI_OS_NAME: linux
|
| 123 |
+
# Ubuntu 20.04 - Default - CMake - CPU
|
| 124 |
+
- os: ubuntu-20.04
|
| 125 |
+
os_name: linux
|
| 126 |
+
env:
|
| 127 |
+
NAME: U20-default-cmake-cpu
|
| 128 |
+
WITH_CUDA: false
|
| 129 |
+
WITH_CUDNN: false
|
| 130 |
+
CI_OS_NAME: linux
|
| 131 |
+
|
| 132 |
+
# Mac OSX
|
| 133 |
+
# Mac OSX - Python - CMake - CPU
|
| 134 |
+
- os: macos-10.15
|
| 135 |
+
os_name: osx
|
| 136 |
+
env:
|
| 137 |
+
NAME: OSX-python-cmake-cpu
|
| 138 |
+
WITH_CUDA: false
|
| 139 |
+
WITH_CUDNN: false
|
| 140 |
+
WITH_PYTHON: true
|
| 141 |
+
CI_OS_NAME: osx
|
| 142 |
+
# Mac OSX - Python - CMake - OpenCL
|
| 143 |
+
- os: macos-10.15
|
| 144 |
+
os_name: osx
|
| 145 |
+
env:
|
| 146 |
+
NAME: OSX-default-cmake-opencl
|
| 147 |
+
WITH_CUDA: false
|
| 148 |
+
WITH_CUDNN: false
|
| 149 |
+
WITH_OPEN_CL: true
|
| 150 |
+
CI_OS_NAME: osx
|
| 151 |
+
# Mac OSX - Python - CMake - CPU - Debug
|
| 152 |
+
- os: macos-10.15
|
| 153 |
+
os_name: osx
|
| 154 |
+
env:
|
| 155 |
+
NAME: OSX-python-cmake-cpu-debug
|
| 156 |
+
WITH_CUDA: false
|
| 157 |
+
WITH_CUDNN: false
|
| 158 |
+
WITH_PYTHON: true
|
| 159 |
+
WITH_DEBUG: true
|
| 160 |
+
CI_OS_NAME: osx
|
| 161 |
+
# Mac OSX - Python - CMake - CPU - Unity
|
| 162 |
+
- os: macos-10.15
|
| 163 |
+
os_name: osx
|
| 164 |
+
env:
|
| 165 |
+
NAME: OSX-python-cmake-cpu-unity
|
| 166 |
+
WITH_CUDA: false
|
| 167 |
+
WITH_CUDNN: false
|
| 168 |
+
WITH_PYTHON: true
|
| 169 |
+
WITH_UNITY: true
|
| 170 |
+
CI_OS_NAME: osx
|
| 171 |
+
# Mac OSX - Default - CMake - CPU
|
| 172 |
+
- os: macos-10.15
|
| 173 |
+
os_name: osx
|
| 174 |
+
env:
|
| 175 |
+
NAME: OSX-default-cmake-cpu
|
| 176 |
+
WITH_CUDA: false
|
| 177 |
+
WITH_CUDNN: false
|
| 178 |
+
CI_OS_NAME: osx
|
| 179 |
+
|
| 180 |
+
# TO-DO (not passing)
|
| 181 |
+
# Note: CUDA jobs fail in U16 because of an issue with GCC 5.5 (https://github.com/NVIDIA/apex/issues/529). GH Actions doesn't support
|
| 182 |
+
# GCC 5.4 and CUDA does not support newer than GCC 5.X. Thus, cuDNN (sh file only for Ubuntu 16) is no longer tested.
|
| 183 |
+
# # Ubuntu 16.04
|
| 184 |
+
# # Ubuntu 16.04 - Default - CMake - CUDA
|
| 185 |
+
# - os: ubuntu-16.04
|
| 186 |
+
# os_name: linux
|
| 187 |
+
# env:
|
| 188 |
+
# NAME: U16-default-cmake-cuda8
|
| 189 |
+
# CI_OS_NAME: linux
|
| 190 |
+
|
| 191 |
+
# # Deprecated (not working for the above issue between CUDA and the Ubuntu16 from GitHub Actions)
|
| 192 |
+
# # Ubuntu 16.04 - Default - Make - CUDA
|
| 193 |
+
# - os: ubuntu-16.04
|
| 194 |
+
# os_name: linux
|
| 195 |
+
# env:
|
| 196 |
+
# NAME: U16-default-make-cuda
|
| 197 |
+
# WITH_CUDNN: false
|
| 198 |
+
# WITH_CMAKE: false
|
| 199 |
+
# CI_OS_NAME: linux
|
| 200 |
+
|
| 201 |
+
# Ubuntu 16 no longer works
|
| 202 |
+
# # Ubuntu 16.04 - Python - CMake - CPU
|
| 203 |
+
# - os: ubuntu-16.04
|
| 204 |
+
# os_name: linux
|
| 205 |
+
# env:
|
| 206 |
+
# NAME: U16-python-cmake-cpu
|
| 207 |
+
# WITH_PYTHON: true
|
| 208 |
+
# WITH_CUDA: false
|
| 209 |
+
# WITH_CUDNN: false
|
| 210 |
+
# CI_OS_NAME: linux
|
| 211 |
+
# # Ubuntu 16.04 - Python - CMake - OpenCL
|
| 212 |
+
# - os: ubuntu-16.04
|
| 213 |
+
# os_name: linux
|
| 214 |
+
# env:
|
| 215 |
+
# NAME: U16-python-cmake-opencl
|
| 216 |
+
# WITH_PYTHON: true
|
| 217 |
+
# WITH_CUDA: false
|
| 218 |
+
# WITH_CUDNN: false
|
| 219 |
+
# WITH_OPEN_CL: true
|
| 220 |
+
# CI_OS_NAME: linux
|
| 221 |
+
# # Ubuntu 16.04 - Python - CMake - CPU - Debug
|
| 222 |
+
# - os: ubuntu-16.04
|
| 223 |
+
# os_name: linux
|
| 224 |
+
# env:
|
| 225 |
+
# NAME: U16-python-cmake-cpu-debug
|
| 226 |
+
# WITH_PYTHON: true
|
| 227 |
+
# WITH_CUDA: false
|
| 228 |
+
# WITH_CUDNN: false
|
| 229 |
+
# WITH_DEBUG: true
|
| 230 |
+
# CI_OS_NAME: linux
|
| 231 |
+
|
| 232 |
+
steps:
|
| 233 |
+
- uses: actions/checkout@v2
|
| 234 |
+
with:
|
| 235 |
+
fetch-depth: 0
|
| 236 |
+
submodules: recursive
|
| 237 |
+
- uses: actions/setup-python@v5
|
| 238 |
+
with:
|
| 239 |
+
python-version: 3.8
|
| 240 |
+
if: ${{ matrix.env.WITH_PYTHON }}
|
| 241 |
+
- name: Install (Linux)
|
| 242 |
+
run: scripts/CI/install_deps_ubuntu.sh
|
| 243 |
+
if: ${{ matrix.os_name == 'linux' }}
|
| 244 |
+
- name: Install (Mac OS)
|
| 245 |
+
run: scripts/CI/install_deps_osx.sh
|
| 246 |
+
if: ${{ matrix.os_name == 'osx' }}
|
| 247 |
+
|
| 248 |
+
- name: Configure
|
| 249 |
+
run: scripts/CI/configure.sh
|
| 250 |
+
- name: Make
|
| 251 |
+
run: scripts/CI/run_make.sh
|
| 252 |
+
- name: Tests
|
| 253 |
+
run: scripts/CI/run_tests.sh
|
| 254 |
+
|
| 255 |
+
- name: Docs APT packages
|
| 256 |
+
run: |
|
| 257 |
+
# The Doxygen apt-get version for Ubuntu 20 is 1.8.17, which has some bugs fixed in 1.9.1
|
| 258 |
+
# run: sudo apt-get -yq install doxygen doxygen-doc doxygen-latex doxygen-gui graphviz
|
| 259 |
+
git clone https://github.com/doxygen/doxygen.git && cd doxygen && git checkout Release_1_9_1
|
| 260 |
+
mkdir build && cd build
|
| 261 |
+
cmake -G "Unix Makefiles" ..
|
| 262 |
+
make -j`nproc`
|
| 263 |
+
sudo make install
|
| 264 |
+
if: ${{ matrix.DOCS }}
|
| 265 |
+
- name: Generate docs
|
| 266 |
+
run: |
|
| 267 |
+
cd ${{ github.workspace }}
|
| 268 |
+
echo 'Generating Doxygen code documentation...'
|
| 269 |
+
doxygen $DOXYFILE 2>&1 | tee doxygen.log
|
| 270 |
+
# Required so Doxygen links/finds the license file
|
| 271 |
+
cp LICENSE doxygen/html/LICENSE
|
| 272 |
+
# Required in order to link .github/media/ images with doc without modifying doc links. Remove if using `publish_dir: doxygen/html/`
|
| 273 |
+
mkdir -p doxygen_final/web/html/ && mv doxygen/html doxygen_final/web/html/doc
|
| 274 |
+
mkdir -p doxygen_final/web/.github/media/ && cp -rf .github/media/ doxygen_final/web/.github/
|
| 275 |
+
mkdir -p doxygen_final/web/html/.github/media/ && cp -rf .github/media/ doxygen_final/web/html/.github/
|
| 276 |
+
mkdir -p doxygen_final/web/html/doc/.github/media/ && cp -rf .github/media/ doxygen_final/web/html/doc/.github/
|
| 277 |
+
echo 'Copying log...'
|
| 278 |
+
cp doxygen.log doxygen_final/doxygen.log
|
| 279 |
+
echo 'Copying index.html to root pointing to actual docs'
|
| 280 |
+
cp .github/root_index.html doxygen_final/index.html
|
| 281 |
+
if: ${{ matrix.DOCS }}
|
| 282 |
+
- name: Deploy Docs
|
| 283 |
+
uses: peaceiris/actions-gh-pages@v3
|
| 284 |
+
with:
|
| 285 |
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
| 286 |
+
publish_dir: doxygen_final/
|
| 287 |
+
# publish_dir: doxygen/html/ # Original one, it would turn [...].github.io/openpose/web/html/doc/ into [...].github.io/openpose/, but images would not work
|
| 288 |
+
destination_dir: .
|
| 289 |
+
enable_jekyll: false
|
| 290 |
+
force_orphan: true
|
| 291 |
+
if: ${{ matrix.DOCS && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|