RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
See original GitHub issueI installed all the requirements as you listed on the website. However, I met this error while running the demo.
Error:
Fine-tuning directory: 'results/ayush/R_hierarchical2_mc/B0.1_R1.0_PL1-0_LR0.0004_BS4_Oadam'
Found cache checkpoints/mc.pth
Using 1 GPUs.
Traceback (most recent call last):
File "main.py", line 13, in <module>
dp.process(params)
File "/home/ubuntu/Documents/consistent_depth/process.py", line 117, in process
return self.pipeline(params)
File "/home/ubuntu/Documents/consistent_depth/process.py", line 60, in pipeline
ft.save_depth(initial_depth_dir)
File "/home/ubuntu/Documents/consistent_depth/depth_fine_tuning.py", line 190, in save_depth
depth = self.model.forward(stacked_images, metadata)
File "/home/ubuntu/Documents/consistent_depth/monodepth/depth_model.py", line 23, in forward
depth = self.estimate_depth(images)
File "/home/ubuntu/Documents/consistent_depth/monodepth/mannequin_challenge_model.py", line 60, in estimate_depth
self.model.prediction_d, _ = self.model.netG.forward(images)
File "/home/ubuntu/anaconda3/envs/depth/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 150, in forward
return self.module(*inputs[0], **kwargs[0])
File "/home/ubuntu/anaconda3/envs/depth/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/home/ubuntu/Documents/consistent_depth/monodepth/mannequin_challenge/models/hourglass.py", line 176, in forward
pred_feature = self.seq(input_)
File "/home/ubuntu/anaconda3/envs/depth/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/home/ubuntu/anaconda3/envs/depth/lib/python3.6/site-packages/torch/nn/modules/container.py", line 100, in forward
input = module(input)
File "/home/ubuntu/anaconda3/envs/depth/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/home/ubuntu/anaconda3/envs/depth/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 345, in forward
return self.conv2d_forward(input, self.weight)
File "/home/ubuntu/anaconda3/envs/depth/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 342, in conv2d_forward
self.padding, self.dilation, self.groups)
RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
python main.py --video_file data/videos/ayush.mp4 --path results/ayush --camera_params "1671.770118, 540, 960" --camera_model "SIMPLE_PINHOLE" --make_video
Here is my setup
Cuda compilation tools, release 10.1, V10.1.243
print(torch.__version__)
1.4.0+cu100
Thanks for helping!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Cuda Error : RuntimeError - PyTorch Forums
RuntimeError : cuDNN error: CUDNN_STATUS_EXECUTION_FAILED The code used to work with CUDA 8.0 and GeForce GTX 1080 Ti GPU, now I use CUDA ......
Read more >cuDNN error: CUDNN_STATUS_EXECUTION_FAILED while ...
This is my code for a basic RNN model and I am using the MNSIT dataset. My ultimate goal is to train this...
Read more >cudnn_status_execution_failed #32881 - pytorch ... - GitHub
When I train the code, the following problem suddenly appears Traceback (most ... RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED.
Read more >RuntimeError: cuDNN error - Stack Overflow
I am running this code in a computer with rtx 3090ti github_code. However, the code raises an error with first forward layer.
Read more >Solution - Finisky Garden
RuntimeError : cuDNN error: CUDNN_STATUS_EXECUTION_FAILED When you encountered the above issue and Google it, you will find lots of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi, i solved this by installing the latest pytorch version (pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html), then i had to patch flownet2 (https://github.com/NVIDIA/flownet2-pytorch/pull/254/files) to make it compatible.
Worked for me too : I have Ubuntu 20 and GeForce 3050 Ti: pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html then cloning branch cxx14 from https://github.com/christian-rauch/flownet2-pytorch/tree/cxx14 and installing according to readme