GeezerVison is showing github.com — Merge branch 'master' of [email protected]:lisa-lab/DeepLearningTutorials · ldfaiztt/DeepLearningTutorials@10db616
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | code/mnist.pkl.gz |
2 | 2 | html |
| 3 | +*.pyc |
| 4 | +*~ |
Collapse file
Copy file name to clipboardExpand all lines: code/convolutional_mlp.py +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
25 | 25 | import theano.tensor as T |
26 | 26 | import theano.sandbox.softsign |
27 | 27 | import pylearn.datasets.MNIST |
28 | | -from theano.tensor.signal import conv, downsample |
| 28 | +from theano.tensor.signal import downsample |
| 29 | +from theano.tensor.nnet import conv |
29 | 30 |
|
30 | 31 | class LeNetConvPoolLayer(object): |
31 | 32 | """WRITEME""" |
|
Collapse file
Copy file name to clipboard +23Lines changed: 23 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +#import convolutional_mlp, dbn, logistic_cg, logistic_sgd, mlp, rbm, SdA_loops, SdA |
| 2 | +import convolutional_mlp, logistic_cg, logistic_sgd, mlp, SdA_loops, SdA |
| 3 | +from nose.plugins.skip import SkipTest |
| 4 | +#TODO: dbn, rbm, SdA, SdA_loops, convolutional_mlp |
| 5 | +def test_logistic_sgd(): |
| 6 | + logistic_sgd.sgd_optimization_mnist(n_iter=10) |
| 7 | +def test_logistic_cg(): |
| 8 | + logistic_cg.cg_optimization_mnist(n_iter=10) |
| 9 | +def test_mlp(): |
| 10 | + mlp.sgd_optimization_mnist(n_iter=5) |
| 11 | +def test_convolutional_mlp(): |
| 12 | + raise SkipTest('Implementation not finished') |
| 13 | + convolutional_mlp.evaluate_lenet5(n_iter=5) |
| 14 | +def test_dbn(): |
| 15 | + raise SkipTest('Implementation not finished') |
| 16 | +def test_rbm(): |
| 17 | + raise SkipTest('Implementation not finished') |
| 18 | +def test_SdA_loops(): |
| 19 | + raise SkipTest('Implementation not finished') |
| 20 | + SdA_loops.sgd_optimization_mnist() |
| 21 | +def test_SdA(): |
| 22 | + raise SkipTest('Implementation not finished') |
| 23 | + SdA.sgd_optimization_mnist() |
Collapse file
Copy file name to clipboardExpand all lines: doc/lenet.txt +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -154,7 +154,7 @@ one of Figure 1. The input consists of 3 features maps (an RGB color image) of s |
154 | 154 |
|
155 | 155 | .. code-block:: python |
156 | 156 |
|
157 | | - from theano.tensor.signal import conv |
| 157 | + from theano.tensor.nnet import conv |
158 | 158 | rng = numpy.random.RandomState(23455) |
159 | 159 |
|
160 | 160 | # create type corresponding to 4D tensor |
|