下記の環境でcuDNN8.9.3がシステムに認識されていない。また、実行したいコードを実行して、cuDNN初期化できないエラーがでて解決できません。
再起動も試しましたが変わりませんでした。
ご享受ください。
andolab@ubuntu:~$ jetson_release
Software part of jetson-stats 4.2.12 - (c) 2024, Raffaello Bonghi
Model: NVIDIA Jetson Orin NX Engineering Reference Developer Kit - Jetpack 6.1 [L4T 36.4.0]
NV Power Mode[2]: 15W
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
- P-Number: p3767-0000
- Module: NVIDIA Jetson Orin NX (16GB ram)
Platform: - Distribution: Ubuntu 22.04 Jammy Jellyfish
- Release: 5.15.148-tegra
jtop: - Version: 4.2.12
- Service: Active
Libraries: - CUDA: 12.1.105
- cuDNN: 1.0
- TensorRT: Not installed
- VPI: 3.2.4
- Vulkan: 1.3.204
- OpenCV: 4.8.0 - with CUDA: YES
pythonコード実行結果↓
andolab@ubuntu:~$ python3 test_run_maskrcnn_pipeline2.py
[ WARN:0@4.388] global cap_gstreamer.cpp:1728 open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
camera success!!!
Traceback (most recent call last):
File “/home/andolab/test_run_maskrcnn_pipeline2.py”, line 76, in
prediction = model(img_tensor)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/module.py”, line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/module.py”, line 1527, in _call_impl
return forward_call(*args, **kwargs)
File “/home/andolab/.local/lib/python3.10/site-packages/torchvision-0.16.1-py3.10-linux-aarch64.egg/torchvision/models/detection/generalized_rcnn.py”, line 101, in forward
features = self.backbone(images.tensors)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/module.py”, line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/module.py”, line 1527, in _call_impl
return forward_call(*args, **kwargs)
File “/home/andolab/.local/lib/python3.10/site-packages/torchvision-0.16.1-py3.10-linux-aarch64.egg/torchvision/models/detection/backbone_utils.py”, line 57, in forward
x = self.body(x)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/module.py”, line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/module.py”, line 1527, in _call_impl
return forward_call(*args, **kwargs)
File “/home/andolab/.local/lib/python3.10/site-packages/torchvision-0.16.1-py3.10-linux-aarch64.egg/torchvision/models/_utils.py”, line 69, in forward
x = module(x)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/module.py”, line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/module.py”, line 1527, in _call_impl
return forward_call(*args, **kwargs)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/conv.py”, line 460, in forward
return self._conv_forward(input, self.weight, self.bias)
File “/home/andolab/.local/lib/python3.10/site-packages/torch/nn/modules/conv.py”, line 456, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED