You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in draw_prediction_on_image(image, person, crop_region, close_figure, keep_input_size)
18 """
19 # Draw the detection result on top of the image.
---> 20 image_np = utils.visualize(image, [person])
21
22 # Plot the image with detection results.
AttributeError: module 'utils' has no attribute 'visualize'
类似这样的好多地方都找不到我要如何进行操作呢?
The text was updated successfully, but these errors were encountered:
AttributeError Traceback (most recent call last)
in
12 image_bad = tf.io.decode_jpeg(image_bad)
13 person = detect(image_bad)
---> 14 _ = draw_prediction_on_image(image_bad.numpy(), person, crop_region=None,
15 close_figure=False, keep_input_size=True)
in draw_prediction_on_image(image, person, crop_region, close_figure, keep_input_size)
18 """
19 # Draw the detection result on top of the image.
---> 20 image_np = utils.visualize(image, [person])
21
22 # Plot the image with detection results.
AttributeError: module 'utils' has no attribute 'visualize'
类似这样的好多地方都找不到我要如何进行操作呢?
The text was updated successfully, but these errors were encountered: