• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.2.3.0
• NVIDIA GPU Driver Version (valid for GPU only) 470.141.03
• Issue Type( questions, new requirements, bugs) Question
Hi,
I want to run the sample deepstream-segmentation-test
while injecting a preprocessing plugin into the pipeline.
I first converted the pipeline to CLI command and the segmentation itself run seemingly without issues, I used this CLI command to launch the pipeline: gst-launch-1.0 filesrc location = /opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m batch-size=1 width=1920 height=1080 ! nvvideoconvert ! nvinfer config-file-path=/../../dstest_segmentation_config_semantic.txt ! nvsegvisual width=1920 height=1080 ! nvmultistreamtiler rows=1 columns=1 ! nvvideoconvert ! x264enc ! mp4mux ! filesink location=seg_output.mp4
However, I get no segmentation results when I inject a preprocessing element with config file adapted from /opt/nvidia/deepstream/deepstream/sources/gst-plugins/gst-nvdspreprocess/config_preprocess.txt
using the CLI command gst-launch-1.0 filesrc location = /opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m batch-size=1 width=1920 height=1080 ! nvvideoconvert ! nvdspreprocess config-file= /../../config_preprocess.txt ! nvinfer config-file-path=/../../dstest_segmentation_config_semantic.txt ! nvsegvisual width=1920 height=1080 ! nvmultistreamtiler rows=1 columns=1 ! nvvideoconvert ! x264enc ! mp4mux ! filesink location=seg_pre_output.mp4
I made sure that all nvinfer-side config-file parameters that are disabled in the case of using preprocessing element are compensated in the preprocessing config file.
What I want to know is if there are some missing parameters that may cause faulty input to the network that I didn’t mention here.
Thanks!