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)
42
42
.. _dimshuffle: http://deeplearning.net/software/theano/library/tensor/basic.html#tensor._tensor_py_operators.dimshuffle
43
43
44
44
.. 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`_
46
46
47
47
.. _here: http://deeplearning.net/tutorial/code/convolutional_mlp.py
48
48
49
+ .. _3wolfmoon image: https://raw.githubusercontent.com/lisa-lab/DeepLearningTutorials/master/doc/images/3wolfmoon.jpg
50
+
49
51
50
52
Motivation
51
53
++++++++++
@@ -258,7 +260,7 @@ Let's have a little bit of fun with this...
258
260
from PIL import Image
259
261
260
262
# open random image of dimensions 639x516
261
- img = Image.open(open('images/3wolfmoon.jpg'))
263
+ img = Image.open(open('doc/ images/3wolfmoon.jpg'))
262
264
img = numpy.asarray(img, dtype='float64') / 256.
263
265
264
266
# put image in 4D tensor of shape (1, 3, height, width)
You can’t perform that action at this time.
0 commit comments