CMU-Perceptual-Computing-Lab/openpose_unity_plugin

OpenPose Demo Run failed

RenSiyao opened this issue · 2 comments

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)

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

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