When I use Keras to predict behind a web service, it occurred an error. and the error message is like flowing: self._make_predict_function() File "/usr/local/lib/python3.4/dist-packages/keras/engine/training.py", line 679, in _make_predict_fun
The model.evaluate function predicts the output for the given input and then computes the metrics function specified in the model.compile and based on y_true and y_pred and returns the computed metric value as the output. The model.predict