On Jetson Nano
using Jetpack 4.5
Deepstream 5.1
Ubuntu 18.04
model: SSD
I successfully built deepstream tao3.0and TensorRT OSS on jetson nano, and tried to run the python sample code with changing the config.
This is the command i run, its a code came from here:
Using winsys: x11
Opening in BLOCKING MODE
Opening in BLOCKING MODE
0:00:00.314522752 16636 0x23b12390 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1716> [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.532375420 16636 0x23b12390 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1736> [UID = 1]: build engine file failed
Segmentation fault
Not sure why, is it because my deepstream tao 3.0, TensorRT OSS failed to build, or the setings in config are wrong?
$./apps/tao_detection/ds-tao-detection -c configs/ssd_tao/pgie_ssd_tao_config.txt -i /opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.h264
Now playing: configs/ssd_tao/pgie_ssd_tao_config.txt
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
0:00:01.580582751 21560 0x557a1ef300 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1716> [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:05.644315085 21560 0x557a1ef300 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1736> [UID = 1]: build engine file failed
Segmentation fault
And for key I had tried the original one: nvidia_tlt
and mines: NHZtNnA1b2Noa2lzZWNibjV0OTY1cm9sYW46NGJmNDM3ODEtODllMy00ZWI5LWE5ZDUtODJiYzc0MWE3Zjlj
Both gave the same result.
Do you mean, in my case I should move .so, .so.7, .so.7.1.3 these three file do somewhere outside, and than put the new three file that I have generate in here?
Also, because of my previous command, th original one became 7.1.3.bak, so I should fist mv that file out side?