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

type error #2

Open
pengyiwu opened this issue May 28, 2018 · 1 comment
Open

type error #2

pengyiwu opened this issue May 28, 2018 · 1 comment

Comments

@pengyiwu
Copy link

hello pierluigiferrari:
i ran your code and got a such mistake
img1[:(img1.shape[0]*(1-partial)),:] = 0

TypeError: slice indices must be integers or None or have an index method
so i change it to:
img1[:int(img1.shape[0]*(1-partial)),:] = 0
now there is no mistake ,and it performed well on the challenge_video,but it failed to detect the lane lines in some frames in the harder_challenge_video.
Have a nice day!

@pengyiwu
Copy link
Author

And after i change the code ,the output video for the harder_challenge_video is quiet different from your demo.

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