You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "5_convolutional_net.py", line 78, in <module>
noise_l1, noise_l2, noise_l3, noise_l4, noise_py_x = model(X, w, w2, w3, w4, 0.2, 0.5)
File "5_convolutional_net.py", line 44, in model
r = conv2d(X, w, border_mode='full')
File "/home/fuxi/.virtualenvs/deep/local/lib/python2.7/site-packages/theano/tensor/nnet/conv.py", line 151, in conv2d
return op(input, filters)
File "/home/fuxi/.virtualenvs/deep/local/lib/python2.7/site-packages/theano/gof/op.py", line 507, in __call__
node = self.make_node(*inputs, **kwargs)
File "/home/fuxi/.virtualenvs/deep/local/lib/python2.7/site-packages/theano/tensor/nnet/conv.py", line 628, in make_node
"inputs(%s), kerns(%s)" % (_inputs.dtype, _kerns.dtype))
NotImplementedError: The image and the kernel must have the same type.inputs(float32), kerns(float64)
The text was updated successfully, but these errors were encountered:
even with the changes suggested by @qianguih I can't run the code example for convnet on osx. I also added theano.config.floatX='float64' at the beginning of the code.
Error occur when running final version of code.
Traceback
The text was updated successfully, but these errors were encountered: