I’m trying to get meta-data on a kafka topic of this custom setup of deepstream-test4 of python bindings with deepstream 6.0.1. But I do not receive any response after the following log:
Creating Pipeline
Creating Source
Creating H264Parser
Creating Decoder
Creating EGLSink
Playing file /opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_1080p_h264.mp4
Adding elements to Pipeline
Linking elements in the Pipeline
Starting pipeline
0:00:00.171351344 20153 0x2d63e60 WARN nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1161> [UID = 1]: Warning, OpenCV has been deprecated. Using NMS for clustering instead of cv::groupRectangles with topK = 20 and NMS Threshold = 0.5
WARNING: [TRT]: TensorRT was linked against cuDNN 8.2.1 but loaded cuDNN 8.1.1
WARNING: [TRT]: TensorRT was linked against cuDNN 8.2.1 but loaded cuDNN 8.1.1
0:00:01.253752695 20153 0x2d63e60 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1900> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-6.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x368x640
1 OUTPUT kFLOAT conv2d_bbox 16x23x40
2 OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40
0:00:01.253808717 20153 0x2d63e60 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2004> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-6.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
0:00:01.254520958 20153 0x2d63e60 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:dstest4_pgie_config.txt sucessfully
I used the following command:
sudo python3 deepstream_test_4.py -i /opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_1080p_h264.mp4 -p /opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_kafka_proto.so --conn-str "localhost;9092;rawdata2" --topic "rawdata2" -s 0
I’ve following questions:
- Why is the application showing this behaviour? Is anything configured incorrectly?
- Does this app use the same .so lib in nvmsgconv as the C application via gst-python? If yes, would customizing the nvmsgconv can give me custom results that I need? Or do I need make changes somewhere else too?
- How do I see
GST_DEBUG:=4
logs with python apps?
More info:
• Hardware Platform (dGPU: GTX)
• DeepStream Version 6.0.1
• JetPack Version (NA)
• TensorRT Version [in logs above]
• NVIDIA GPU Driver Version 470.63.01
• Issue Type: Question/Bug
• How to reproduce the issue: deepstream-test4 of python bindings with deepstream 6.0.1
• Requirement details: lrdkafka, protolib
Misc info on solutions that I’ve tried:
- lrdkafka re-installation.
- Yes, the brokers are running
- Simple app for inferencing works in osd with the default models.