Skip to content

Instantly share code, notes, and snippets.

@jenhaoyang
Created March 31, 2023 07:22
Show Gist options
  • Select an option

  • Save jenhaoyang/d426acbd9f8a67f2f2844b857de1e186 to your computer and use it in GitHub Desktop.

Select an option

Save jenhaoyang/d426acbd9f8a67f2f2844b857de1e186 to your computer and use it in GitHub Desktop.
creating uridecodebin for [rtsp://192.168.8.53/live1.sdp]
Unknown key 'enable-past-frame' for group [tracker]Unknown key 'display-tracking-id' for group [tracker]0:00:02.298625711 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<secondary-nvinference-engine3> NvDsInferContext[UID 4]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1897> [UID = 4]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine failed
0:00:02.369860234 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<secondary-nvinference-engine3> NvDsInferContext[UID 4]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2002> [UID = 4]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine failed, try rebuild
0:00:02.370909695 2664946 0x55dfc91f1ea0 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<secondary-nvinference-engine3> NvDsInferContext[UID 4]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1923> [UID = 4]: Trying to create engine from model files
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1487 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine open error
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior.
0:00:24.973395652 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<secondary-nvinference-engine3> NvDsInferContext[UID 4]: Warning from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1950> [UID = 4]: failed to serialize cude engine to file: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine
0:00:25.051731706 2664946 0x55dfc91f1ea0 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<secondary-nvinference-engine3> [UID 4]: Load new model:dstest_sgie3_config.txt sucessfully
0:00:26.745773979 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<secondary-nvinference-engine2> NvDsInferContext[UID 3]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1897> [UID = 3]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine failed
0:00:26.809183988 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<secondary-nvinference-engine2> NvDsInferContext[UID 3]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2002> [UID = 3]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine failed, try rebuild
0:00:26.809197199 2664946 0x55dfc91f1ea0 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<secondary-nvinference-engine2> NvDsInferContext[UID 3]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1923> [UID = 3]: Trying to create engine from model files
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1459 Serialize engine failed because of file path: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine opened error
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT input_1 3x224x224
1 OUTPUT kFLOAT predictions/Softmax 6x1x1
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1487 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine open error
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior.
0:00:47.824403982 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<secondary-nvinference-engine2> NvDsInferContext[UID 3]: Warning from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1950> [UID = 3]: failed to serialize cude engine to file: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine
0:00:47.901541092 2664946 0x55dfc91f1ea0 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<secondary-nvinference-engine2> [UID 3]: Load new model:dstest_sgie2_config.txt sucessfully
0:00:49.601642123 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<secondary-nvinference-engine1> NvDsInferContext[UID 2]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1897> [UID = 2]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine failed
0:00:49.661035633 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<secondary-nvinference-engine1> NvDsInferContext[UID 2]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2002> [UID = 2]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine failed, try rebuild
0:00:49.661049964 2664946 0x55dfc91f1ea0 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<secondary-nvinference-engine1> NvDsInferContext[UID 2]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1923> [UID = 2]: Trying to create engine from model files
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1459 Serialize engine failed because of file path: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine opened error
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT input_1 3x224x224
1 OUTPUT kFLOAT predictions/Softmax 20x1x1
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1487 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine open error
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior.
0:01:11.281834218 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<secondary-nvinference-engine1> NvDsInferContext[UID 2]: Warning from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1950> [UID = 2]: failed to serialize cude engine to file: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine
0:01:11.357408499 2664946 0x55dfc91f1ea0 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<secondary-nvinference-engine1> [UID 2]: Load new model:dstest_sgie1_config.txt sucessfully
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1459 Serialize engine failed because of file path: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine opened error
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT input_1 3x224x224
1 OUTPUT kFLOAT predictions/Softmax 12x1x1
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
~~ CLOG[include/modules/NvMultiObjectTracker/NvTrackerParams.hpp, getConfigRoot() @line 52]: [NvTrackerParams::getConfigRoot()] !!![WARNING] Invalid low-level config file caused an exception, but will go ahead with the default config values
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is OFF
~~ CLOG[include/modules/NvMultiObjectTracker/NvTrackerParams.hpp, getConfigRoot() @line 52]: [NvTrackerParams::getConfigRoot()] !!![WARNING] Invalid low-level config file caused an exception, but will go ahead with the default config values
[NvMultiObjectTracker] Initialized
0:01:13.141349469 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1897> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-6.2/samples/models/Primary_Detector/resnet10.caffemodel_b30_gpu0_int8.engine failed
0:01:13.202230729 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2002> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-6.2/samples/models/Primary_Detector/resnet10.caffemodel_b30_gpu0_int8.engine failed, try rebuild
0:01:13.202324303 2664946 0x55dfc91f1ea0 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1923> [UID = 1]: Trying to create engine from model files
0:01:52.769884618 2664946 0x55dfc91f1ea0 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1950> [UID = 1]: failed to serialize cude engine to file: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Primary_Detector/resnet10.caffemodel_b30_gpu0_int8.engine
0:01:52.837885455 2664946 0x55dfc91f1ea0 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary-nvinference-engine> [UID 1]: Load new model:dstest_pgie_config.txt sucessfully
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1487 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Primary_Detector/resnet10.caffemodel_b30_gpu0_int8.engine open error
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1459 Serialize engine failed because of file path: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Primary_Detector/resnet10.caffemodel_b30_gpu0_int8.engine opened error
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
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
decodebin child added source
Now playing: rtsp://192.168.8.53/live1.sdp
Running...
decodebin child added decodebin0
decodebin child added rtpmp4gdepay0
decodebin child added aacparse0
decodebin child added avdec_aac0
decodebin new pad audio/x-raw
decodebin child added decodebin1
decodebin child added rtph264depay0
decodebin child added h264parse0
decodebin child added capsfilter0
decodebin child added nvv4l2decoder0
Warning: Color primaries 5 not present and will be treated BT.601
decodebin new pad video/x-raw
Decodebin linked to pipeline
Calling Start 3
creating uridecodebin for [rtsp://192.168.8.53/live1.sdp]
decodebin child added source
STATE CHANGE NO PREROLL
Calling Start 1
creating uridecodebin for [rtsp://192.168.8.53/live1.sdp]
decodebin child added source
STATE CHANGE NO PREROLL
Calling Start 2
creating uridecodebin for [rtsp://192.168.8.53/live1.sdp]
decodebin child added source
STATE CHANGE NO PREROLL
Calling Stop 2
STATE CHANGE SUCCESS
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:32.960: gst_pad_send_event: assertion 'GST_IS_PAD (pad)' failed
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:32.960: gst_pad_send_event: assertion 'GST_IS_PAD (pad)' failed
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:32.960: gst_element_release_request_pad: assertion 'GST_IS_PAD (pad)' failed
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:32.960: gst_object_unref: assertion 'object != NULL' failed
STATE CHANGE SUCCESS (nil)
Calling Stop 0
STATE CHANGE SUCCESS
nvstreammux: Successfully handled EOS for source_id=0
STATE CHANGE SUCCESS 0x7f94340c5c90
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
Got EOS from stream 0
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
Calling Stop 3
STATE CHANGE SUCCESS
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:42.956: gst_pad_send_event: assertion 'GST_IS_PAD (pad)' failed
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:42.956: gst_pad_send_event: assertion 'GST_IS_PAD (pad)' failed
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:42.956: gst_element_release_request_pad: assertion 'GST_IS_PAD (pad)' failed
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:42.956: gst_object_unref: assertion 'object != NULL' failed
STATE CHANGE SUCCESS (nil)
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
WARNING from element stream-muxer: No Sources found at the input of muxer. Waiting for sources.
Warning: No Sources found at the input of muxer. Waiting for sources.
Calling Stop 1
STATE CHANGE SUCCESS
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:47.958: gst_pad_send_event: assertion 'GST_IS_PAD (pad)' failed
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:47.958: gst_pad_send_event: assertion 'GST_IS_PAD (pad)' failed
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:47.958: gst_element_release_request_pad: assertion 'GST_IS_PAD (pad)' failed
(deepstream-test-rt-src-add-del:2664946): GStreamer-CRITICAL **: 15:21:47.959: gst_object_unref: assertion 'object != NULL' failed
STATE CHANGE SUCCESS (nil)
All sources Stopped quitting
Returned, stopping playback
[NvMultiObjectTracker] De-initialized
Deleting pipeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment