Need help to send string/bytes data into the InferenceServerClient #7514
Closed
alexkudryavtsev88
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I've faced with a following problem:
I try to send some text data using
tritonclient.grpc.InferenceServerClient
(python), pass this text data asinput
wrapped withnumpy.array
and specify some dummy output.The code:
My text model has following Metadata:
Then I retrieve the following error:
"inference.GRPCInferenceService/ModelInfer: INTERNAL: <Datatype.BYTES: \'BYTES\'>, grpc_status:13
Also I tried to send data without encoding or as base64-encoded string, the result is the same.
When I try to do the same using
grpcurl
, I receive successful response.Could anyone help me with that: what I do wrong in my programmatical variant? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions