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

Out of memory. How to check cuDNN is installed/enabled? #63

Closed
aerotran opened this issue Jun 9, 2017 · 6 comments
Closed

Out of memory. How to check cuDNN is installed/enabled? #63

aerotran opened this issue Jun 9, 2017 · 6 comments
Labels
help wanted/question Extra attention is needed

Comments

@aerotran
Copy link

aerotran commented Jun 9, 2017

Issue summary

Running out of memory when running OpenPoseDemo.exe. I saw the FAQ about checking cuDNN is installed/enabled, but I'm not sure how to do this. I tried reinstalling Caffe and CUDA, but still run out of memory.

Executed command (if any)

bin\OpenPoseDemo.exe --video examples/media/video.avi

OpenPose output (if any)

F0609 15:43:06.328490 10640 syncedem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0) out of memory

Type of issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
  • Execution error
  • Help wanted

Your system configuration

Operating system): Windows 8.1
CUDA version (cat /usr/local/cuda/version.txt in most cases): 8.0.61
cuDNN version: 8.0 windows7 x64 v5.1
GPU model: NVIDIA GeForce GT 540M, Intel(R) HD Graphics 3000
Caffe version: Default from OpenPose
OpenCV version: Default
Compiler: Visual Studio 2015

@gineshidalgo99 gineshidalgo99 added help wanted/question Extra attention is needed question labels Jun 9, 2017
@gineshidalgo99
Copy link
Member

gineshidalgo99 commented Jun 9, 2017

Hardware requirements: NVIDIA graphics card with at least 1.5 GB available.

The Intel would not work, and the GT 540M only hast 1.5 GB, and the OS usually uses around 300 MB, so you cannot fit default OpenPose there.

You can try reducing the net_resolution as the FAQ suggest. that is your only shoot

Side note: if cuDNN were not enabled, OpenPose would give you a different error unless you manually disabled cuDNN in OpenPose.

@aerotran
Copy link
Author

Shoot. Okay, thanks for the response.

@skrish13
Copy link
Contributor

Just in case anyone comes here looking for installing openpose without CuDNN (since your GFX card doesn't support it), please mind this point from FAQ. It's useless if you have an older card which CuDNN doesn't support as its RAM is anyways not going to be anywhere near 12GB.

@gineshidalgo99 am i safe in assuming the above?

@gineshidalgo99
Copy link
Member

@skrish13 Maybe using the default configuration and a very very small net_resolution (start trying with 160x160 to see if its fits), it might work, but this would only work with people taking most of the image. Let me know if you try the results. Thanks!

@skrish13
Copy link
Contributor

Oh, right. okay. Will do! Will be interesting to see how it works on that resolution :)

@gineshidalgo99
Copy link
Member

gineshidalgo99 commented Jun 30, 2017

Yeah, it will definitively be. Please, it'd be great if you post your required GPU (or if out-of-memory still appears) or any results you can get for other people. Thanks
EDITED: Please, continue the issue on #119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted/question Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants