File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,12 @@ Convolutional Neural Networks (LeNet)
4242.. _dimshuffle: http://deeplearning.net/software/theano/library/tensor/basic.html#tensor._tensor_py_operators.dimshuffle
4343
4444.. note::
45- The code for this section is available for download `here`_.
45+ The code for this section is available for download `here`_ and the `3wolfmoon image`_
4646
4747.. _here: http://deeplearning.net/tutorial/code/convolutional_mlp.py
4848
49+ .. _3wolfmoon image: https://raw.githubusercontent.com/lisa-lab/DeepLearningTutorials/master/doc/images/3wolfmoon.jpg
50+
4951
5052Motivation
5153++++++++++
@@ -258,7 +260,7 @@ Let's have a little bit of fun with this...
258260 from PIL import Image
259261
260262 # open random image of dimensions 639x516
261- img = Image.open(open('images/3wolfmoon.jpg'))
263+ img = Image.open(open('doc/ images/3wolfmoon.jpg'))
262264 img = numpy.asarray(img, dtype='float64') / 256.
263265
264266 # put image in 4D tensor of shape (1, 3, height, width)
You can’t perform that action at this time.
0 commit comments