Skip to content
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

OpenPose Demo Run failed #73

Open
RenSiyao opened this issue Nov 10, 2020 · 2 comments
Open

OpenPose Demo Run failed #73

RenSiyao opened this issue Nov 10, 2020 · 2 comments

Comments

@RenSiyao
Copy link

RenSiyao commented Nov 10, 2020

1、getPlugins.bat,getModels.bat,Run successfully
2、testBinary.bat,Run it successfully and play it back and then mark it on the body。
Even if I have a problem with my project。
When I was running in Unity, the camera would show a call, then shut down, run status show ready, then prompt for an error.

The following is the error content:

OP_Error:
Error occurred on a thread. OpenPose closed all its threads and then propagated the error to the main thread. Error description:

Prototxt file not found: F:\桌面\Openpose\openpose_unity_plugin-master\OpenPosePlugin\Assets\StreamingAssets\models\pose/body_25/pose_deploy.prototxt.
Possible causes:
1. Not downloading the OpenPose trained models.
2. Not running OpenPose from the same directory where the model folder is located.
3. Using paths with spaces.

Coming from:

  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\net\netCaffe.cpp:op::NetCaffe::ImplNetCaffe::ImplNetCaffe():53
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\net\netCaffe.cpp:op::NetCaffe::ImplNetCaffe::ImplNetCaffe():89
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\pose\poseExtractorCaffe.cpp:op::addCaffeNetOnThread():108
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\pose\poseExtractorCaffe.cpp:op::PoseExtractorCaffe::netInitializationOnThread():198
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\pose\poseExtractorNet.cpp:op::PoseExtractorNet::initializationOnThread():98
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\pose\poseExtractor.cpp:op::PoseExtractor::initializationOnThread():34
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/pose/wPoseExtractor.hpp:op::WPoseExtractor<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > >::initializationOnThread():57
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/thread/worker.hpp:op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > >::initializationOnThreadNoException():77
  • [All threads closed and control returned to main thread]
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\utilities\errorAndLog.cpp:op::checkWorkerErrors():280
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/thread/threadManager.hpp:op::ThreadManager<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::shared_ptr<class op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > >,class op::Queue<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::queue<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::deque<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::allocator<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > > > > >::stop():243
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/thread/threadManager.hpp:op::ThreadManager<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::shared_ptr<class op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > >,class op::Queue<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::queue<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::deque<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::allocator<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > > > > >::exec():202
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/wrapper/wrapper.hpp:op::WrapperT<struct op::Datum,class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > >,class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::shared_ptr<class op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > > >::exec():424
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\unity\unityBinding.cpp:op::openpose_main():453
  • [Error occurred in a destructor or in the OpenPose Unity Plugin, so no std::exception has been thrown. Returning with exit status 0]

UnityEngine.Debug:LogError(Object)
OpenPose.OPWrapper:m__0(String, Int32) (at Assets/OpenPose/Modules/Scripts/OPWrapper.cs:231)
OpenPose.OPBind:_OPRun()
OpenPose.OPWrapper:OPExecuteThread() (at Assets/OpenPose/Modules/Scripts/OPWrapper.cs:268)

@duguguang
Copy link

Prototxt file not found: F:\桌面\Openpose\openpose_unity_plugin-master\OpenPosePlugin\Assets\StreamingAssets\models\pose/body_25/pose_deploy.prototxt.
Make sure the path does not contain Chinese

@s2023x
Copy link

s2023x commented May 6, 2023

I agreed to run into this problem, and I didn't have Chinese in my path, but it didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants