CMAKE appears to fail because the downloaded file does not match the one expected.
Note: add --logging_level 0 --disable_multi_thread to get higher debug information.
cmake ..
```-- Downloading BODY_25 model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatch
for file: [/openpose/models/pose/body_25/pose_iter_584000.caffemodel]
expected hash: [78287b57cf85fa89c03f1393d368e5b7]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
status: [56;"Failure when receiving data from the peer"]
Call Stack (most recent call first):
CMakeLists.txt:969 (download_model)
-- Not downloading body (COCO) model
-- Not downloading body (MPI) model
-- Downloading face model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatch
for file: [/openpose/models/face/pose_iter_116000.caffemodel]
expected hash: [e747180d728fa4e4418c465828384333]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
status: [56;"Failure when receiving data from the peer"]
Call Stack (most recent call first):
CMakeLists.txt:975 (download_model)
-- Downloading hand model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatch
for file: [/openpose/models/hand/pose_iter_102000.caffemodel]
expected hash: [a82cfc3fea7c62f159e11bd3674c1531]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
status: [56;"Failure when receiving data from the peer"]
Call Stack (most recent call first):
CMakeLists.txt:977 (download_model)
-- Models Downloaded.
```
Interestingly, if I run cmake again, it does not check, it just says file "-- Model already exists."
Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here: https://pastebin.com/WLkKhsKh
OpenPose version: Latest GitHub code.
General configuration:
lsb_release -a in Ubuntu): Ubuntu 16.04 LTSgcc --version in Ubuntu or VS version in Windows): gcc 5.4.0Non-default settings:
3rd-party software:
cmake --version in Ubuntu): 3.5.1apt-get install libopencv-dev (only Ubuntu); If GPU mode issue:
cat /usr/local/cuda/version.txt in most cases): 10.0.130nvidia-smi in Ubuntu): various, in this case 4x GTX 1080 TiI have attached the CMakeError.log, but it only mentions something about pthread.
All the best,
Peter
You are facing an Internet issue. The error you displayed especifically says: "Failure when receiving data from the peer". That means it could not download it. Please, try again in a few minutes or manually download them following the doc. Thanks.
Ah, thanks. You are right, the file is 0 bytes. But it went to on to build after that and even executes and says it finished successfully, but the output json's do not contain coordinates.
Yes, that's a Caffe issue, if the model is not the right size (even if it's half the supposed size, e.g., if the download interrupts), then it just outputs 0, without crashing not complaining, that's why OpenPose then predicts 0 people all the time with any image.
With the right models, it will work
Hi Guys,
Want to reopen this because I'm getting the exact same error and was not getting this about a month ago when I was installing the latest master then. Currently the v1.6 release just got done so im basically updating my project on a Nvidia TX2 which was working fine with the previous master, but now i get the exact error during the models download.
I am on the internet, so this must be a mistmatch error of sorts with hashcodes? Not exactly sure but have never seen this error before. Please assist.
I'm not sure this is an internet issue since I'm on the hard wired network and my internet is fine? Its still doing the same exact thing?
-- Caffe will be downloaded from source now. NOTE: This process might take several minutes depending
on your internet connection.
Submodule '3rdparty/caffe' (https://github.com/CMU-Perceptual-Computing-Lab/caffe.git) registered for path '../3rdparty/caffe'
Cloning into '/home/nvidia/datacapture/openpose/3rdparty/caffe'...
Submodule path '../3rdparty/caffe': checked out 'b5ede488952e40861e84e51a9f9fd8fe2395cc8a'
Previous HEAD position was b5ede488 Added TX2 JetPack3.3 support
HEAD is now at c95002fb Added support for newer GPUs
-- Caffe will be built from source now.
-- Download the models.
-- Downloading BODY_25 model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatch
for file: [/home/nvidia/datacapture/openpose/models/pose/body_25/pose_iter_584000.caffemodel]
expected hash: [78287b57cf85fa89c03f1393d368e5b7]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
status: [22;"HTTP response code said error"]
Call Stack (most recent call first):
CMakeLists.txt:993 (download_model)
-- Not downloading body (COCO) model
-- Not downloading body (MPI) model
-- Downloading face model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatch
for file: [/home/nvidia/datacapture/openpose/models/face/pose_iter_116000.caffemodel]
expected hash: [e747180d728fa4e4418c465828384333]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
status: [22;"HTTP response code said error"]
Call Stack (most recent call first):
CMakeLists.txt:999 (download_model)
-- Downloading hand model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatch
for file: [/home/nvidia/datacapture/openpose/models/hand/pose_iter_102000.caffemodel]
expected hash: [a82cfc3fea7c62f159e11bd3674c1531]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
status: [22;"HTTP response code said error"]
Call Stack (most recent call first):
CMakeLists.txt:1001 (download_model)
-- Models Downloaded.
-- Configuring incomplete, errors occurred!
See also "/home/nvidia/datacapture/openpose/build/CMakeFiles/CMakeOutput.log".
See also "/home/nvidia/datacapture/openpose/build/CMakeFiles/CMakeError.log".
Hi,
I'm facing the same issue with downloading the models for Open Pose. I wondered if you got any further with your error?
Same issue here, error log:
Cloning into '3rdparty/caffe'...
Submodule path '../3rdparty/caffe': checked out 'b5ede488952e40861e84e51a9f9fd8fe2395cc8a'
Previous HEAD position was b5ede48... Added TX2 JetPack3.3 support
HEAD is now at c95002f... Added support for newer GPUs
-- Caffe will be built from source now.
-- Download the models.
-- Downloading BODY_25 model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatch
Previous HEAD position was b5ede488 Added TX2 JetPack3.3 support
HEAD is now at c95002fb Added support for newer GPUs
-- Caffe will be built from source now.
-- Download the models.
-- Downloading BODY_25 model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatch
for file: [/content/openpose/models/pose/body_25/pose_iter_584000.caffemodel]
expected hash: [78287b57cf85fa89c03f1393d368e5b7]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
status: [7;"Couldn't connect to server"]
Again the hitting the same issue..
Using this colab https://colab.research.google.com/github/miu200521358/motion_trace_colab/blob/master/Openpose1_6_0.ipynb?authuser=1#scrollTo=bhCJ4zsf2AMa
Any leads ?
Previous HEAD position was b5ede488 Added TX2 JetPack3.3 support
HEAD is now at c95002fb Added support for newer GPUs
-- Caffe will be built from source now.
-- Download the models.
-- Downloading BODY_25 model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatchfor file: [/content/openpose/models/pose/body_25/pose_iter_584000.caffemodel] expected hash: [78287b57cf85fa89c03f1393d368e5b7] actual hash: [d41d8cd98f00b204e9800998ecf8427e] status: [7;"Couldn't connect to server"]Again the hitting the same issue..
Using this colab https://colab.research.google.com/github/miu200521358/motion_trace_colab/blob/master/Openpose1_6_0.ipynb?authuser=1#scrollTo=bhCJ4zsf2AMa
Any leads ?
Same issue here, using this colab OpenPose Colab
I have the same issue.
DockerfileFROM nvidia/cuda:10.0-cudnn7-devel-ubuntu16.04
RUN echo "Installing dependencies..." && \
apt-get -y --no-install-recommends update && \
apt-get -y --no-install-recommends upgrade && \
apt-get install -y --no-install-recommends \
build-essential \
cmake \
git \
libatlas-base-dev \
libprotobuf-dev \
libleveldb-dev \
libsnappy-dev \
libhdf5-serial-dev \
protobuf-compiler \
libboost-all-dev \
libgflags-dev \
libgoogle-glog-dev \
liblmdb-dev \
pciutils \
python3-setuptools \
python3-dev \
python3-pip \
opencl-headers \
ocl-icd-opencl-dev \
libviennacl-dev \
libcanberra-gtk-module \
libopencv-dev && \
python3 -m pip install --upgrade pip && \
python3 -m pip install \
numpy \
protobuf \
opencv-python
RUN echo "Downloading and building OpenPose..." && \
git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose.git && \
cd openpose/3rdparty && \
git clone https://github.com/CMU-Perceptual-Computing-Lab/caffe && \
cd ../ && \
mkdir build && \
cd build && \
cmake .. && \
make -j4 && \
make install && \
cd ..
WORKDIR /pose_extractor/script
ENTRYPOINT bash ./preprocess.bash


Think we have the same issue 馃槆 Please help Thx
Hi there,
I'm facing the same issue as @litcoderr with all the openpose models, it seems the links are broken. I was wondering if there is any solution
I'm using Docker File from cwaffles/openpose.
Thanks
Previous HEAD position was b5ede488 Added TX2 JetPack3.3 support
HEAD is now at c95002fb Added support for newer GPUs
-- Caffe will be built from source now.
-- Download the models.
-- Downloading BODY_25 model...
-- NOTE: This process might take several minutes depending on your internet connection.
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatchfor file: [/content/openpose/models/pose/body_25/pose_iter_584000.caffemodel] expected hash: [78287b57cf85fa89c03f1393d368e5b7] actual hash: [d41d8cd98f00b204e9800998ecf8427e] status: [7;"Couldn't connect to server"]Again the hitting the same issue..
Using this colab https://colab.research.google.com/github/miu200521358/motion_trace_colab/blob/master/Openpose1_6_0.ipynb?authuser=1#scrollTo=bhCJ4zsf2AMa
Any leads ?
same here. i found that running "! cd openpose && mkdir build && cd build" and "! cd openpose/build && cmake .. " twice gets rid of the issue but it doesn't download the models and openpose doesn't detect any people. I'm trying to see if the fix suggested in this thread will work: https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/1588
Yup the solution in #1588 works!!! Download the models (https://www.kaggle.com/changethetuneman/openpose-model?select=pose_iter_584000.caffemodel) from kaggle and then move them to the correct location in openpose/models/.... Its a bit of a pain but at least it will work until a permanent fix is introduced hopefully
Most helpful comment
Hi Guys,
Want to reopen this because I'm getting the exact same error and was not getting this about a month ago when I was installing the latest master then. Currently the v1.6 release just got done so im basically updating my project on a Nvidia TX2 which was working fine with the previous master, but now i get the exact error during the models download.
I am on the internet, so this must be a mistmatch error of sorts with hashcodes? Not exactly sure but have never seen this error before. Please assist.
I'm not sure this is an internet issue since I'm on the hard wired network and my internet is fine? Its still doing the same exact thing?