-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake error on Google colab? #1933
Comments
Hi, |
+1. Seems that the server with the models is simply down: https://downforeveryoneorjustme.com/posefs1.perception.cs.cmu.edu A related issue in the past: #1224 |
I am having the same issue the repository university seems indeed to be down |
Same problem here. |
Using solution from #1588 resolve the issue, but a permanent fix would be better |
how exactly did you use #1588? |
download the models from kaggle from the provided links. Copy the corresponding models to openpose/models/(face and hand and pose). You need to look into your error message from openpose installation to find out which model corresponding to which folder. |
@MatthewGan923 i downloaded the 4 models from Kaggle. I am not sure how do i load it up onto Colab for use. can you please help wit the commands. sorry i am new to this :-( |
If you have already run the code block on Colab, there should be a small folder icon on the left of the screen if you navigate to ‘openpose’ folder there should be a ‘models’ folder, inside there is ‘pose, hand & face ’ I removed all of the files inside each of them leaving the folders empty and then right clicked on them to upload the files from the models you’ve downloaded. That was my way of getting it to work yesterday, hope it helps. |
@rlynn04 if I need only the pose model, I should be adding only the "pose_iter_584000.caffemodel" model right, or should i need all those 5 models? |
@sajjadh If you only require the pose model you shouldn't need the others for it to work but I can't say that I'm 100% certain of that. |
@rlynn04 Not working for me, because when I copy the models in the folder and run the code again, the files, which I have uploaded, don't appear. How can I run the code to build Openpose again with the models uploaded or how can I modify the commands for this? |
@Jru8 check if u have the openpose.bin. when i tried it was not created, so now I am finding a way to create that file. |
for now, I found a small hack. you should run But what I tried is, I already had a previous copy of successfully built of the OpenPose library. So I simply removed the model folder from the new library and added the model folder from the previously built. |
Here are some code I used. Hopefully it can be helpful.
This should prompt you to upload your "kaggle.json"
Should work from this. Let me know if there is any error. |
@MatthewGan923 everything worked fine until this: rm: cannot remove 'openpose.avi': No such file or directory |
I have the same problem. |
@israelameg the server is down again, try any of the above solution for now |
when it will be fixed? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
It seems the servers are down again... :( |
Issue Summary
Working fine till yesterday. It started giving errors since today (29 April 2021). Tried updating cmake, restart the kernel and other solutions available in the Issues page.
import os
from os.path import exists, join, basename, splitext
git_repo_url = 'https://github.com/CMU-Perceptual-Computing-Lab/openpose.git'
project_name = splitext(basename(git_repo_url))[0]
if not exists(project_name):
see: #949
install new CMake becaue of CUDA10
!wget -q https://cmake.org/files/v3.13/cmake-3.13.4-Linux-x86_64.tar.gz
!tar xfz cmake-3.13.4-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
clone openpose
!git clone -q --depth 1 $git_repo_url
!sed -i 's/execute_process(COMMAND git checkout master WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/3rdparty/caffe)/execute_process(COMMAND git checkout f019d0dfe86f49d1140961f8c7dec22130c83154 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/3rdparty/caffe)/g' openpose/CMakeLists.txt
install system dependencies
!apt-get -qq install -y libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler libgflags-dev libgoogle-glog-dev liblmdb-dev opencl-headers ocl-icd-opencl-dev libviennacl-dev
install python dependencies
!pip install -q youtube-dl
build openpose
!cd openpose && rm -rf build || true && mkdir build && cd build && cmake .. && make -j
nproc
Errors (if any)
CMake Error at cmake/Utils.cmake:8 (file):
file DOWNLOAD HASH mismatch
Call Stack (most recent call first):
CMakeLists.txt:985 (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
Call Stack (most recent call first):
CMakeLists.txt:991 (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
Call Stack (most recent call first):
CMakeLists.txt:993 (download_model)
The text was updated successfully, but these errors were encountered: