marcoslucianops / DeepStream-Yolo

NVIDIA DeepStream SDK 7.0 / 6.4 / 6.3 / 6.2 / 6.1.1 / 6.1 / 6.0.1 / 6.0 / 5.1 implementation for YOLO models
MIT License
1.38k stars 343 forks source link

How to use Python API to runtime multiple RTSP streams? #513

Open maxgameone opened 4 months ago

maxgameone commented 4 months ago

When using a stream is run normally , but multiple streams will be errors may occur 。 as follows

ERROR: Failed to create network using custom network creation function ERROR: Failed to get cuda engine from custom library API 0:00:10.322330243 3418509 0x3c078530 ERROR nvinfer gstnvinfer.cpp:676:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() [UID = 1]: build engine file failed 0:00:10.537862314 3418509 0x3c078530 ERROR nvinfer gstnvinfer.cpp:676:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::generateBackendContext() [UID = 1]: build backend context failed 0:00:10.537914508 3418509 0x3c078530 ERROR nvinfer gstnvinfer.cpp:676:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::initialize() [UID = 1]: generate backend failed, check config file settings 0:00:10.537952749 3418509 0x3c078530 WARN nvinfer gstnvinfer.cpp:898:gst_nvinfer_start: error: Failed to create NvDsInferContext instance 0:00:10.537965934 3418509 0x3c078530 WARN nvinfer gstnvinfer.cpp:898:gst_nvinfer_start: error: Config file path: Person.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED [NvMultiObjectTracker] De-initialized Error: gst-resource-error-quark: Failed to create NvDsInferContext instance (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(898): gst_nvinfer_start (): /GstPipeline:pipeline0/GstNvInfer:primary-inference: Config file path: Person.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED

How should I edit this config? THX

marcoslucianops commented 3 months ago

You can refer to deepstream_test3 app provided by NVIDIA. I need a full output log to understand where is the error.