-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to request the docker server(grpc.framework.interfaces.face.face.AbortionError: AbortionError(code=StatusCode.UNAVAILABLE, details="Connect Failed")) #597
Comments
How long did you wait after you ran the tensorflow_model_server and before you ran the inception_client? It is possible that the server hadn't finished startup when you ran the client. Can you wait for some time before running the client? If it still doesn't work, can you get the server log when the client fails? |
Got same issue..... any solution? |
root@f685b5d1d3ce:/serving# bazel-bin/tensorflow_serving/example/inception_client --servaer=172.17.0.2:9000 --image=./Xiang_Xiang_panda.jpg the problem still exist!!! can anyone help me?? |
@Himanshu141 @CLIsVeryOK For me, I had the inception-model folder in tensorflow folder. So the absolute for my exported model was "/tensorflow-serving/inception-export/". so I did "--model_base_path=/tensorflow-serving/inception-export/" Command line :
Output : Hope this solves the AbortionError ! |
root@bcc733637737:/serving# bazel-bin/tensorflow_serving/model_servers/tensorflow_model_server --port=9000 --model_name=inception --model_base_path=inception-export &> inception_log &
[1] 20
root@bcc733637737:/serving# bazel-bin/tensorflow_serving/example/inception_client --server=localhost:9000 --image=./Xiang_Xiang_panda.jpg
Traceback (most recent call last):
File "/serving/bazel-bin/tensorflow_serving/example/inception_client.runfiles/tf_serving/tensorflow_serving/example/inception_client.py", line 56, in
tf.app.run()
File "/serving/bazel-bin/tensorflow_serving/example/inception_client.runfiles/org_tensorflow/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "/serving/bazel-bin/tensorflow_serving/example/inception_client.runfiles/tf_serving/tensorflow_serving/example/inception_client.py", line 51, in main
result = stub.Predict(request, 10.0) # 10 secs timeout
File "/usr/local/lib/python2.7/dist-packages/grpc/beta/_client_adaptations.py", line 309, in call
self._request_serializer, self._response_deserializer)
File "/usr/local/lib/python2.7/dist-packages/grpc/beta/_client_adaptations.py", line 195, in _blocking_unary_unary
raise _abortion_error(rpc_error_call)
grpc.framework.interfaces.face.face.AbortionError: AbortionError(code=StatusCode.UNAVAILABLE, details="Connect Failed")
[1]+ Aborted bazel-bin/tensorflow_serving/model_servers/tensorflow_model_server --port=9000 --model_name=inception --model_base_path=inception-export &> inception_log
The text was updated successfully, but these errors were encountered: