---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-25-ae07b2745649> in <module>()
----> 1 result = model.predict(x)
/home/christiaan/anaconda3/lib/python3.5/site-packages/keras/engine/training.py in predict(self, x, batch_size, verbose)
1199 x = standardize_input_data(x, self.input_names,
1200 self.internal_input_shapes,
-> 1201 check_batch_dim=False)
1202 if self.stateful:
1203 if x[0].shape[0] > batch_size and x[0].shape[0] % batch_size != 0:
/home/christiaan/anaconda3/lib/python3.5/site-packages/keras/engine/training.py in standardize_input_data(data, names, shapes, check_batch_dim, exception_prefix)
111 ' to have shape ' + str(shapes[i]) +
112 ' but got array with shape ' +
--> 113 str(array.shape))
114 return arrays
115
ValueError: Error when checking : expected input_1 to have shape (None, 224, 224, 3) but got array with shape (1, 500, 500, 3)