-
Notifications
You must be signed in to change notification settings - Fork 920
Description
TypeError Traceback (most recent call last)
Cell In[5], line 27
24 model = core.read_model(ov_model_path)
26 # Read more about telemetry collection at https://github.com/openvinotoolkit/openvino_notebooks?tab=readme-ov-file#-telemetry
---> 27 from notebook_utils import collect_telemetry
29 collect_telemetry("gpu-device.ipynb")
File C:\Windows\System32\openvino_notebooks\notebooks\gpu-device\notebook_utils.py:499
484 return cv2.addWeighted(mask, alpha, image, 1 - alpha, 0)
487 # ### Network Results
488 #
489 # Show network result image, optionally together with the source image and a legend with labels.
490
491 # In[ ]:
494 def viz_result_image(
495 result_image,
496 source_image=None,
497 source_title: str = None,
498 result_title: str = None,
--> 499 labels: list[Label] = None,
500 resize: bool = False,
501 bgr_to_rgb: bool = False,
502 hide_axes: bool = False,
503 ):
504 """
505 Show result image, optionally together with source images, and a legend with labels.
506
(...)
518 :return: Matplotlib figure with result image
519 """
520 import cv2
TypeError: 'type' object is not subscriptable