Last active
November 19, 2020 15:19
-
-
Save Namburger/ceb384626657963f27da18d8a5080486 to your computer and use it in GitHub Desktop.
minimal Dockerfile for running some edgetpu demos on the dev board using the arm64 debian image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THIS IS DEPRECATED | |
# docker can be installed on the dev board following these instructions: | |
# https://github.com/f0cal/google-coral/issues/32#issuecomment-571629174 | |
# 1) create this dockerfile | |
# 2) build: docker build -t "coral" . | |
# 3) run: docker run -it --device /dev/apex_0:/dev/apex_0 coral /bin/bash | |
# 4) Try the classify_image demo: | |
# apt-get install edgetpu-examples | |
# python3 /usr/share/edgetpu/examples/classify_image.py --model /usr/share/edgetpu/examples/models/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite --label /usr/share/edgetpu/examples/models/inat_bird_labels.txt --image /usr/share/edgetpu/examples/images/bird.bmp | |
FROM arm64v8/debian:latest | |
WORKDIR /home | |
ENV HOME /home | |
RUN cd ~ | |
RUN apt-get update | |
RUN apt-get install -y git nano python3-pip python-dev pkg-config wget usbutils 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment