Fix d-fine inputs

This commit is contained in:
Nicolas Mowen 2025-10-17 06:14:16 -06:00
parent c2f26483b1
commit facd0f287d

View File

@ -327,8 +327,8 @@ class OpenVINOModelRunner(BaseModelRunner):
input_tensor = ov.Tensor(input_element_type, input_data.shape) input_tensor = ov.Tensor(input_element_type, input_data.shape)
np.copyto(input_tensor.data, input_data) np.copyto(input_tensor.data, input_data)
# Set the input tensor # Set the input tensor for the specific port
self.infer_request.set_input_tensor(input_tensor) self.infer_request.set_input_tensor(input_port, input_tensor)
# Run inference # Run inference
self.infer_request.infer() self.infer_request.infer()