<p dir="auto">I am running python and keras on windows,<br>
I use anaconda2 with"pip install keras" to install the keras. The installed keras version is 1.0.0, and the installed theano version is 0.8.1. Then I run the keras example "mnist_cnn.py" step by step, the errors come out when it run the 70 line" model.fit(X_train, Y_train, batch_size=batch_size, nb_epoch=nb_epoch, verbose=1, validation_data=(X_test, Y_test))".<br>
The ERRORs are as follows:</p>
<p dir="auto">Using Theano backend.<br>
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.<br>
X_train shape: (60000L, 1L, 28L, 28L)<br>
60000 train samples<br>
10000 test samples<br>
ERROR (theano.gof.opt): Optimization failure due to: LocalOptGroup(local_abstractconv_gemm,local_abstractconv_gradinputs_gemm,local_abstractconv_gradweight_gemm,local_conv2d_cpu,local_conv2d_gradinputs_cpu,local_conv2d_gradweight_cpu)<br>
ERROR (theano.gof.opt): node: AbstractConv2d{border_mode='valid', subsample=(1, 1), filter_flip=True, imshp=(None, None, None, None), kshp=(32, 32, 3, 3)}(Elemwise{mul,no_inplace}.0, convolution2d_2_W)<br>
ERROR (theano.gof.opt): TRACEBACK:<br>
ERROR (theano.gof.opt): Traceback (most recent call last):<br>
File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1772, in process_node<br>
replacements = lopt.transform(node)<br>
File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1223, in transform<br>
repl = opt.transform(node)<br>
File "C:\Anaconda2\lib\site-packages\theano\tensor\nnet\opt.py", line 153, in local_conv2d_cpu<br>
subsample=node.op.subsample)<br>
File "C:\Anaconda2\lib\site-packages\theano\tensor\nnet\conv.py", line 132, in conv2d<br>
assert image_shape[1] == filter_shape[1]<br>
AssertionError</p>
<p dir="auto">image  [None, None, None, None]  filters  [32, 32, 3, 3]<br>
Traceback (most recent call last):</p>
<p dir="auto">File "", line 1, in <br>
runfile('E:/DeepLearning/kerasProject/kerasMnistExample.py', wdir='E:/DeepLearning/kerasProject')</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 699, in runfile<br>
execfile(filename, namespace)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 74, in execfile<br>
exec(compile(scripttext, filename, 'exec'), glob, loc)</p>
<p dir="auto">File "E:/DeepLearning/kerasProject/kerasMnistExample.py", line 77, in <br>
verbose=1, validation_data=(X_test, Y_test))</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\models.py", line 402, in fit<br>
sample_weight=sample_weight)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\engine\training.py", line 986, in fit<br>
self._make_test_function()</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\engine\training.py", line 666, in _make_test_function<br>
**self._function_kwargs)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\backend\theano_backend.py", line 498, in function<br>
return Function(inputs, outputs, updates=updates, **kwargs)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\backend\theano_backend.py", line 484, in <strong>init</strong><br>
**kwargs)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\compile\function.py", line 320, in function<br>
output_keys=output_keys)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\compile\pfunc.py", line 479, in pfunc<br>
output_keys=output_keys)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\compile\function_module.py", line 1776, in orig_function<br>
output_keys=output_keys).create(</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\compile\function_module.py", line 1456, in <strong>init</strong><br>
optimizer_profile = optimizer(fgraph)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 101, in <strong>call</strong><br>
return self.optimize(fgraph)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 89, in optimize<br>
ret = self.apply(fgraph, _args, *_kwargs)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 230, in apply<br>
sub_prof = optimizer.optimize(fgraph)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 89, in optimize<br>
ret = self.apply(fgraph, _args, *_kwargs)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 2196, in apply<br>
lopt_change = self.process_node(fgraph, node, lopt)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1777, in process_node<br>
lopt, node)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1673, in warn_inplace<br>
return NavigatorOptimizer.warn(exc, nav, repl_pairs, local_opt, node)</p>
<p dir="auto">File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1659, in warn<br>
raise exc</p>
<p dir="auto">AssertionError</p>
<p dir="auto">found a issue, not sure why.</p>
<p dir="auto">was using Mac before, no issue happens.</p>
<p dir="auto">but when switch to ubuntu, something happends..</p>
<p dir="auto">I am running python 3.5 on ubuntu 14.04 TLS</p>
<p dir="auto">I found some weird errors on my own code.</p>
<p dir="auto">Then, I just tried running <strong>keras example</strong> <em>mnist_cnn.py</em></p>
<p dir="auto">the same thing happend:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="image  [None, None, None, None]  filters  [32, 32, 3, 3]
ERROR (theano.gof.opt): Optimization failure due to: LocalOptGroup(local_abstractconv_gemm,local_abstractconv_gradinputs_gemm,local_abstractconv_gradweight_gemm,local_conv2d_cpu,local_conv2d_gradinputs_cpu,local_conv2d_gradweight_cpu)
ERROR (theano.gof.opt): node: AbstractConv2d{border_mode='valid', subsample=(1, 1), filter_flip=True, imshp=(None, None, None, None), kshp=(32, 32, 3, 3)}(Elemwise{mul,no_inplace}.0, convolution2d_2_W)
ERROR (theano.gof.opt): TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 1772, in process_node
    replacements = lopt.transform(node)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 1223, in transform
    repl = opt.transform(node)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/opt.py&quot;, line 153, in local_conv2d_cpu
    subsample=node.op.subsample)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/conv.py&quot;, line 132, in conv2d
    assert image_shape[1] == filter_shape[1]
