Are you sure you want to delete this access key?
Very important: New Nvidia model GPUs (e.g., Nvidia V, GTX 2080, v100, any Nvidia with Volta or Turing architecture, etc.) require (at least) CUDA 10. CUDA 8 would fail!
In addition, CMake automatically downloads all the OpenPose models. However, some firewall or company networks block these downloads. You might prefer to download them manually:
- [BODY_25 model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/body_25/pose_iter_584000.caffemodel): download in `models/pose/body_25/`.
- [COCO model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/coco/pose_iter_440000.caffemodel): download in `models/pose/coco/`.
- [MPI model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/mpi/pose_iter_160000.caffemodel): download in `models/pose/mpi/`.
- [Face model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/face/pose_iter_116000.caffemodel): download in `models/face/`.
- [Hands model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/hand/pose_iter_102000.caffemodel): download in `models/hand/`.
Finally, if some weird/obscure errors about Caffe and/or Pybind appear, run the following command. It will ensure that all submodules are iniatilised. Reason: OpenPose runs that command through CMake, but some firewalls might block it and we have to run it manually.
git submodule update --init --recursive --remote
sudo apt-get install cmake-qt-gui
. Note: If you prefer to use CMake through the command line, see doc/installation.md#CMake Command Line Configuration (Ubuntu Only).sudo apt-get install cmake-qt-gui
provokes some compiling errors. Required CMake version >= 3.12.
sudo apt purge cmake-qt-gui
.sudo apt-get install qtbase5-dev
.Latest Release
of CMake Unix/Linux Source
from the CMake download website, called cmake-X.X.X.tar.gz
../configure --qt-gui
. Make sure no error occurred../bootstrap && make -j`nproc` && sudo make install -j`nproc`
. Make sure no error occurred.cmake-gui
, you will have to replace that line by {CMAKE_FOLDER_PATH}/bin/cmake-gui
.sudo ./scripts/ubuntu/install_cuda.sh
(if Ubuntu 16 or 14 and for Graphic cards up to 10XX) or alternatively download and install it from their website.usr/local/cuda
to minimize potential future errors.sudo ./scripts/ubuntu/install_cudnn.sh
(if Ubuntu 16 or 14 and for Graphic cards up to 10XX) or alternatively download and install it from their website./usr/local/cuda/
in Ubuntu and C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
in Windows.sudo apt-get install libviennacl-dev
.sudo bash ./scripts/ubuntu/install_deps_and_cuda.sh
(if Ubuntu 16 or 14 and for Graphic cards up to 10XX) or run sudo bash ./scripts/ubuntu/install_deps.sh
after installing your desired CUDA and cuDNN versions.sudo apt-get install libopencv-dev
. You can also use your own compiled OpenCV version.WITH_EIGEN
flag when running CMake, you must have Eigen already installed in your system. Note that Eigen <= 3.3.6 is not supported by CUDA >=9.1. In order to install it, you can perform any of the 3 following options (but only 1 of them!), while making sure that Eigen version is compatible with CUDA:
WITH_EIGEN
flag to BUILD
, CMake will automatically download Eigen. Alternatively, you might prefer to download it manually:
3rdparty/eigen/
.sudo apt-get install libeigen3-dev
if you prefer to set WITH_EIGEN
to FIND
.WITH_EIGEN
to BUILD
, run CMake so that OpenPose downloads the zip file, and then replace the contents of 3rdparty/eigen/
by your own version.brew
, install it by running bash scripts/osx/install_brew.sh
on your terminal.brew cask install cmake
.bash scripts/osx/install_deps.sh
.WITH_EIGEN
flag when running CMake, and set it to BUILD
.3rdparty/eigen/
.NOTE: These instructions are only required when compiling OpenPose brom source. If you simply wanna use the OpenPose binaries for Windows, skip this step.
Latest Release
of CMake Windows win64-x64 Installer
from the CMake download website, called cmake-X.X.X-win64-x64.msi
.CUDA_TOOLKIT_ROOT_DIR not found or specified
or any other CUDA component missing, then: 1) Re-install Visual Studio 2015; 2) Reboot your PC; 3) Re-install CUDA (in this order!).C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
in Windows and /usr/local/cuda/
in Ubuntu.3rdparty/windows/
so that CMake does not try to download them again.3rdparty/windows/caffe/
.3rdparty/windows/caffe_cpu/
.3rdparty/windows/caffe_opencl/
.3rdparty/windows/caffe3rdparty/
.3rdparty/windows/opencv/
.WITH_EIGEN
flag when running CMake, and set it to BUILD
.3rdparty/eigen/
by your own version.Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?