YunghuiHsu / deepstream-yolo-pose

Use Deepstream python API to extract the model output tensor and customize the post-processing of YOLO-Pose
https://hackmd.io/JQAXmJzuTyW22-x3k-0Zvw
Apache License 2.0
61 stars 14 forks source link

Unable to run on Orin Nano with deepstream 6.3 #8

Open SHARATHbhushan opened 9 months ago

SHARATHbhushan commented 9 months ago

Thank you for detailed instruction, I faced a issue while running the inference,

Ubuntu 20.4 Deepstream 6.3 Jetson Orin Nano

'''

File "deepstream_YOLOv8-Pose_rtsp.py", line 563, in sys.exit(main(stream_path)) File "deepstream_YOLOv8-Pose_rtsp.py", line 415, in main set_tracker_config("configs/config_tracker.txt", tracker) File "/home/user/deepstream-yolo-pose/utils/utils.py", line 161, in set_tracker_config tracker.set_property('enable_batch_process', tracker_enable_batch_process) TypeError: object of type GstNvTracker' does not have propertyenable_batch_process'

'''

YunghuiHsu commented 9 months ago

Hi SHARATHbhushan:

The same question was brought up for discussion in the Nvidia Tech Forums:GstNvTracker does not have enable-batch-process nor enable-past-frame properties in DeepStream 6.3]https://forums.developer.nvidia.com/t/gstnvtracker-does-not-have-enable-batch-process-nor-enable-past-frame-properties-in-deepstream-6-3/277839/4

Since I don't have the hardware on hand to test it, it's up to you to test it and track down technical support from the forum.

SHARATHbhushan commented 9 months ago

Hi @YunghuiHsu Thank you, I will try that

SHARATHbhushan commented 9 months ago

Hello @YunghuiHsu I tried it with deepstream 6.2 docker image: installed all the requirements, even gstream appear to be installed, but I encountered this error Error: gst-resource-error-quark: Cannot identify device '/dev/v4l2-nvenc'. (3): /dvs/git/dirty/git-master_linux/3rdparty/gst/gst-v4l2/gst-v4l2/v4l2_calls.c(637): gst_v4l2_open (): /GstPipeline:pipeline0/nvv4l2h264enc

I looked everywhere with no results

did you encounter this, or is there a compatible docker image I can use?

YunghuiHsu commented 9 months ago

@SHARATHbhushan

since there is no hardware encoder in Orin Nano. Gstreamer Nvv4l2h264enc: Cannot identify device ‘/dev/v4l2-nvenc’

You need to carefully refer to the solutions proposed by the administrators in the forum, e.g. using the "software encoder x264enc."