question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED

See original GitHub issue

Hi, I am using mmdeploy to convert maskrcnn pth model to tensorrt, and i got this error: RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED

my command: python tools/deploy.py \ configs/mmdet/instance-seg/instance-seg_tensorrt_dynamic-320x320-1344x1344.py \ /home/mmlab/mmdetection-2.20.0/project/mrcnn_r18_fpn_160e/mrcnn_r18_fpn_160e.py \ /home/mmlab/mmdetection-2.20.0/project/mrcnn_r18_fpn_160e/epoch_150.pth \ /home/mmlab/mmdetection-2.20.0/demo/demo.jpg \ --work-dir work_dir \ --device cuda:0

my env: gcc g++ 7.5.0 cuda 10.2 cudnn 7.6.5 tensorrt 7.2.3 torch 1.8.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
AllentDancommented, Jan 21, 2022

You are welcome. Feel free to open issues or pull requests to MMDeploy in the future.

1reaction
Baiyixuan1113commented, Jan 21, 2022

Need to clone the third-party library. Follow build. Well, reading the readme of this repository first is recommended.

Thank you for your help, my environment has been set up successfully !!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

cuDNN error: CUDNN_STATUS_NOT_INITIALIZED using ...
There is some discussion regarding this here. I had the same issue but using cuda 11.1 resolved it for me. This is the...
Read more >
RuntimeError: cuDNN error - PyTorch Forums
If it is not that your model/data is too big then it is because your GPU has not freed the memory. Go to...
Read more >
How to fix 'Runtimeerror: cudnn error - Candid.Technology
In this article, we're going over the "Runtimeerror: cudnn error: cudnn_status_not_initialized" error in Python when using PyTorch.
Read more >
Cudnn_status_not_initialized - NVIDIA Developer Forums
I install Cuda 11 with driver 460.39 and cudnn 8.1.1, but when I run my code, ... RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED.
Read more >
Image Segmentation: RuntimeError: cuDNN error
I am working on a image segmentation problem. The data is from Deep Global Land Cover Classification dataset. It is a image segmentation ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found