Hi all,
I am new to working on this and I am trying to get a docker build to work. Here is what I believe are the relevant parts of the dockerfile.
FROM nvcr.io/nvidia/l4t-tensorrt:r8.4.1.5-devel
ARG HOME=/app
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install --no-install-recommends -y tcl build-essential gcc ffmpeg libsm6 libxext6 python3-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/*
#Makefile occurs here
RUN /usr/local/bin/pip3 install --no-cache-dir -r req.txt
In my req.txt I have tensorflow==2.13.1. This is resulting in this error:
#0 43.45 error: Unable to load dependency HDF5, make sure HDF5 is installed properly #0 43.45 Library dirs checked: [] #0 43.45 error: libhdf5.so: cannot open shared object file: No such file or directory #0 43.45 [end of output]
Everything I have looked up online indicates that this is missing libhdf5. I have tried adding libhdf5-dev and libhdf5-serial-dev to my apt-get install and they all end up with this error:
0 11.42 Err:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libjpeg-turbo8-dev arm64 2.0.3-0ubuntu1.20.04.1
#0 11.42 404 Not Found [IP: 185.125.190.39 80]
#0 11.43 Fetched 6468 kB in 3s (2379 kB/s)
#0 11.43 E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/libj/libjpeg-turbo/libjpeg-turbo8-dev_2.0.3-0ubuntu1.20.04.1_arm64.deb 404 Not Found [IP: 185.125.190.39 80]
#0 11.43 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Is this a problem that I am using the wrong tensorrt version?