AssertionError

Traceback (most recent call last):
  File &quot;mnist_cnn.py&quot;, line 71, in &lt;module&gt;
    verbose=1, validation_data=(X_test, Y_test))
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/models.py&quot;, line 402, in fit
    sample_weight=sample_weight)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/engine/training.py&quot;, line 986, in fit
    self._make_test_function()
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/engine/training.py&quot;, line 666, in _make_test_function
    **self._function_kwargs)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/backend/theano_backend.py&quot;, line 498, in function
    return Function(inputs, outputs, updates=updates, **kwargs)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/backend/theano_backend.py&quot;, line 484, in __init__
    **kwargs)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/compile/function.py&quot;, line 322, in function
    output_keys=output_keys)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/compile/pfunc.py&quot;, line 480, in pfunc
    output_keys=output_keys)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/compile/function_module.py&quot;, line 1778, in orig_function
    output_keys=output_keys).create(
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/compile/function_module.py&quot;, line 1458, in __init__
    optimizer_profile = optimizer(fgraph)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 101, in __call__
    return self.optimize(fgraph)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 89, in optimize
    ret = self.apply(fgraph, *args, **kwargs)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 230, in apply
    sub_prof = optimizer.optimize(fgraph)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 89, in optimize
    ret = self.apply(fgraph, *args, **kwargs)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 2196, in apply
    lopt_change = self.process_node(fgraph, node, lopt)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 1777, in process_node
    lopt, node)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 1673, in warn_inplace
    return NavigatorOptimizer.warn(exc, nav, repl_pairs, local_opt, node)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 1659, in warn
    raise exc
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 1772, in process_node
    replacements = lopt.transform(node)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py&quot;, line 1223, in transform
    repl = opt.transform(node)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/opt.py&quot;, line 153, in local_conv2d_cpu
    subsample=node.op.subsample)
  File &quot;/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/conv.py&quot;, line 132, in conv2d
    assert image_shape[1] == filter_shape[1]
