.engine open error

・Hardware Platform (Jetson)
・DeepStream Version 6.0.1
・JetPack Version 4.6.1
・TensorRT Version 8.2.1

I installed the DeepStream SDK by referring to the following.

Then I started the sample with the following command:
$ deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

At that time, the following error occurred.
ERROR: Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.0/samples/configs/deepstream-app/…/…/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine open error

I can’t find the resnet18.caffemodel_b16_gpu0_int8.engine file in “models/Secondary_CarMake/” directory.

How can I resolve this?
ERROR, but the application runs normally.

The engine file will be created if it doesn’t exist, this is the case you run the program for the first time. After it is created, it can be deserialized and load directly.

1 Like


Thank you very much.
The file is generated on the first boot, and the second and subsequent boots are faster.

No files were generated in $ deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt,
A file was generated in $ sudo deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt.

You need super priviledge to save the engine file to a location where normal user can not write into.