I am trying to build a docker image that has dependencies on OpenCV and Pytorch. I tried building the image using several methods available on the forum : trying to use the build, using multistage build using l4t images for pytorch, opencv, installing from Pip…nothing seems to be working.
How do I use the Opencv on the jetpack during runtime ? Also I encounter ImportError: libnvToolsExt.so.1: cannot open shared object file: No such file or directory error for torchvision installation, even after I have set the ENV paths. I see for many files /usr/lib/aarch64-linux-gnu/tegra/libnvgov_graphics.so is empty, not checked. being popped up during the image build.
Please let me know how to proceed with the installation of pytorch and opencv.