type error
pengyiwu opened this issue · comments
pengyiwu commented
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 commented
And after i change the code ,the output video for the harder_challenge_video is quiet different from your demo.