Please provide complete information as applicable to your setup.
• Hardware Platform (dGPU) • DeepStream Version (7.0) • TensorRT Version(8.6.1) • NVIDIA GPU Driver Version (545.29.02) • Issue Type( questions) • How to reproduce the issue ? (run in
Given the configuration files preprocess_config.txt, nvinfer.txt, run preprocess_unet.py in nvcr.io/nvidia/deepstream:7.0-samples-multiarch. I will give the specific code file below.) • Requirement details( deepstream-segmentation&deepstream-preprocess mix)
My problem is to perform segmentation on part of the image, so I added nvdspreprocess element before nvinfer. Refer to Tao deploy. I set input-tensor-from-meta=1 and so on, but nvinfer has no output. If input-tensor-from-meta =0, nvinfer (argmax_1) has output.
Below is my running environment, running script, model and configuration file. I look forward to your reply, thank you.
OK. If you use the preprocess, the metadata is attached to the batch_meta directly. You can refer to the l_user=batch_meta.batch_user_meta_list to get the metadata.
My problem is that using nvdspreprocess for pre-processing and setting input-tensor-from-meta=1, nvinfer will not pre-process the data but directly use the data output by nvdspreprocess. I have set all nvinfer data preprocessing items in nvdspreprocess, why does nvinfer not output mask?
I have attached the reason. Please change your code: l_user = frame_meta.frame_user_meta_list to the l_user=batch_meta.batch_user_meta_list I attached.