I\'m working on a reinforcement learning model implemented with Keras and Tensorflow. I have to do frequent calls to model.predict() on single inputs.
While testing infe
A little late, but maybe useful for someone:
Replace model.predict(X) with model.predict(X, batch_size=len(X))
model.predict(X)
model.predict(X, batch_size=len(X))
That should do it.