-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInstallation.txt
executable file
·57 lines (47 loc) · 1.7 KB
/
Installation.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
INSTALL anaconda:
wget http://repo.continuum.io/archive/Anaconda3-4.0.0-Linux-x86_64.sh
bash Anaconda3-4.0.0-Linux-x86_64.sh
INSTALL CUDA 8.0:
FOR UBUNTU 16.04:
curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
dpkg -i ./cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
apt-get update
apt-get install cuda-8-0 -y
FOR UBUNTU 14.04:
curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_8.0.61-1_amd64.deb
dpkg -i ./cuda-repo-ubuntu1404_8.0.61-1_amd64.deb
apt-get update
apt-get install cuda-8-0 -y
apt-get install linux-headers-$(uname -r) -y
INSTALL CuDNN 6.0:
DOWNLOAD cudnn
tar -xzvf cudnn-6.0-linux-x64-v7.tgz
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*
INSTALL Python 3.5.4
FOR CONDA:
conda create -n tensorflow python=3.5
source activate tensorflow
conda install nb_conda
sudo apt-get install libcupti-dev
pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.3.0-cp35-cp35m-linux_x86_64.whl
pip install keras
pip install pandas
pip install tifffile
pip install matplotlib
pip install opencv-python
pip install shapely
pip install sklearn
pip install pillow
RASTERIO:
sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get install python-numpy gdal-bin libgdal-dev
pip install rasterio
RASTERIO IN CONDA:
conda config --add channels conda-forge
conda install rasterio
FOR SAVE MODELS IN KERAS:
sudo apt-get install libhdf5
pip install h5py