-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Colab Openpose not working #1588
Comments
I had the same problem in Google Colab, when I run the line: !cd openpose && rm -rf build || true && mkdir build && cd build && cmake .. && make -jnproc`` CMake Error at cmake/Utils.cmake:8 (file): for file: [/content/openpose/models/pose/body_25/pose_iter_584000.caffemodel] Call Stack (most recent call first): -- Not downloading body (COCO) model for file: [/content/openpose/models/face/pose_iter_116000.caffemodel] Call Stack (most recent call first): -- Downloading hand model... for file: [/content/openpose/models/hand/pose_iter_102000.caffemodel] Call Stack (most recent call first): -- Models Downloaded. But this line was working 1 month ago... Do you have some advice for this issue? Thanks! |
I also run into the same problem. It occurs because the expected hash is mismatched between the CMakeLists.txt and the actual file download from http://posefs1.perception.cs.cmu.edu/OpenPose/models/ The quick fix can be replacing the hash for BODY_25, Face and Hand in CMakeLists.txt (line 990 to 1004) For instances,
Rerun the build command. It should at least solve the error that we are facing. Cheers |
Hi, The code is running but it is not detecting any person in video. !cd openpose && ./build/examples/openpose/openpose.bin --video examples/media/video.avi --face --hand --write_json ./output/ --display 0 --write_video ../openpose.avi !cd openpose && ./build/examples/openpose/openpose.bin --video examples/media/video.avi --write_json ./output/ --display 0 --write_video ../openpose.avi --face --hand |
This does not solve the problem, because no key points are generated. I created a sample notebook for testing. https://colab.research.google.com/drive/1hnNgcUs3AFPafwrCiXeHhRBMW3Rlsk64?usp=sharing |
I just realized that at the first quick-fix solution does not really solve the root cause, all of those hashes are the same. It should be different. The problem is actually about downloading those models and their weight. By running
I received ERROR 502: Bad Gateway. If you have models and the weight available locally or from a mirror, it can be upload and replace the empty file under openpose/models/... in Colab. Otherwise, you have to wait until the file storage is up and running again. I cannot verify it since I do not have those files stored locally. I hope this helps |
I meet the same problem today. Any solution yet? |
This method works! I just tried! Just run the "make" command again and upload the models to openpose/models/...
|
Can you please provide us with the files you uploaded ? |
There you go! https://www.kaggle.com/changethetuneman/openpose-model?select=pose_iter_584000.caffemodel |
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. |
I am getting same error.. Is this issue can be solved without uploading the models .. I am on co lab platform |
Looks like the link is broken, can you upload again please? |
I am using google colab to run openpose for a project, and few day back I am having trouble install openpose in the colab notebook. In the past the notebook/Script has worked perfectly.
This is the reference notebook to be used
https://colab.research.google.com/github/tugstugi/dl-colab-notebooks/blob/master/notebooks/OpenPose.ipynb#scrollTo=kDDkgCCSrFTv
The notebook has GPU enabled.The issue is regarding cafe installation. I believe there has been some change made to the installation process, and for this reason the script is not longer working.
Any help regrading the installation process would be appreciated.
The Output log
CMakeOutput.log
The Error log
CMakeError.log
The text was updated successfully, but these errors were encountered: