You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
原始是byte[]的数据,没法传。会报triton.client.InferenceException: [request id: <id_unknown>] inference input data-type is 'INT8', model expects 'BYTES' for 'xxxxx'
#784
Open
freeleeq opened this issue
Sep 24, 2024
· 1 comment
CODE:
byte[] imgBytes = bos.toByteArray();
InferInput imgInput = new InferInput("IMAGE", new long[] {1, imgBytes.length}, DataType.INT8);
imgInput.setData(imgBytes, true);
The text was updated successfully, but these errors were encountered:
freeleeq
changed the title
没法原始便是byte[]的数据。会报triton.client.InferenceException: [request id: <id_unknown>] inference input data-type is 'INT8', model expects 'BYTES' for 'xxxxx'
原始是byte[]的数据,没法传。会报triton.client.InferenceException: [request id: <id_unknown>] inference input data-type is 'INT8', model expects 'BYTES' for 'xxxxx'
Sep 24, 2024
API:
{
name: "IMAGE" # image
data_type: TYPE_STRING
dims: [ 1 ]
}
CODE:
byte[] imgBytes = bos.toByteArray();
InferInput imgInput = new InferInput("IMAGE", new long[] {1, imgBytes.length}, DataType.INT8);
imgInput.setData(imgBytes, true);
The text was updated successfully, but these errors were encountered: