Please provide complete information as applicable to your setup.
• Hardware Platform: VMware VM
• DeepStream Version: 5.1
• TensorRT Version: 7.1
• NVIDIA GPU Driver Version: 460
• Issue Type Unable to connect redis using deepstream-test4
I have installed all the redis libraries as per the README document given in deepstream-test4
Can anyone guide me how to send and receive data from application to redis in deepstream-test4 app
I have tested by running the command instructed in Readme file as below
./deepstream-test4-app -i ../../../../samples/streams/rajesh_face2.264 -p /opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_redis_proto.so --conn-str="localhost;6379;" -t "cropped_images" --no-display --cfg-file=cfg_redis.txt
Following is the terminal output
(gst-plugin-scanner:13028): GStreamer-WARNING **: 16:26:55.434: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
Now playing: ../../../../samples/streams/rajesh_face2.264
0:00:01.997717232 13023 0x55757dded8f0 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.1/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:685 [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.997801168 13023 0x55757dded8f0 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1806> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-5.1/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
0:00:01.998551248 13023 0x55757dded8f0 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary-nvinference-engine> [UID 1]: Load new model:dstest4_pgie_config.txt sucessfully
Running...
Frame Number = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 1 Vehicle Count = 1 Person Count = 0
Frame Number = 2 Vehicle Count = 1 Person Count = 0
Frame Number = 3 Vehicle Count = 1 Person Count = 1
Frame Number = 4 Vehicle Count = 1 Person Count = 0
Following is the redis output
127.0.0.1:6379> keys *
1) "cropped_images"
127.0.0.1:6379> get cropped_images
(error) WRONGTYPE Operation against a key holding the wrong kind of value
127.0.0.1:6379> get "cropped_images"
(error) WRONGTYPE Operation against a key holding the wrong kind of value
127.0.0.1:6379>
I have mentioned my cfg_redis.txt file
###############################################################################
# Copyright (c) 2020 NVIDIA CORPORATION. All Rights Reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
###############################################################################
[message-broker]
hostname=localhost
port=6379
streamsize=10000
payloadkey=metadata
#consumergroup=mygroup
consumername=redis-consumer
#share-connection = 1
Please help on this issue