PFB the simillar error which I had got while executing the fit command of my model,
Traceback (most recent call last):
File "model_sample_data_test_lfw_testing.py", line 138, in <module>
model.add(LocallyConnected2D(nb_filter[4], nb_row[4], nb_col[4],border_mode=border_mode, init=weight_init))
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.2-py2.7.egg/keras/models.py", line 146, in add
output_tensor = layer(self.outputs[0])
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.2-py2.7.egg/keras/engine/topology.py", line 458, in __call__
self.build(input_shapes[0])
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.2-py2.7.egg/keras/layers/local.py", line 303, in build
self.W = self.init(self.W_shape, name='{}_W'.format(
self.name))
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.2-py2.7.egg/keras/initializations.py", line 73, in he_uniform
return uniform(shape, s, name=name)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.2-py2.7.egg/keras/initializations.py", line 30, in uniform
return K.variable(np.random.uniform(low=-scale, high=scale, size=shape),
File "mtrand.pyx", line 1565, in mtrand.RandomState.uniform (numpy/random/mtrand/mtrand.c:17303)
I had a got a simillar error, which I solved by increasing the size of my image.
Is this the correct way to proceed to with this error?
According to my calculations the feature maps do not reduce to 0 in my model architecture. Are their any contraints associated with this ?