.engine open error

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

Hi
I installed the DeepStream SDK by referring to the following.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#install-the-deepstream-sdk

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?
however,
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

@yingliu

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,
but
A file was generated in $ sudo deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt.

1 Like

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

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