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

Unity crashes running Demo Scene. #41

Open
ecremasco opened this issue Jul 5, 2019 · 1 comment
Open

Unity crashes running Demo Scene. #41

ecremasco opened this issue Jul 5, 2019 · 1 comment

Comments

@ecremasco
Copy link

ecremasco commented Jul 5, 2019

I seem to have a problem to run the Demo Scene with the apropriate configurations for my GPU. I tried solving the problem with some suggestions posted in this forum, but none worked.

I can run the testBinary with no problem after I changed the resolution to 1x80.

I tried changing the hand and face resolution to 1x64, 1x16 and 1x80 in the Unity Inspector and also in the code. I tried changing the call of the the UserConfigureOpenPose() function using these parameters:

private void UserConfigureOpenPose(){ OPWrapper.OPConfigurePose( /* poseMode */ PoseMode.Enabled, /* netInputSize */ new Vector2Int(-1, 16), /* outputSize */ null, /* keypointScaleMode */ ScaleMode.InputResolution, /* gpuNumber */ -1, /* gpuNumberStart */ 0, /* scalesNumber */ 1, /* scaleGap */ 0.3f, /* renderMode */ RenderMode.Gpu, /* poseModel */ PoseModel.BODY_25, /* blendOriginalFrame */ true, /* alphaKeypoint */ 0.6f, /* alphaHeatMap */ 0.7f, /* defaultPartToRender */ 0, /* modelFolder */ null, /* heatMapTypes */ HeatMapType.None, /* heatMapScaleMode */ ScaleMode.UnsignedChar, /* addPartCandidates */ false, /* renderThreshold */ renderThreshold, /* numberPeopleMax */ maxPeople, /* maximizePositives */ false, /* fpsMax fps_max */ -1.0, /* protoTxtPath */ "", /* caffeModelPath */ "", /* upsamplingRatio */ 0f);

Is there anything else I can try?

I only need to track the hands, so if I could disable everything else and keep only the hand detection, it would work for me.

Issue Summary

Unity crashed running the Demo Scene

Executed Command (if any)

Play Demo Scene

OpenPose Output (if any)

Unity closes after I try to run the Demo.

Errors (if any)

Unity crashed.

Type of Issue

  • Execution error
  • Help wanted
  • Question
  1. Whole console output
    No errors appeared. Unity just crashed.

  2. OpenPose version:
    OpenPose Unity Plugin default

  3. General configuration:
    Operating system : Windows 10, 64-bit
    Release or Debug mode : release
    Compiler : VS 2015 Community

  4. Non-default settings:

    • Any custom OpenPose configuration with respect to the default version? No.
  5. 3rd-party software:

    • Caffe version: Default from OpenPose
    • OpenCV version:OpenPose default
  6. If GPU mode issue:

    • CUDA version : 10
    • cuDNN version: 7.6.1
    • GPU model : Nvidia Geforce GTX 960
  7. If Windows system:

    • Default OpenPose DLL or Portable demo or compiled library? Installed following the installation guide
@ZiuTinyat
Copy link
Collaborator

Which unity version do you use? The last tested should be 2018.4 and you may also try 2019.1.

Unfortunately, OpenPose cannot detect hand without detecting the body. But in the latest version, detecting hands should not be costly so much.

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

2 participants