Skip to content

Commit 775c76b

Browse files
committed
Add link to the 3wolfmoon image and fix its path
1 parent 3f3234b commit 775c76b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/lenet.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

5052
Motivation
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)

0 commit comments

Comments
 (0)