-
Notifications
You must be signed in to change notification settings - Fork 5
/
Install.txt
54 lines (41 loc) · 1.5 KB
/
Install.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
1. Remove Anaconda Python if any
vim ~/.bashrc
comment the last line
export PATH="/home/shivam/anaconda2/bin:$PATH"
2. Install OS Level Dependencies
$sudo apt-get install build-essential
$sudo apt-get install python-dev
Matplotlib prerequisite
$sudo apt-get install pkg-config libpng-dev libfreetype6-dev
Scipy prerequisite
$sudo apt-get install gfortran libopenblas-dev liblapack-dev
Pillow prerequisite
$sudo apt-get install libjpeg-dev
3. Install PIP, VirtualEnv, Setuptools & update them
sudo apt-get install python-pip
$pip install --upgrade pip
$pip install --upgrade setuptools
$pip install --upgrade virtualenv
4. cd to your virtual environment directory & create a virtual environment
$virtualenv --system-site-packages NameOfEnvironment
5. Activate the environment
$source NameOfEnvironemt/bin/activate
6. Install GIT
$sudo apt-get install git
7. Clone the Tefla Repo by
$git clone https://github.com/litan/tefla.git
8. Install Tefla Dependencies
$pip install -r requirements.txt
Sometimes it breaks so install Numpy first
$pip install numpy==1.12.0
and then again install through requirement file
$pip install -r requirements.txt
9. Install tensorflow 1.0
If installing on CPU
$pip install tensorflow
If installing on GPU
$pip install tensorflow-gpu
10. Finally install Tefla
cd into the tefla code
$cd tefla
$pip install -e .