-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall_requisits.sh
42 lines (33 loc) · 1.43 KB
/
install_requisits.sh
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
#########################################################
#Federal University of Campina Grande (UFCG) #
#Machine Learning Course #
#PhD student: Ítalo de Pontes Oliveira #
#e-mail: italooliveira at copin dot ufcg dot edu dot br #
#Professor: Leandro Balby Marinho #
#########################################################
#Installing all Dependencies
#Update System
sudo apt -y update
#Install Numpy and other dependencies
#source: https://www.scipy.org/install.html
sudo apt -y install python3-numpy python3-scipy python3-matplotlib ipython3 ipython3-notebook python3-pandas python3-sympy python3-nose
#Install Scikit-learn
#source: http://scikit-learn.org/stable/install.html
sudo apt -y install python3-pip
sudo pip install -U scikit-learn
#Install Anaconda 4.4.0
#source: https://www.tensorflow.org/install/install_linux#InstallingAnaconda
wget https://repo.continuum.io/archive/Anaconda2-4.4.0-Linux-x86_64.sh
chmod +x Anaconda2-4.4.0-Linux-x86_64.sh
./Anaconda2-4.4.0-Linux-x86_64.sh
#At this point, close your terminal and open it again
#Installing Tensorflow with Anaconda
conda create -n tensorflow
source activate tensorflow
# CPU Only
pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp27-none-linux_x86_64.whl
#Install docker
sudo apt -y install docker docker.io
sudo docker run -it gcr.io/tensorflow/tensorflow bash
#Test Tensorflow without GPU
python test_tensorflow.py