DeepStream

DeepStream 3D Action Recognition App

by link :
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_3D_Action.html

Report the following error:

WARNING: …/nvdsinfer/nvdsinfer_model_builder.cpp:1487 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.4/sources/apps/sample_apps/deepstream-3d-action-recognition/./resnet18_3d_rgb_hmdb5_32.etlt_b4_gpu0_fp16.engine open error
0:00:05.697836411 6426 0x55f4c657ed00 WARN nvinfer gstnvinfer.cpp:679:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:2080> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-6.4/sources/apps/sample_apps/deepstream-3d-action-recognition/./resnet18_3d_rgb_hmdb5_32.etlt_b4_gpu0_fp16.engine failed
0:00:05.851469165 6426 0x55f4c657ed00 WARN nvinfer gstnvinfer.cpp:679:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2185> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-6.4/sources/apps/sample_apps/deepstream-3d-action-recognition/./resnet18_3d_rgb_hmdb5_32.etlt_b4_gpu0_fp16.engine failed, try rebuild
0:00:05.851497026 6426 0x55f4c657ed00 INFO nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:2106> [UID = 1]: Trying to create engine from model files
NvDsInferCudaEngineGetFromTltModel: Failed to open TLT encoded model file /opt/nvidia/deepstream/deepstream-6.4/sources/apps/sample_apps/deepstream-3d-action-recognition/./resnet18_3d_rgb_hmdb5_32.etlt
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:728 Failed to create network using custom network creation function
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:794 Failed to get cuda engine from custom library API
0:00:11.000593381 6426 0x55f4c657ed00 ERROR nvinfer gstnvinfer.cpp:676:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:2126> [UID = 1]: build engine file failed
free(): double free detected in tcache 2
已中止 (核心已转储)

Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
• The pipeline being used

This sample needs to download the corresponding model file. You can refer to the link mentioned in the README.

Search and Download 3D and 2D RGB based tao_iva_action_recognition_pretrained
models from NGC https://ngc.nvidia.com/catalog/models/nvidia:tao:actionrecognitionnet
into this folder. The 2 TAO models are
  resnet18_3d_rgb_hmdb5_32.etlt
  resnet18_2d_rgb_hmdb5_32.etlt

sudo unzip files.zip
Archive: files.zip
inflating: resnet18 2d of hmdb5 32 a100.etlt
inflating: resnet18 2d of hmdb5 32 xavier.etlt
inflating: resnet18 3d of hmdb5 32 a100.etlt
inflating:resnet18 3d of hmdb5 32 xavier.etlt

resnet18_3d_rgb_hmdb5_32.etlt does not exist

problem was solved

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