Please provide complete information as applicable to your setup.
**• Jetson NX
**• DeepStream Version5.1
**• JetPack Version 4.5,Ubuntu18.04
**• TensorRT Version 7.1
**• yolov5s.engine
Hi,i have successfully run the base program of"deepstream-test3-app" and use yolov5s.engine for single channel RTSP processing,but when i use multi-channel RTSP input is ERROR.Please help me,thanks.
example single: ./deepstream-test3-app ‘rtsp://admin:byzt-2018@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1’
example multi(ERROR): ./deepstream-test3-app ‘rtsp://admin:byzt-2018@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1’ ‘rtsp://admin:byzt-2018@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1’
my dstest3_pgie_config.txt:
[property]
gpu-id=0
force-implicit-batch-dim=1
net-scale-factor=0.0039215697906911373
model-color-format=0
model-engine-file=yolov5s.engine
labelfile-path=labels.txt
num-detected-classes=80
interval=0
gie-unique-id=1
process-mode=1
network-type=0
cluster-mode=4
batch-size=2
maintain-aspect-ratio=0
parse-bbox-func-name=NvDsInferParseCustomYoloV5
custom-lib-path=nvdsinfer_custom_impl_Yolo/libnvdsinfer_custom_impl_Yolo.so
[class-attrs-all]
pre-cluster-threshold=0.25
ERROR:
./deepstream-test3-app ‘rtsp://admin:byzt-2018@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1’ ‘rtsp://admin:byzt-2018@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1’
Now playing: rtsp://admin:byzt-2018@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1, rtsp://admin:byzt-2018@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1,
Using winsys: x11
0:00:04.770858648 11863 0x558d9b4400 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.1/sources/yolov5-5.0/yolov5s.engine
INFO: [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT data 3x640x960
1 OUTPUT kFLOAT prob 6001x1x1
0:00:04.771146457 11863 0x558d9b4400 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::checkBackendParams() <nvdsinfer_context_impl.cpp:1643> [UID = 1]: Backend has maxBatchSize 1 whereas 2 has been requested
0:00:04.771207961 11863 0x558d9b4400 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1814> [UID = 1]: deserialized backend context :/opt/nvidia/deepstream/deepstream-5.1/sources/yolov5-5.0/yolov5s.engine failed to match config params, trying rebuild
0:00:04.806984321 11863 0x558d9b4400 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1716> [UID = 1]: Trying to create engine from model files
ERROR: failed to build network since there is no model file matched.
ERROR: failed to build network.
0:00:04.808547975 11863 0x558d9b4400 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1736> [UID = 1]: build engine file failed
0:00:04.808614471 11863 0x558d9b4400 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1822> [UID = 1]: build backend context failed
0:00:04.808671559 11863 0x558d9b4400 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1149> [UID = 1]: generate backend failed, check config file settings
0:00:04.809142345 11863 0x558d9b4400 WARN nvinfer gstnvinfer.cpp:812:gst_nvinfer_start: error: Failed to create NvDsInferContext instance
0:00:04.809216041 11863 0x558d9b4400 WARN nvinfer gstnvinfer.cpp:812:gst_nvinfer_start: error: Config file path: dstest3_pgie_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
Running…
ERROR from element primary-nvinference-engine: Failed to create NvDsInferContext instance
Error details: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(812): gst_nvinfer_start (): /GstPipeline:dstest3-pipeline/GstNvInfer:primary-nvinference-engine:
Config file path: dstest3_pgie_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
Returned, stopping playback
Deleting pipeline