Pyrealsense2 issue (OpenCV)

Im working on a Realsense intel camera to experiment with the YOLOv8. Im submiting my Python script, and along with that, I’m also attaching the site that I used to do my setup.

Link to site: https://jetsonhacks.com/2019/12/22/install-realsense-camera-in-5-minutes-jetson-nano/

My python file: yolov8_rs.txt (1.9 KB)

When I run my code I get: Traceback (most recent call last):
File “/home/nvidia/yolov8_rs/main.py”, line 17, in
pipeline.start(config)
RuntimeError: No device connected

Hi,

Which frameworks do you use for inference?
For python, please make sure you have installed the package that has built with the CUDA support:

Thanks.

This is really frustrating now. I think I’m on the point where I just want to quit. This has been the worst development and learning experience I even had.

Currently Im running the Jetpack 6.2 and other information can be seen in the image.
I try installing pytorch 2.3.0 with torchvision v0.18.0

While I install pytorch it said error but the last line said Successful. I have attach image please refer that.

While I was running the command for torchvision, I faced the below error, as shown in image. While installation, I put the version as v0.18.0. To resolve this, I try installing cuDNN from (cuDNN 9.7.1 Downloads | NVIDIA Developer)

Along with that I also try create symbolic link for libcudnn.so.8
sudo ln -s /usr/local/cuda/lib64/libcudnn.so /usr/local/cuda/lib64/libcudnn.so.8

and run: ls /usr/local/cuda/lib64/libcudnn*
I get: /usr/local/cuda/lib64/libcudnn.so.8

Please tell me how to resolve.


Hi,

Does YOLOv11 from Ultralytics work for you?
If so, you can find below the link for the step-by-step instructions:
https://elinux.org/Jetson/L4T/TRT_Customized_Example#YoloV11_using_Pytorch

Thanks.

Sorry in my last reply I didnt attach the image. Let me do it now.

Please refer the images.

I dont have any issue on running YOLOv11. But below command to install pytorch 2.5.0 doesnt exist:

wget http://jetson.webredirect.org/jp6/cu126/+f/5cf/9ed17e35cb752/torch-2.5.0-cp310-cp310-linux_aarch64.whl#sha256=5cf9ed17e35cb7523812aeda9e7d6353c437048c5a6df1dc6617650333049092

You can follow the Ultralytics guide to install PyTorch and torchvision

Hi,

The link was broken early this week and now is working.
Could you try it again?

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.