Skip to content

Commit cb38a76

Browse files
authored
Fix notebooks issues (#1666)
1 parent fd16cad commit cb38a76

File tree

4 files changed

+637
-959
lines changed

4 files changed

+637
-959
lines changed

notebooks/108-gpu-device/108-gpu-device.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1832,7 +1832,7 @@
18321832
" # Draw info at the top left such as current fps, the devices and the performance hint being used\n",
18331833
" 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",
18341834
" cv2.putText(frame, f\"device {device_name}\", (5, 40), cv2.FONT_ITALIC, 0.6, (0, 0, 0), 1, cv2.LINE_AA) \n",
1835-
" 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",
1835+
" 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",
18361836
"\n",
18371837
" # prediction contains [image_id, label, conf, x_min, y_min, x_max, y_max] according to model\n",
18381838
" for prediction in np.squeeze(results[current_frame]):\n",

0 commit comments

Comments
 (0)