Skip to content

Commit adcbb0e

Browse files
author
Carlos Araya
committedOct 9, 2019
Modified dependency string for each of the tutorials
1 parent 4827488 commit adcbb0e

6 files changed

+10
-14
lines changed
 

‎tutorials/CIFAR_TorchVision_Captum_Insights.ipynb

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
"\n",
1616
"More details about the model can be found here: https://pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html#sphx-glr-beginner-blitz-cifar10-tutorial-py\n ",
1717
"\n ",
18-
"**Note:** This tutorial uses torchvision. To download torchvision you can do one of the following:\n ",
19-
"- **Conda:** conda install torchvision -c pytorch\n ",
20-
"- **Pip:** pip3 install torchvision"
18+
"**Note:** Before running this tutorial, please install the torchvision, and IPython packages."
2119
]
2220
},
2321
{

‎tutorials/CIFAR_TorchVision_Interpret.ipynb

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
"\n",
1616
"More details about the model can be found here: https://pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html#sphx-glr-beginner-blitz-cifar10-tutorial-py\n ",
1717
"\n ",
18-
"**Note:** This tutorial uses torchvision. To download torchvision you can do one of the following:\n ",
19-
"- **Conda:** conda install torchvision -c pytorch\n ",
20-
"- **Pip:** pip3 install torchvision"
18+
"**Note:** Before running this tutorial, please install the torchvision, and matplotlib packages."
2119
]
2220
},
2321
{

‎tutorials/IMDB_TorchText_Interpret.ipynb

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"source": [
1616
"This notebook loads pretrained CNN model for sentiment analysis on IMDB dataset. It makes predictions on test samples and interprets those predictions using integrated gradients method.\n",
1717
"\n",
18-
"The model was trained using an open source sentiment analysis tutorials described in: https://github.com/bentrevett/pytorch-sentiment-analysis/blob/master/4%20-%20Convolutional%20Sentiment%20Analysis.ipynb"
18+
"The model was trained using an open source sentiment analysis tutorials described in: https://github.com/bentrevett/pytorch-sentiment-analysis/blob/master/4%20-%20Convolutional%20Sentiment%20Analysis.ipynb\n ",
19+
"\n ",
20+
"**Note:** Before running this tutorial, please install the spacy package, and its NLP modules for English language."
1921
]
2022
},
2123
{

‎tutorials/Multimodal_VQA_Interpret.ipynb

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
"As a reference VQA model we use the following open source implementation:\n",
1717
"https://github.com/Cyanogenoid/pytorch-vqa\n ",
1818
"\n ",
19-
"**Note:** This tutorial uses torchvision. To download torchvision you can do one of the following:\n ",
20-
"- **Conda:** conda install torchvision -c pytorch\n ",
21-
"- **Pip:** pip3 install torchvision"
19+
"**Note:** Before running this tutorial, please install the torchvision, PIL, and matplotlib packages."
2220
]
2321
},
2422
{

‎tutorials/Resnet_TorchVision_Interpret.ipynb

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
"\n",
1616
"The interpretation algorithms that we use in this notebook are Integrated Gradients (w/o noise tunnel) and GradientShap. Noise tunnel allows to smoothen the attributions after adding gaussian noise to each input sample.\n ",
1717
"\n ",
18-
"**Note:** This tutorial uses torchvision. To download torchvision you can do one of the following:\n ",
19-
"- **Conda:** conda install torchvision -c pytorch\n ",
20-
"- **Pip:** pip3 install torchvision"
18+
"**Note:** Before running this tutorial, please install the torchvision, PIL, and matplotlib packages."
2119
]
2220
},
2321
{

‎tutorials/Titanic_Basic_Interpret.ipynb

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"cell_type": "markdown",
1212
"metadata": {},
1313
"source": [
14-
"In this notebook, we will demonstrate the basic features of the Captum interpretability library through an example model trained on the Titanic survival data. We will first train a deep neural network on the data using PyTorch and use Captum to understand which of the features were most important and how the network reached its prediction."
14+
"In this notebook, we will demonstrate the basic features of the Captum interpretability library through an example model trained on the Titanic survival data. We will first train a deep neural network on the data using PyTorch and use Captum to understand which of the features were most important and how the network reached its prediction.\n ",
15+
"\n ",
16+
"**Note:** Before running this tutorial, please install the scipy, pandas, and matplotlib packages."
1517
]
1618
},
1719
{

0 commit comments

Comments
 (0)
Please sign in to comment.