Setting up Tensorflow 2 with Docker for the Raspberry PI 4

Photo by Michael Kilcoyne on Unsplash
Photo by JESHOOTS.COM on Unsplash

The Raspberry PI

Why not Tensorflow Lite?

Looking for a Docker image with Tensorflow for the Raspberry PI

Creating a Dockerfile for Tensorflow

# debian:stretch-20200130FROM debian@sha256:872b72a2b8487e4b91ae27855c7de1671635d3dc2cc0b89651103e55c74ed34a AS base FROM base as build...COPY --from=build /*.whl /RUN pip3 install *.whl
RUN wget
RUN pip3 install tensorflow-*.whl
RUN rm *.whl
docker login
docker push armindocachada/tensorflow2-raspberrypi4



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store