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

'map' object is not reversible #5

Open
moxgeek opened this issue Sep 20, 2019 · 1 comment
Open

'map' object is not reversible #5

moxgeek opened this issue Sep 20, 2019 · 1 comment

Comments

@moxgeek
Copy link

moxgeek commented Sep 20, 2019

this is the code error i got when i test your detect.py after downloading the weights file

Traceback (most recent call last):
  File "detect.py", line 189, in <module>
    pt1 = tuple(reversed(map(int, pt1)))
TypeError: 'map' object is not reversible

@moxgeek
Copy link
Author

moxgeek commented Sep 20, 2019

to fix it , i change line 189 and 190 with

        pt1 = tuple(reversed(list(map(int, pt1))))
        pt2 = tuple(reversed(list(map(int, pt2))))

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

1 participant