parent
0e1069662b
commit
21222796fb
4
setup.sh
4
setup.sh
|
@ -21,8 +21,8 @@ git fetch && git reset --hard origin/rnn
|
||||||
arch="$(python3 -c 'import platform; print(platform.machine())')"
|
arch="$(python3 -c 'import platform; print(platform.machine())')"
|
||||||
|
|
||||||
if ! python3 -c 'import tensorflow' 2>/dev/null && [ "$arch" = "armv7l" ]; then
|
if ! python3 -c 'import tensorflow' 2>/dev/null && [ "$arch" = "armv7l" ]; then
|
||||||
wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v1.1.0/tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl -O tensorflow.whl
|
wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v1.1.0/tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl
|
||||||
sudo pip3 install tensorflow.whl
|
sudo pip3 install tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl
|
||||||
sudo pip3 uninstall mock || true
|
sudo pip3 uninstall mock || true
|
||||||
sudo pip3 install mock
|
sudo pip3 install mock
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue