tobegit3hub / tensorflow_template_application

TensorFlow template application for deep learning
Apache License 2.0
1.87k stars 715 forks source link

grpc.framework.interfaces.face.face.ExpirationError: ExpirationError(code=StatusCode.DEADLINE_EXCEEDED, details="Deadline Exceeded") #40

Open LongQi opened 6 years ago

LongQi commented 6 years ago

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")

tobegit3hub commented 6 years ago

It seems the server is not available. Please make sure the server is running at the expected port.

machine4life commented 6 years ago

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