mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 09:31:35 +08:00
[Serving]update np.object to np.object_ (#1021)
np.object to np.object_
This commit is contained in:
@@ -95,7 +95,7 @@ class TritonPythonModel:
|
||||
dlpack_tensor)
|
||||
output_tensor_1 = pb_utils.Tensor(
|
||||
self.output_names[1], np.array(
|
||||
im_infos, dtype=np.object))
|
||||
im_infos, dtype=np.object_))
|
||||
inference_response = pb_utils.InferenceResponse(
|
||||
output_tensors=[output_tensor_0, output_tensor_1])
|
||||
responses.append(inference_response)
|
||||
|
Reference in New Issue
Block a user