tensorflow_template_application
tensorflow_template_application copied to clipboard
grpc.framework.interfaces.face.face.ExpirationError: ExpirationError(code=StatusCode.DEADLINE_EXCEEDED, details="Deadline Exceeded")
When I run "./predict_client.py ... ..." or "cloudml models predict ... ..." It appear error: grpc.framework.interfaces.face.face.ExpirationError: ExpirationError(code=StatusCode.DEADLINE_EXCEEDED, details="Deadline Exceeded")
It seems the server is not available. Please make sure the server is running at the expected port.
in my case , I solved it by set stub.predict(request,10) to stub.predict(request,1000)
i have the same problem, and the server received the request and print 2018-06-09 16:24:39.758947: I tensorflow_serving/model_servers/main.cc:316] Running ModelServer at 0.0.0.0:9000 ... <<<<< in MergerInputs Func >>>>>>>> batch size is ================= 1