Deepstream-pose-estimation-app --input file://$BODYPOSE3D_HOME/streams/bodypose.mp4: build engine file failed

I am using Jetson orin nx and the following is my platform info:
deepstream-app version 7.0.0
DeepStreamSDK 7.0.0
CUDA Driver Version: 12.2
CUDA Runtime Version: 12.2
TensorRT Version: 8.6
cuDNN Version: 8.9
libNVWarp360 Version: 2.0.1d3
jetpack: 6.0
system os: Ubuntu 22.04.4 LTS

I am trying to run on of the samples and i got the following error :
./deepstream-pose-estimation-app --input file://$BODYPOSE3D_HOME/streams/bodypose.mp4
Now playing: file:///opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream_reference_apps/deepstream-bodypose-3d/streams/bodypose.mp4
Setting min object dimensions as 16x16 instead of 1x1 to support VIC compute mode.
0:00:07.414305748 5210 0xaaaadef05830 INFO nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger: NvDsInferContext[UID 2]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:2095> [UID = 2]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-7.0/sources/apps/sample_apps/deepstream_reference_apps/deepstream-bodypose-3d/models/bodypose3dnet_vdeployable_accuracy_v1.0/bodypose3dnet_accuracy.etlt_b8_gpu0_fp16.engine
INFO: [FullDims Engine Info]: layers num: 9
0 INPUT kFLOAT input0 3x256x192 min: 1x3x256x192 opt: 8x3x256x192 Max: 8x3x256x192
1 INPUT kFLOAT k_inv 3x3 min: 1x3x3 opt: 8x3x3 Max: 8x3x3
2 INPUT kFLOAT t_form_inv 3x3 min: 1x3x3 opt: 8x3x3 Max: 8x3x3
3 INPUT kFLOAT scale_normalized_mean_limb_lengths 36 min: 1x36 opt: 8x36 Max: 8x36
4 INPUT kFLOAT mean_limb_lengths 36 min: 1x36 opt: 8x36 Max: 8x36
5 OUTPUT kFLOAT pose25d 34x4 min: 0 opt: 0 Max: 0
6 OUTPUT kFLOAT pose2d 34x3 min: 0 opt: 0 Max: 0
7 OUTPUT kFLOAT pose3d 34x3 min: 0 opt: 0 Max: 0
8 OUTPUT kFLOAT pose2d_org_img 34x3 min: 0 opt: 0 Max: 0

0:00:07.822974332 5210 0xaaaadef05830 INFO nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger: NvDsInferContext[UID 2]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2198> [UID = 2]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-7.0/sources/apps/sample_apps/deepstream_reference_apps/deepstream-bodypose-3d/models/bodypose3dnet_vdeployable_accuracy_v1.0/bodypose3dnet_accuracy.etlt_b8_gpu0_fp16.engine
0:00:07.839357240 5210 0xaaaadef05830 INFO nvinfer gstnvinfer_impl.cpp:343:notifyLoadModelStatus: [UID 2]: Load new model:…/configs/config_infer_secondary_bodypose3dnet.txt sucessfully
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
[NvMultiObjectTracker] Initialized
Setting min object dimensions as 16x16 instead of 1x1 to support VIC compute mode.
WARNING: Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-7.0/sources/apps/sample_apps/deepstream_reference_apps/deepstream-bodypose-3d/configs/…/models/peoplenet_vdeployable_quantized_v2.5/resnet34_peoplenet_int8.etlt_b1_gpu0_int8.engine open error
0:00:14.323623416 5210 0xaaaadef05830 WARN nvinfer gstnvinfer.cpp:679:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:2083> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-7.0/sources/apps/sample_apps/deepstream_reference_apps/deepstream-bodypose-3d/configs/…/models/peoplenet_vdeployable_quantized_v2.5/resnet34_peoplenet_int8.etlt_b1_gpu0_int8.engine failed
0:00:14.762693978 5210 0xaaaadef05830 WARN nvinfer gstnvinfer.cpp:679:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2188> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-7.0/sources/apps/sample_apps/deepstream_reference_apps/deepstream-bodypose-3d/configs/…/models/peoplenet_vdeployable_quantized_v2.5/resnet34_peoplenet_int8.etlt_b1_gpu0_int8.engine failed, try rebuild
0:00:14.762759963 5210 0xaaaadef05830 INFO nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:2109> [UID = 1]: Trying to create engine from model files
NvDsInferCudaEngineGetFromTltModel: Failed to open TLT encoded model file /opt/nvidia/deepstream/deepstream-7.0/sources/apps/sample_apps/deepstream_reference_apps/deepstream-bodypose-3d/configs/…/models/peoplenet_vdeployable_quantized_v2.5/resnet34_peoplenet_int8.etlt
ERROR: Failed to create network using custom network creation function
ERROR: Failed to get cuda engine from custom library API
0:00:23.010931652 5210 0xaaaadef05830 ERROR nvinfer gstnvinfer.cpp:676:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:2129> [UID = 1]: build engine file failed
free(): double free detected in tcache 2
Aborted

Please help to fix the issue,thanks!

I have fixed the issue, thanks all!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.