We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63db5f7 commit 7fabfbbCopy full SHA for 7fabfbb
demos/common/python/openvino/model_zoo/model_api/models/yolo.py
@@ -477,7 +477,7 @@ def preprocess(self, inputs):
477
resized_image = self._change_layout(resized_image)
478
dict_inputs = {
479
self.image_blob_name: resized_image,
480
- self.image_info_blob_name: [[image.shape[0], image.shape[1]]]
+ self.image_info_blob_name: np.array([[image.shape[0], image.shape[1]]], dtype=np.float32)
481
}
482
return dict_inputs, meta
483
0 commit comments