-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.sh
30 lines (22 loc) · 764 Bytes
/
setup.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
# Make sure dependencies are handled in the right way
pip install --upgrade pip
# Download the repo and
# load the version the notebooks have been developed with.
git clone https://github.com/albermax/innvestigate.git
cd innvestigate/
git checkout tags/sw_chapter_snapshot -b sw_chapter
# Install the repo
python setup.py install
# Install TF
#pip install tensorflow
pip install tensorflow-gpu
# and other dependencies
pip install scikit-image matplotlib numpy scipy keras scikit-learn lime jupyter
# Download the sample images
cd examples/images
bash wget_imagenet_2011_samples.sh
cd ../../
# Copy notebooks into the right location
cp ../notebooks/* examples/notebooks
# Run Jupyter from inside the innvestigate folder examples/notebooks
jupyter notebook