diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2016-10-10 10:26:22 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-10-10 11:35:00 -0700 |
commit | edaf3b342db4afa1c872da541fb0ac176a4e8ef9 (patch) | |
tree | b976073fdc2a6404cbdc3ee323a637e2e1b16846 /tensorflow/examples/udacity | |
parent | d1518c26530daaee854e73365bd7dfb9a2f69dbd (diff) |
Merge changes from github.
Change: 135698415
Diffstat (limited to 'tensorflow/examples/udacity')
-rw-r--r-- | tensorflow/examples/udacity/1_notmnist.ipynb | 2 | ||||
-rw-r--r-- | tensorflow/examples/udacity/3_regularization.ipynb | 2 | ||||
-rw-r--r-- | tensorflow/examples/udacity/Dockerfile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/examples/udacity/1_notmnist.ipynb b/tensorflow/examples/udacity/1_notmnist.ipynb index 01c6231ab4..b60d4a9034 100644 --- a/tensorflow/examples/udacity/1_notmnist.ipynb +++ b/tensorflow/examples/udacity/1_notmnist.ipynb @@ -57,7 +57,7 @@ "from six.moves.urllib.request import urlretrieve\n", "from six.moves import cPickle as pickle\n", "\n", - "# Config the matlotlib backend as plotting inline in IPython\n", + "# Config the matplotlib backend as plotting inline in IPython\n", "%matplotlib inline" ], "outputs": [], diff --git a/tensorflow/examples/udacity/3_regularization.ipynb b/tensorflow/examples/udacity/3_regularization.ipynb index 5e1d30f54f..2658c00b6c 100644 --- a/tensorflow/examples/udacity/3_regularization.ipynb +++ b/tensorflow/examples/udacity/3_regularization.ipynb @@ -180,7 +180,7 @@ "\n", "def reformat(dataset, labels):\n", " dataset = dataset.reshape((-1, image_size * image_size)).astype(np.float32)\n", - " # Map 2 to [0.0, 1.0, 0.0 ...], 3 to [0.0, 0.0, 1.0 ...]\n", + " # Map 1 to [0.0, 1.0, 0.0 ...], 2 to [0.0, 0.0, 1.0 ...]\n", " labels = (np.arange(num_labels) == labels[:,None]).astype(np.float32)\n", " return dataset, labels\n", "train_dataset, train_labels = reformat(train_dataset, train_labels)\n", diff --git a/tensorflow/examples/udacity/Dockerfile b/tensorflow/examples/udacity/Dockerfile index 4af441018b..b7b094621a 100644 --- a/tensorflow/examples/udacity/Dockerfile +++ b/tensorflow/examples/udacity/Dockerfile @@ -1,6 +1,6 @@ FROM gcr.io/tensorflow/tensorflow:latest MAINTAINER Vincent Vanhoucke <vanhoucke@google.com> -RUN pip install scikit-learn +RUN pip install scikit-learn pyreadline Pillow RUN rm -rf /notebooks/* ADD *.ipynb /notebooks/ WORKDIR /notebooks |