Closed airqualityanthony closed 3 years ago
I think the issue is the installation of the tflite runtime and edgetpu libraries have been updated. I had to edit the dockerfile to contain the following:
# install tflite runtime
RUN apt-get install -y apt-utils
RUN apt-get install -y curl
RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN apt-get update -y
RUN apt-get install -y libedgetpu1-std
RUN apt-get install -y python3-pycoral
Seems to work ok.
@nathanrooy I'll close out, suggest the above changes to be implemented for latest installation. Feel free to check and edit if necessary.
Running the docker as per the file instructions - RPi 4 with a TPI.
Trying to run the command: umt -video highway_01.mp4 -tpu
I get the following:
It works fine when I run without the tpu argument. I have the tpu installed correctly, and works for other code outside the docker.
Any help?
Thanks,
Anthony