Skip to content

Commit 272d2d7

Browse files
authored
AC: fix read blob (#3409)
1 parent 309fd8d commit 272d2d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/accuracy_checker/openvino/tools/accuracy_checker/launcher/openvino_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def _create_network(self, input_shapes=None):
497497
if compiled_model:
498498
self.network = None
499499
with open(str(self._model), 'rb') as f: #pylint:disable=unspecified-encoding
500-
self.exec_network = self.ie_core.import_model(io.BytesIO(f), self._device)
500+
self.exec_network = self.ie_core.import_model(io.BytesIO(f.read()), self._device)
501501
self.original_outputs = self.exec_network.outputs
502502
model_batch = self._get_model_batch_size()
503503
self._batch = model_batch if model_batch is not None else 1

0 commit comments

Comments
 (0)