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

RuntimeError: CUDNN_STATUS_EXECUTION_FAILED #28

Open
smallworld-network-wupeng opened this issue Apr 6, 2019 · 7 comments
Open

RuntimeError: CUDNN_STATUS_EXECUTION_FAILED #28

smallworld-network-wupeng opened this issue Apr 6, 2019 · 7 comments

Comments

@smallworld-network-wupeng

root@74a4066c1b48:/app/demoCode# python testBatchModel.py /shared/img_list.txt /shared/3d_output/

Prepare image /shared/cute_boy.jpg:
Number of faces detected: 1
CNN Model loaded to regress 3D Shape and Texture!
Loaded the Basel Face Model to write the 3D output!
Processing image: /shared/3d_output/imgs/cute_boy.png
Traceback (most recent call last):
File "testBatchModel.py", line 168, in
features = net(im).data.cpu().numpy()
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 357, in call
result = self.forward(*input, **kwargs)
File "../CNN/shape_model.py", line 239, in forward
conv1 = self.conv1(conv1_pad)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 357, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/conv.py", line 282, in forward
self.padding, self.dilation, self.groups)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/functional.py", line 90, in conv2d
return f(input, weight, bias)
RuntimeError: CUDNN_STATUS_EXECUTION_FAILED

I have two 2080 card and ubuntu 16.04 but these is a error CUDNN_STATUS_EXECUTION_FAILED when I run program in Dock. I need help

@smallworld-network-wupeng
Copy link
Author

It is looks torch 0.3.1 unsupported the 2070 card. But when I update torch to 1.0 the model unsupported torch 1.0 .

@spiketg
Copy link

spiketg commented Jul 21, 2019

having the same error with the same card in Ubuntu 18.04

@digbose92
Copy link

@smallworld-network-wupeng and @spiketg any updates on this issue ?

@anhttran
Copy link
Owner

anhttran commented Feb 1, 2020

Dear,
One simple solution is to disable cudnn in the main code:
torch.backends.cudnn.enabled = False
Hope it help.
Best regards,
Anh

@Frank-Dz
Copy link

Same problem.

@Frank-Dz
Copy link

With docker image installed, I met this error.

ENVs:

  • CUDA 10.2
  • RTX 2080
  • Ubuntu16
  • Driver Version: 440.33.01

@Frank-Dz
Copy link

It is looks torch 0.3.1 unsupported the 2070 card. But when I update torch to 1.0 the model unsupported torch 1.0 .

Did you solve this?

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

5 participants