Skip to content

Commit

Permalink
Fix notebooks issues (openvinotoolkit#1666)
Browse files Browse the repository at this point in the history
  • Loading branch information
eaidova authored Jan 30, 2024
1 parent fd16cad commit cb38a76
Show file tree
Hide file tree
Showing 4 changed files with 637 additions and 959 deletions.
2 changes: 1 addition & 1 deletion notebooks/108-gpu-device/108-gpu-device.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@
" # Draw info at the top left such as current fps, the devices and the performance hint being used\n",
" cv2.putText(frame, f\"fps {str(round(frame_fps[current_frame], 2))}\", (5, 20), cv2.FONT_ITALIC, 0.6, (0, 0, 0), 1, cv2.LINE_AA)\n",
" cv2.putText(frame, f\"device {device_name}\", (5, 40), cv2.FONT_ITALIC, 0.6, (0, 0, 0), 1, cv2.LINE_AA) \n",
" cv2.putText(frame, f\"hint {compiled_model.get_property('PERFORMANCE_HINT').name}\", (5, 60), cv2.FONT_ITALIC, 0.6, (0, 0, 0), 1, cv2.LINE_AA)\n",
" cv2.putText(frame, f\"hint {compiled_model.get_property('PERFORMANCE_HINT')}\", (5, 60), cv2.FONT_ITALIC, 0.6, (0, 0, 0), 1, cv2.LINE_AA)\n",
"\n",
" # prediction contains [image_id, label, conf, x_min, y_min, x_max, y_max] according to model\n",
" for prediction in np.squeeze(results[current_frame]):\n",
Expand Down
Loading

0 comments on commit cb38a76

Please sign in to comment.