Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错求解决 #26

Open
18335076880 opened this issue Mar 28, 2023 · 2 comments
Open

报错求解决 #26

18335076880 opened this issue Mar 28, 2023 · 2 comments

Comments

@18335076880
Copy link

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'
类似这样的好多地方都找不到我要如何进行操作呢?

@only6lack
Copy link

did you find the it ?

@PofeiShit
Copy link

作者没有在utils文件夹提供visualize.py, 提醒作者上传吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants