File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
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)
Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ Modeling and generating sequences of polyphonic music with the RNN-RBM
2020 Note that both dependencies above can be setup automatically by running the ``download.sh`` script in the ``../data`` directory.
2121
2222.. caution::
23- Depending on your locally installed Theano version, you may have problems running this script.
24- If this is the case, please use the `'bleeding-edge' developer version <http://deeplearning.net/software/theano/#download>`_ from github.
23+ Need Theano 0.6 or more recent.
2524
2625
2726The RNN-RBM
You can’t perform that action at this time.
0 commit comments