Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson Xavier
• DeepStream Version 5.0
• JetPack Version (valid for Jetson only) 4.4
I am building engine file for maskrcnn application.
My application runs using deepstream-app.
When building engine, I have error as follows.
cnn.etlt_b1_gpu0_fp16.engine open error
0:00:01.852291200 11795 0x55949c5160 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1690> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/../../models/maskrcnn/resnet34/maskrcnn.etlt_b1_gpu0_fp16.engine failed
0:00:01.852616832 11795 0x55949c5160 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1797> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/../../models/maskrcnn/resnet34/maskrcnn.etlt_b1_gpu0_fp16.engine failed, try rebuild
0:00:01.852751040 11795 0x55949c5160 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1715> [UID = 1]: Trying to create engine from model files
ERROR: [TRT]: UffParser: Could not read buffer.
parseModel: Failed to parse UFF model
ERROR: failed to build network since parsing model errors.
ERROR: Failed to create network using custom network creation function
ERROR: Failed to get cuda engine from custom library API
0:00:02.327505664 11795 0x55949c5160 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1735> [UID = 1]: build engine file failed
free(): invalid pointer
Aborted