Issue 1:
I am running python and keras on windows,

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))".

The ERRORs are as follows:

Using Theano backend.

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.

X_train shape: (60000L, 1L, 28L, 28L)

60000 train samples

10000 test samples

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 "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1772, in process_node

replacements = lopt.transform(node)

File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1223, in transform

repl = opt.transform(node)

File "C:\Anaconda2\lib\site-packages\theano\tensor\nnet\opt.py", line 153, in local_conv2d_cpu

subsample=node.op.subsample)

File "C:\Anaconda2\lib\site-packages\theano\tensor\nnet\conv.py", line 132, in conv2d

assert image_shape[1] == filter_shape[1]

AssertionError

image [None, None, None, None] filters [32, 32, 3, 3]

Traceback (most recent call last):

File "", line 1, in

runfile('E:/DeepLearning/kerasProject/kerasMnistExample.py', wdir='E:/DeepLearning/kerasProject')

File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 699, in runfile

execfile(filename, namespace)

File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 74, in execfile

exec(compile(scripttext, filename, 'exec'), glob, loc)

File "E:/DeepLearning/kerasProject/kerasMnistExample.py", line 77, in

verbose=1, validation_data=(X_test, Y_test))

File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\models.py", line 402, in fit

sample_weight=sample_weight)

File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\engine\training.py", line 986, in fit

self._make_test_function()

File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\engine\training.py", line 666, in _make_test_function

**self._function_kwargs)

File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\backend\theano_backend.py", line 498, in function

return Function(inputs, outputs, updates=updates, **kwargs)

File "C:\Anaconda2\lib\site-packages\keras-1.0.0-py2.7.egg\keras\backend\theano_backend.py", line 484, in init

**kwargs)

File "C:\Anaconda2\lib\site-packages\theano\compile\function.py", line 320, in function

output_keys=output_keys)

File "C:\Anaconda2\lib\site-packages\theano\compile\pfunc.py", line 479, in pfunc

output_keys=output_keys)

File "C:\Anaconda2\lib\site-packages\theano\compile\function_module.py", line 1776, in orig_function

output_keys=output_keys).create(

File "C:\Anaconda2\lib\site-packages\theano\compile\function_module.py", line 1456, in init

optimizer_profile = optimizer(fgraph)

File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 101, in call

return self.optimize(fgraph)

File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 89, in optimize

ret = self.apply(fgraph, _args, *_kwargs)

File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 230, in apply

sub_prof = optimizer.optimize(fgraph)

File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 89, in optimize

ret = self.apply(fgraph, _args, *_kwargs)

File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 2196, in apply

lopt_change = self.process_node(fgraph, node, lopt)

File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1777, in process_node

lopt, node)

File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1673, in warn_inplace

return NavigatorOptimizer.warn(exc, nav, repl_pairs, local_opt, node)

File "C:\Anaconda2\lib\site-packages\theano\gof\opt.py", line 1659, in warn

raise exc

AssertionError

Issue 2:
found a issue, not sure why.

was using Mac before, no issue happens.

but when switch to ubuntu, something happends..

I am running python 3.5 on ubuntu 14.04 TLS

I found some weird errors on my own code.

Then, I just tried running keras example mnist_cnn.py

the same thing happend:

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 "/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py", line 1772, in process_node
replacements = lopt.transform(node)
File "/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/gof/opt.py", line 1223, in transform
repl = opt.transform(node)
File "/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/opt.py", line 153, in local_conv2d_cpu
subsample=node.op.subsample)
File "/home/aaron/Git/.virtualenvs/ts/local/lib/python3.5/site-packages/theano/tensor/nnet/conv.py", line 132, in conv2d
assert image_shape[1] == filter_shape[1]
AssertionError

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

Not sure what it is.

help......