Aktionen

Install Jupyter & Tensorflow on Ubuntu

Aus exmediawiki

Python installieren:

sudo apt-get install python-pip python-dev

Wissenschaftliche Pakete installieren:

sudo apt-get install build-essential cmake git unzip pkg-config libopenblas-dev liblapack-dev
sudo apt-get install python-numpy python-scipy python-matplotlib
sudo apt-get install libhdf5-serial-dev python-h5py
sudo apt-get install graphviz
sudo apt-get install python-opencv

GPU-Unterstützung einrichten:

CUDA-Downloaden

wget https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda-repo-ubuntu1604-10-0-local-10.0.130-410.48_1.0-1_amd64

oder

wget https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda-repo-ubuntu1604-10-0-local-10.0.130-410.48_1.0-1_amd64.deb

Tensorflow installieren

ohne GPU

pip install tensorflow

mit GPU

pip install tensorflow-gpu

Keras installieren

pip install keras

alternativer keras install

git clone https://github.com/fchollet/keras
cd keras
sudo python setup.py install