---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-7-83af873d7e21> in <module>()
20 batch_size=256,
21 shuffle=True,
---> 22 validation_data=(X_test, X_test))
/home/felipe/venv2-global/local/lib/python2.7/site-packages/keras/engine/training.pyc in fit(self, x, y, batch_size, nb_epoch, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight)
1033 class_weight=class_weight,
1034 check_batch_dim=False,
-> 1035 batch_size=batch_size)
1036 # prepare validation data
1037 if validation_data:
/home/felipe/venv2-global/local/lib/python2.7/site-packages/keras/engine/training.pyc in _standardize_user_data(self, x, y, sample_weight, class_weight, check_batch_dim, batch_size)
960 self.internal_input_shapes,
961 check_batch_dim=False,
--> 962 exception_prefix='model input')
963 y = standardize_input_data(y, self.output_names,
964 output_shapes,
/home/felipe/venv2-global/local/lib/python2.7/site-packages/keras/engine/training.pyc in standardize_input_data(data, names, shapes, check_batch_dim, exception_prefix)
106 ' to have shape ' + str(shapes[i]) +
107 ' but got array with shape ' +
--> 108 str(array.shape))
109 return arrays
110
Exception: Error when checking model input: expected input_2 to have shape (None, 23149) but got array with shape (23149, 47236)