How to create model engine file

deepstream-app version 6.0.1
DeepStreamSDK 6.0.1
CUDA Driver Version: 10.2
CUDA Runtime Version: 10.2
TensorRT Version: 8.2
cuDNN Version: 8.2
libNVWarp360 Version: 2.0.1d3

I use python
run python3 deepstream_test_1.py

ERROR: Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine open error
0:00:02.032651711 13831     0x2eed1780 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<nvinfer0> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1889> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-6.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine failed
0:00:02.054620493 13831     0x2eed1780 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<nvinfer0> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1996> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-6.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine failed, try rebuild
0:00:02.054745550 13831     0x2eed1780 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<nvinfer0> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1914> [UID = 1]: Trying to create engine from model files

in path /opt/nvidia/deepstream/deepstream-6.0/samples/models/Primary_Detector
not file resnet10.caffemodel_b1_gpu0_int8.engine

How do i build?

1 here is test command: python3 deepstream_test_1.py <h264_elementary_stream> , please refer to the README in deepstream-tet1.
2 at the first time, there is no engine file, app will build engine file from model file, it is normal printing, please wait the building end.

A moment later, a notification pops up.
usb debugger lost connection
unplug the usb and plug it back in. It won’t come back.
board freezes, has to restart, what is it?

1 did you build the engine successfully?
2 are you testing deepstream-test1-usb? what is your start command? did you see the video? is there any log on the terminal?

thx , power supply low current

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