This is a default configuration file, it hasn’t been modified. Continued to have issues, I think the README on the GitHub has some major issues of correctness.
However, I got further by following the blog-post it is based on.
Running the following steps from the blog (condensed here for easy reproducibility):
docker pull nvcr.io/nvidia/deepstream-l4t:5.0.1-20.09-samples (latest version).
sudo docker run --runtime=nvidia --network host \ -v $PWD:/workspace/ \ -ti nvcr.io/nvidia/deepstream-l4t:5.0.1-20.09-samples bash -i
Download model, prepare configs:
tar xvf faster_rcnn_inception_v2_coco_2018_01_28.tar.gz
cp faster_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb 1/model.graphdef
- Run the model:
deepstream-app -c source1_primary_faster_rcnn_inception_v2.txt
However, running the app fails with the error:
deepstream-app: error while loading shared libraries: libnvinfer.so.7: cannot open shared object file: No such file or directory.
If I look in the
/usr/lib/aarch64-linux-gnu of the container, I can see that
libnvinfer.so.7 isn’t there. But I thought that’s what passing the
--runtime=nvidia flag to Docker gives the container access to whatever it needs. The library is present in my base system.
Any idea what the issue could be?