Docker build on raspi 3

24 views
Skip to first unread message

paD peD

unread,
Sep 13, 2020, 9:29:49 AM9/13/20
to deep-learning-illustrated
Hey, 

i try to get some example with docker to start.
but o only got one error after error..

e.G.
sudo docker build .
Sending build context to Docker daemon  13.49MB
Step 1/4 : FROM jupyter/scipy-notebook:e7000ca1416d
 ---> 07b62729a953
Step 2/4 : MAINTAINER Jon Krohn <j...@untapt.com>
 ---> Using cache
 ---> a5c257d9096c
Step 3/4 : USER $NB_USER
 ---> Using cache
 ---> bbdcd67ad3a2
Step 4/4 : RUN pip install --upgrade pip==19.0.3 && pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp36-cp36m-linux_x86_64.whl && pip install tflearn==0.3.2 keras==2.2.0 nltk==3.3 gensim==3.4.0 gym==0.9.6 https://download.pytorch.org/whl/cpu/torch-1.0.1.post2-cp36-cp36m-linux_x86_64.whl torchvision==0.2.2.post3 h5py==2.8.0
 ---> Running in a8b45e68a965
standard_init_linux.go:211: exec user process caused "exec format error"
The command '/bin/sh -c pip install --upgrade pip==19.0.3 && pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp36-cp36m-linux_x86_64.whl && pip install tflearn==0.3.2 keras==2.2.0 nltk==3.3 gensim==3.4.0 gym==0.9.6 https://download.pytorch.org/whl/cpu/torch-1.0.1.post2-cp36-cp36m-linux_x86_64.whl torchvision==0.2.2.post3 h5py==2.8.0' returned a non-zero code: 1


isn it compatible to the raspberry 3?

best regards
patrick

Jon Krohn

unread,
Sep 15, 2020, 3:35:35 PM9/15/20
to deep-learning-illustrated
Hi there, Patrick! 

I haven't tested my software on a Raspberry Pi specifically. I suspect, however, that training deep learning models on a Pi might be difficult or impossible because of limited memory and compute resources. If you don't have access to another machine locally, I'd recommend using the code for Deep Learning Illustrated  via Google Colab, which is a free resource that provides access to powerful cloud servers. More detail on this option is provided at the top of the repo's installation page here.

Thanks,
Jon

Reply all
Reply to author
Forward
0 new messages