deepcut-cnn icon indicating copy to clipboard operation
deepcut-cnn copied to clipboard

Out of memory while running demo

Open vikram-gupta opened this issue 6 years ago • 11 comments

I am getting out of memory error while running the demo using the following command. I am using GeForce GTX 1070.

python ./pose_demo.py image.png --out_name=prediction

INFO:estimate_pose:Done!
F1028 23:43:02.663663 10368 syncedmem.cpp:56] Check failed: error == cudaSuccess (2 vs. 0)  out of memory
*** Check failure stack trace: ***
Aborted (core dumped)

vikram-gupta avatar Oct 28 '17 18:10 vikram-gupta

@vikram-gupta Same for me (but not same graphic card). Did you manage to fix it ?

CamilleMaurice avatar Oct 30 '17 07:10 CamilleMaurice

@CamilleMaurice not yet !

vikram-gupta avatar Oct 30 '17 09:10 vikram-gupta

I've reinstalled it from scratch but I still face the same problem. If I find out a solution I'll let you know here. Btw, I am using anaconda2

CamilleMaurice avatar Oct 30 '17 09:10 CamilleMaurice

Hi,

This is interesting. What is the size of image.png? If it is too big, then unfortunately it won't fit into memory.

Cheers, Eldar.

eldar avatar Oct 30 '17 15:10 eldar

The size is 274x512 pixels in the demo. I've tried to resize it to a smaller size, without success. I've already installed deeplearning frameworks using Caffe and Cuda and this is the first time I face this error. I'm not using Debian Wheezy but Ubuntu 16.04 and I am using CUDA 8.0.61

CamilleMaurice avatar Oct 30 '17 15:10 CamilleMaurice

Same problem on a 4GB Quadro M2000M. The problem persists whatever the input image size. Do we need a 12GB card for running on GPU?

asnt avatar Nov 08 '17 07:11 asnt

Reading the paper I've also found out the use of 12GB GPU. Next week I might be able to try with 11GB GPU card. I wont have access to more GPU for now so that will be my last test and I'll report here my results.

CamilleMaurice avatar Nov 08 '17 08:11 CamilleMaurice

Here are some news, I managed to install it and it worked on the : GeForce GTX 1080 Ti 11Go.

CamilleMaurice avatar Nov 30 '17 09:11 CamilleMaurice

It doesn't work on RTX 2080 Super. I guess it might need a 11GB GPU card like 1080Ti.

williammm001 avatar Jun 30 '20 10:06 williammm001

It doesn't work on RTX 2080 Super. I guess it might need a 11GB GPU card like 1080Ti.

Yes. The need for NVIDIA and CUDA is widespread. You often need them to run pose estimation algorithms. It is the same for OpenPose (you might be insterested).

CamilleMaurice avatar Jun 30 '20 10:06 CamilleMaurice

It doesn't work on RTX 2080 Super. I guess it might need a 11GB GPU card like 1080Ti.

Yes. The need for NVIDIA and CUDA is widespread. You often need them to run pose estimation algorithms. It is the same for OpenPose (you might be insterested).

Thanks. I used deepcut just because it is part of the MuVS. I just wonder why it requires so much GPU memory...

williammm001 avatar Jul 01 '20 03:07 williammm001