Created
June 3, 2020 12:37
-
-
Save pinae/4a69992d2a041b5672cf67bd69db4930 to your computer and use it in GitHub Desktop.
Mit den TensorFlow-Binarys von GitHub-Nutzer PINTO0309 (siehe https://github.com/PINTO0309/Tensorflow-bin) lässt sich ein aktuelles 64-Bit-TensorFlow (Version 2.2) auf dem Raspi installieren. Damit das klappt, muss man allerdings eine Menge Abhängigkeiten installieren und sich das Python-Wheel per Skript von Google Drive laden:
This file contains 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
sudo apt-get install -y libhdf5-dev \ | |
libc-ares-dev libeigen3-dev gcc \ | |
gfortran python-dev libgfortran5 \ | |
libatlas3-base libatlas-base-dev \ | |
libopenblas-dev libopenblas-base \ | |
libblas-dev liblapack-dev cython \ | |
libatlas-base-dev openmpi-bin \ | |
libopenmpi-dev python3-dev | |
sudo pip3 install keras_applications==1.0.8 --no-deps | |
sudo pip3 install keras_preprocessing==1.1.0 --no-deps | |
sudo pip3 install h5py==2.9.0 | |
sudo pip3 install pybind11 | |
pip3 install -U --user six wheel mock | |
wget "https://raw.githubusercontent.com/PINTO0309/Tensorflow-bin/master/tensorflow-2.2.0-cp37-cp37m-linux_aarch64_download.sh" | |
./tensorflow-2.2.0-cp37-cp37m-linux_aarch64_download.sh | |
sudo -H pip3 install tensorflow-2.2.0-cp37-cp37m-linux_aarch64.whl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment