Skip to content

Commit 74f62e8

Browse files
committed
Changed the tutorial 0 to mark the difference between versions of TF 1.4 and 1.3
1 parent 0f5f8de commit 74f62e8

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

tensorflow_tutorial_0.ipynb

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
"\n",
1111
"## Environment configuration\n",
1212
"\n",
13-
"There are two major package managers in Python: `pip` and `conda`. For this tutorial we will be using conda which, besides being a package manager is also useful as a version manager. There are two main ways to install conda: [Anaconda](https://conda.io/docs/install/quick.html) and [Miniconda](https://conda.io/miniconda.html).\n",
13+
"There are two major package managers in Python: `pip` and `conda`. For this tutorial we will be using conda which, besides being a package manager is also useful as a version manager. There are two main ways to install conda: [Anaconda](https://conda.io/docs/install/quick.html) and [Miniconda](https://conda.io/miniconda.html). For this tutorial we will be using Python version 3.6.\n",
1414
"\n",
1515
"In order to install tensorflow we recommend following the [official documentation](https://www.tensorflow.org/install/install_linux#installing_with_anaconda). In particular, for the conda installation, they advise to use pip instead of conda as the only available Anaconda package for tensorflow is not actively mantained.\n",
1616
"\n",
17-
"All the available tensorflow versions (for both Python 2 and 3 and with CPU and GPU support) can be found [in this link](https://www.tensorflow.org/install/install_linux#the_url_of_the_tensorflow_python_package). For this course we will be using: https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp35-cp35m-linux_x86_64.whl\n",
17+
"All the available tensorflow versions (for both Python 2 and 3 and with CPU and GPU support) can be found [in this link](https://www.tensorflow.org/install/install_linux#the_url_of_the_tensorflow_python_package). For this course we will be using tensorflow 1.4<sup>1</sup>: `https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl`\n",
1818
"\n",
19-
"The commands to setup the environment are the following\n",
19+
"The commands to setup the environment are the following:\n",
2020
"\n",
2121
"```\n",
2222
"$ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh\n",
2323
"$ bash Miniconda3-latest-Linux-x86_64.sh\n",
24-
"$ conda create --name pydata python=3.5\n",
24+
"$ conda create --name pydata python=3.6\n",
2525
"$ source activate pydata\n",
2626
"(pydata) $ conda install numpy scipy jupyter nb_conda\n",
27-
"(pydata) $ export tfBinaryURL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.0-cp35-cp35m-linux_x86_64.whl\n",
27+
"(pydata) $ export tfBinaryURL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl\n",
2828
"(pydata) $ pip install $tfBinaryURL\n",
2929
"(pydata) $ jupyter notebook\n",
3030
"```\n",
@@ -36,17 +36,9 @@
3636
},
3737
{
3838
"cell_type": "code",
39-
"execution_count": 2,
39+
"execution_count": null,
4040
"metadata": {},
41-
"outputs": [
42-
{
43-
"name": "stdout",
44-
"output_type": "stream",
45-
"text": [
46-
"1.4.0\n"
47-
]
48-
}
49-
],
41+
"outputs": [],
5042
"source": [
5143
"import tensorflow as tf\n",
5244
"print(tf.__version__)"
@@ -63,7 +55,6 @@
6355
"```\n",
6456
"(pydata) $ conda install gensim\n",
6557
"(pydata) $ conda install scikit-learn\n",
66-
"(pydata) $ conda install seaborn\n",
6758
"```"
6859
]
6960
},
@@ -94,14 +85,23 @@
9485
"\n",
9586
"The ouput should be an executable file inside your anaconda environment. Something like `~/miniconda/envs/pydata/bin/tensorboard`"
9687
]
88+
},
89+
{
90+
"cell_type": "markdown",
91+
"metadata": {},
92+
"source": [
93+
"---\n",
94+
"\n",
95+
"<sup>1</sup> The tensorflow version used in this tutorial is version 1.4 because there are some functionalities needed for tensorboard to follow the model evaluation that are available for this version and not version 1.3. However, most of the tutorial can be done with version 1.3 of tensorflow (in case the environment was already set up)."
96+
]
9797
}
9898
],
9999
"metadata": {
100100
"anaconda-cloud": {},
101101
"kernelspec": {
102-
"display_name": "Python [conda env:keras]",
102+
"display_name": "Python [conda env:pydata]",
103103
"language": "python",
104-
"name": "conda-env-keras-py"
104+
"name": "conda-env-pydata-py"
105105
},
106106
"language_info": {
107107
"codemirror_mode": {
@@ -113,7 +113,7 @@
113113
"name": "python",
114114
"nbconvert_exporter": "python",
115115
"pygments_lexer": "ipython3",
116-
"version": "3.5.4"
116+
"version": "3.6.2"
117117
}
118118
},
119119
"nbformat": 4,

tensorflow_tutorial_1.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"# Train and visualize a model in Tensorflow - Part 1 (optional): Dataset Preprocessing\n",
88
"\n",
9-
"This notebook is optional for those who want to follow how we got the dataset we are using for the tutorial. For this tutorial you need to previously do all the configuration steps explained in **tutorial 0**, plus install the optional libraries (particularly `scikit-learn` and `gensim`).\n",
9+
"This notebook is optional for those who want to follow how we got the dataset we are using for the tutorial. For this tutorial you need to previously do all the configuration steps explained in **tutorial 0**, plus install the optional libraries.\n",
1010
"\n",
1111
"## Dataset Download\n",
1212
"\n",
@@ -226,9 +226,9 @@
226226
"metadata": {
227227
"anaconda-cloud": {},
228228
"kernelspec": {
229-
"display_name": "Python [conda env:keras]",
229+
"display_name": "Python [conda env:pydata]",
230230
"language": "python",
231-
"name": "conda-env-keras-py"
231+
"name": "conda-env-pydata-py"
232232
},
233233
"language_info": {
234234
"codemirror_mode": {
@@ -240,7 +240,7 @@
240240
"name": "python",
241241
"nbconvert_exporter": "python",
242242
"pygments_lexer": "ipython3",
243-
"version": "3.5.3"
243+
"version": "3.6.2"
244244
}
245245
},
246246
"nbformat": 4,

0 commit comments

Comments
 (0)