如何解决在超过 grpc 截止日期的情况下部署 tf 服务问题
帮助我完成 tensorflow 模型部署部分。我遇到了与截止日期相关的问题。
Exception in thread Thread-3:
stream1 | Traceback (most recent call last):
stream1 | File "/usr/lib/python3.6/threading.py",line 916,in _bootstrap_inner
stream1 | self.run()
stream1 | File "/usr/lib/python3.6/threading.py",line 864,in run
stream1 | self._target(*self._args,**self._kwargs)
stream1 | File "/app/camAppTF2.py",line 270,in frames
stream1 | boxes,pred_conf = do_inference(image=image_data)
stream1 | File "/app/tensorflow_client.py",line 36,in do_inference
stream1 | result = stub.Predict(pred_request,10) # 10 secs timeout
stream1 | File "/usr/local/lib/python3.6/dist-packages/grpc/_channel.py",line 826,in __call__
stream1 | return _end_unary_response_blocking(state,call,False,None)
stream1 | File "/usr/local/lib/python3.6/dist-packages/grpc/_channel.py",line 729,in _end_unary_response_blocking
stream1 | raise _InactiveRpcError(state)
stream1 | grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
stream1 | status = StatusCode.DEADLINE_EXCEEDED
stream1 | details = "Deadline Exceeded"
stream1 | debug_error_string = " {"created":"@1611235122.120446804","description":"Error received from peer ipv4:192.168.112.3:8500","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Deadline Exceeded","grpc_status":4}"
这是运行tensorflow服务时发生的错误
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。