Open zdavatz opened 3 years ago
--edgetpu
option for running on the Coral board.One annoyance with Coral is that Google has changed its interface/installation a bit over the course of a year. I've just pushed my latest Dockerfile.rpi and build-rpi.sh (example) scripts to show what worked for installing Coral under Docker in Hypriot OS on Raspberry Pi 4.
Thank you. Do I need to install Docker on my Coral.ai Board to be able to run your Code? I would like to run the code straight on my Coral.ai board if that is possible.
For the 3rd example can I view the output through gstreamer in my webbrowser as well or do I have to attach a monitor?
./run.sh python3 deepdish.py --edgetpu --model=detectors/mobilenet/ssd_mobilenet_v2_coco_quant_postprocess_edgetpu.tflite --labels=detectors/mobilenet/labels.txt --encoder-model=encoders/mars-64x32x3.pb --wanted-labels car,bus,truck,bicycle
./run.sh: line 3: docker: command not found
sudo apt-get install docker
Docker version 18.09.6, build 481bc77
according to: unknown flag: --gpus
sudo dockerd
sudo make docker
# make docker
Step 3/32 : RUN apt-get update -y && apt-get upgrade -y
---> Running in 0f0392dec72f
standard_init_linux.go:207: exec user process caused "exec format error"
The command '/bin/bash -c apt-get update -y && apt-get upgrade -y' returned a non-zero code: 1
make: *** [Makefile:13: docker] Error 1
#RUN apt-get update -y && apt-get upgrade -
in Dockerfile
results in
standard_init_linux.go:207: exec user process caused "exec format error"
The command '/bin/bash -c apt-get install -y --allow-downgrades git python3-matplotlib python3-numpy python3-sklearn python3-opencv fonts-freefont-ttf vim less wget libcudnn7=7.6.5.32-1+cuda10.0 # force install of cuda10.0 compatible package' returned a non-zero code: 1
make: *** [Makefile:13: docker] Error 1
libcudnn7=7.6.5.32-1+cuda10.0
does not seem to be available in Mendel Linux.