Open mmhzlrj opened 1 year ago
Hi @wkelongws , @nvsshailesh, @nvbrupde, @dusty-nv
If you are on a Nvidia Jetson using a CSI-2 Camera try changing https://github.com/NVIDIA-AI-IOT/redaction_with_deepstream/blob/3af138c6046fbc69aef08790a4487a54627bd296/deepstream_redaction_app.c#L292 to
source = gst_element_factory_make ("nvarguscamerasrc", "camera-source");
jet@jet-nano:/opt/nvidia/deepstream/deepstream-6.0/sources/apps/redaction_with_deepstream$ sudo ./deepstream-redaction-app -c configs/pgie_config_fd_lpd.txt [sudo] password for jet: Now playing from webcam
Using winsys: x11 0:00:23.984407105 11588 0x5590232ed0 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-6.0/sources/apps/redaction_with_deepstream/fd_lpd_model/fd_lpd.caffemodel_b1_gpu0_fp32.engine
INFO: [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT data 3x270x480
1 OUTPUT kFLOAT output_cov 4x17x30
2 OUTPUT kFLOAT output_bbox 16x17x30
0:00:24.016324928 11588 0x5590232ed0 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-6.0/sources/apps/redaction_with_deepstream/fd_lpd_model/fd_lpd.caffemodel_b1_gpu0_fp32.engine
0:00:24.931192903 11588 0x5590232ed0 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus: [UID 1]: Load new model:configs/pgie_config_fd_lpd.txt sucessfully
Pipeline ready
Pipeline running
ERROR from element camera-source: Internal data stream error.
Error: Internal data stream error.
Returned, stopping playback
jet@jet-nano:/opt/nvidia/deepstream/deepstream-6.0/sources/apps/redaction_with_deepstream$