AssertionError"><pre class="notranslate"><span class="pl-s1">image</span>  [<span class="pl-c1">None</span>, <span class="pl-c1">None</span>, <span class="pl-c1">None</span>, <span class="pl-c1">None</span>]  <span class="pl-s1">filters</span>  [<span class="pl-c1">32</span>, <span class="pl-c1">32</span>, <span class="pl-c1">3</span>, <span class="pl-c1">3</span>]
<span class="pl-v">ERROR</span> (<span class="pl-s1">theano</span>.<span class="pl-s1">gof</span>.<span class="pl-s1">opt</span>): <span class="pl-v">Optimization</span> <span class="pl-s1">failure</span> <span class="pl-s1">due</span> <span class="pl-s1">to</span>: <span class="pl-v">LocalOptGroup</span>(<span class="pl-s1">local_abstractconv_gemm</span>,<span class="pl-s1">local_abstractconv_gradinputs_gemm</span>,<span class="pl-s1">local_abstractconv_gradweight_gemm</span>,<span class="pl-s1">local_conv2d_cpu</span>,<span class="pl-s1">local_conv2d_gradinputs_cpu</span>,<span class="pl-s1">local_conv2d_gradweight_cpu</span>)
<span class="pl-v">ERROR</span> (<span class="pl-s1">theano</span>.<span class="pl-s1">gof</span>.<span class="pl-s1">opt</span>): <span class="pl-s1">node</span>: <span class="pl-v">AbstractConv2d</span>{<span class="pl-s1">border_mode</span><span class="pl-c1">=</span><span class="pl-s">'valid'</span>, <span class="pl-s1">subsample</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>), <span class="pl-s1">filter_flip</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">imshp</span><span class="pl-c1">=</span>(<span class="pl-c1">None</span>, <span class="pl-c1">None</span>, <span class="pl-c1">None</span>, <span class="pl-c1">None</span>), <span class="pl-s1">kshp</span><span class="pl-c1">=</span>(<span class="pl-c1">32</span>, <span class="pl-c1">32</span>, <span class="pl-c1">3</span>, <span class="pl-c1">3</span>)}(<span class="pl-v">Elemwise</span>{<span class="pl-s1">mul</span>,<span class="pl-s1">no_inplace</span>}.<span class="pl-c1">0</span>, <span class="pl-s1">convolution2d_2_W</span>)
<span class="pl-v">ERROR</span> (<span class="pl-s1">theano</span>.<span class="pl-s1">gof</span>.<span class="pl-s1">opt</span>): <span class="pl-v">TRACEBACK</span>:
<span class="pl-v">ERROR</span> (<span class="pl-s1">theano</span>.<span class="pl-s1">gof</span>.<span class="pl-s1">opt</span>): <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1772</span>, <span class="pl-c1">in</span> <span class="pl-s1">process_node</span>
    <span class="pl-s1">replacements</span> <span class="pl-c1">=</span> <span class="pl-s1">lopt</span>.<span class="pl-en">transform</span>(<span class="pl-s1">node</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1223</span>, <span class="pl-s1">in</span> <span class="pl-s1">transform</span>
    <span class="pl-s1">repl</span> <span class="pl-c1">=</span> <span class="pl-s1">opt</span>.<span class="pl-en">transform</span>(<span class="pl-s1">node</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">153</span>, <span class="pl-s1">in</span> <span class="pl-s1">local_conv2d_cpu</span>
    <span class="pl-s1">subsample</span><span class="pl-c1">=</span><span class="pl-s1">node</span>.<span class="pl-s1">op</span>.<span class="pl-s1">subsample</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/conv.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">132</span>, <span class="pl-s1">in</span> <span class="pl-s1">conv2d</span>
    <span class="pl-k">assert</span> <span class="pl-s1">image_shape</span>[<span class="pl-c1">1</span>] <span class="pl-c1">==</span> <span class="pl-s1">filter_shape</span>[<span class="pl-c1">1</span>]
<span class="pl-v">AssertionError</span>

<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
  <span class="pl-v">File</span> <span class="pl-s">"mnist_cnn.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">71</span>, <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>
    <span class="pl-s1">verbose</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">validation_data</span><span class="pl-c1">=</span>(<span class="pl-v">X_test</span>, <span class="pl-v">Y_test</span>))
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/models.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">402</span>, <span class="pl-s1">in</span> <span class="pl-s1">fit</span>
    <span class="pl-s1">sample_weight</span><span class="pl-c1">=</span><span class="pl-s1">sample_weight</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/engine/training.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">986</span>, <span class="pl-s1">in</span> <span class="pl-s1">fit</span>
    <span class="pl-s1">self</span>.<span class="pl-en">_make_test_function</span>()
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/engine/training.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">666</span>, <span class="pl-s1">in</span> <span class="pl-s1">_make_test_function</span>
    <span class="pl-c1">**</span><span class="pl-s1">self</span>.<span class="pl-s1">_function_kwargs</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/backend/theano_backend.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">498</span>, <span class="pl-s1">in</span> <span class="pl-s1">function</span>
    <span class="pl-k">return</span> <span class="pl-v">Function</span>(<span class="pl-s1">inputs</span>, <span class="pl-s1">outputs</span>, <span class="pl-s1">updates</span><span class="pl-c1">=</span><span class="pl-s1">updates</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/keras/backend/theano_backend.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">484</span>, <span class="pl-s1">in</span> <span class="pl-s1">__init__</span>
    <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/compile/function.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">322</span>, <span class="pl-s1">in</span> <span class="pl-s1">function</span>
    <span class="pl-s1">output_keys</span><span class="pl-c1">=</span><span class="pl-s1">output_keys</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/compile/pfunc.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">480</span>, <span class="pl-s1">in</span> <span class="pl-s1">pfunc</span>
    <span class="pl-s1">output_keys</span><span class="pl-c1">=</span><span class="pl-s1">output_keys</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/compile/function_module.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1778</span>, <span class="pl-s1">in</span> <span class="pl-s1">orig_function</span>
    <span class="pl-s1">output_keys</span><span class="pl-c1">=</span><span class="pl-s1">output_keys</span>).<span class="pl-en">create</span>(
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/compile/function_module.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1458</span>, <span class="pl-s1">in</span> <span class="pl-s1">__init__</span>
    <span class="pl-s1">optimizer_profile</span> <span class="pl-c1">=</span> <span class="pl-en">optimizer</span>(<span class="pl-s1">fgraph</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">101</span>, <span class="pl-s1">in</span> <span class="pl-s1">__call__</span>
    <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">optimize</span>(<span class="pl-s1">fgraph</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">89</span>, <span class="pl-s1">in</span> <span class="pl-s1">optimize</span>
    <span class="pl-s1">ret</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">apply</span>(<span class="pl-s1">fgraph</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">230</span>, <span class="pl-s1">in</span> <span class="pl-s1">apply</span>
    <span class="pl-s1">sub_prof</span> <span class="pl-c1">=</span> <span class="pl-s1">optimizer</span>.<span class="pl-en">optimize</span>(<span class="pl-s1">fgraph</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">89</span>, <span class="pl-s1">in</span> <span class="pl-s1">optimize</span>
    <span class="pl-s1">ret</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">apply</span>(<span class="pl-s1">fgraph</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">2196</span>, <span class="pl-s1">in</span> <span class="pl-s1">apply</span>
    <span class="pl-s1">lopt_change</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">process_node</span>(<span class="pl-s1">fgraph</span>, <span class="pl-s1">node</span>, <span class="pl-s1">lopt</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1777</span>, <span class="pl-s1">in</span> <span class="pl-s1">process_node</span>
    <span class="pl-s1">lopt</span>, <span class="pl-s1">node</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1673</span>, <span class="pl-s1">in</span> <span class="pl-s1">warn_inplace</span>
    <span class="pl-k">return</span> <span class="pl-v">NavigatorOptimizer</span>.<span class="pl-en">warn</span>(<span class="pl-s1">exc</span>, <span class="pl-s1">nav</span>, <span class="pl-s1">repl_pairs</span>, <span class="pl-s1">local_opt</span>, <span class="pl-s1">node</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1659</span>, <span class="pl-s1">in</span> <span class="pl-s1">warn</span>
    <span class="pl-k">raise</span> <span class="pl-s1">exc</span>
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1772</span>, <span class="pl-s1">in</span> <span class="pl-s1">process_node</span>
    <span class="pl-s1">replacements</span> <span class="pl-c1">=</span> <span class="pl-s1">lopt</span>.<span class="pl-en">transform</span>(<span class="pl-s1">node</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1223</span>, <span class="pl-s1">in</span> <span class="pl-s1">transform</span>
    <span class="pl-s1">repl</span> <span class="pl-c1">=</span> <span class="pl-s1">opt</span>.<span class="pl-en">transform</span>(<span class="pl-s1">node</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/opt.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">153</span>, <span class="pl-s1">in</span> <span class="pl-s1">local_conv2d_cpu</span>
    <span class="pl-s1">subsample</span><span class="pl-c1">=</span><span class="pl-s1">node</span>.<span class="pl-s1">op</span>.<span class="pl-s1">subsample</span>)
  <span class="pl-v">File</span> <span class="pl-s">"/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/conv.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">132</span>, <span class="pl-s1">in</span> <span class="pl-s1">conv2d</span>
    <span class="pl-k">assert</span> <span class="pl-s1">image_shape</span>[<span class="pl-c1">1</span>] <span class="pl-c1">==</span> <span class="pl-s1">filter_shape</span>[<span class="pl-c1">1</span>]
<span class="pl-v">AssertionError</span></pre></div>
<p dir="auto">Not sure what it is.</p>
<p dir="auto">help......</p>