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

ERROR for python main.py #7

Open
elifasci opened this issue Apr 2, 2021 · 4 comments
Open

ERROR for python main.py #7

elifasci opened this issue Apr 2, 2021 · 4 comments

Comments

@elifasci
Copy link

elifasci commented Apr 2, 2021

Hello,

In the step of running the project, I get the following error.
File "main.py", line 407, in annotate_original_image
if lane_markings_img != None:
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

@May2333
Copy link

May2333 commented Apr 14, 2021

hi,
I'm facing the same problem with you, do you figure it out?
any help will be appreciated!

@hanlh0328
Copy link

hanlh0328 commented Apr 14, 2021 via email

@elifasci
Copy link
Author

Hello,
When I change the " if lane_markings_img != None: " section in the 407. code line where I get an error to " if lane_markings_img.all() != None: " it does not give an error.
However on other lines it gives other errors :(

@May2333
Copy link

May2333 commented Apr 15, 2021

Hi,
I changed all errors about 'XX != None' to 'len(XX) > 0', and that works
hope it helps!

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