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

module 'helpers' has no attribute 'draw_box_label' #22

Open
graficoc opened this issue Jul 1, 2019 · 1 comment
Open

module 'helpers' has no attribute 'draw_box_label' #22

graficoc opened this issue Jul 1, 2019 · 1 comment

Comments

@graficoc
Copy link

graficoc commented Jul 1, 2019

[420 4 457 68] , confidence: 0.44781974 ratio: 0.5780346820809248
[424 225 451 263] , confidence: 0.32874542 ratio: 0.7103393843725336
Frame: 1

AttributeError Traceback (most recent call last)
in
198 for i in range(len(images))[0:7]:
199 image = images[i]
--> 200 image_box = pipeline(image)
201 plt.imshow(image_box)
202 plt.show()

in pipeline(img)
100 if debug:
101 for i in range(len(z_box)):
--> 102 img1= helpers.draw_box_label(img, z_box[i], box_color=(255, 0, 0))
103 plt.imshow(img1)
104 plt.show()

AttributeError: module 'helpers' has no attribute 'draw_box_label'

@zubairahmed-ai
Copy link

Not on this but on a different function I got the same error so I did this to fix it and it works

from helpers import box_iou2

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

2 participants