-
Notifications
You must be signed in to change notification settings - Fork 127
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
SDC-P5-master problems #4
Comments
@diyjac did you get the answer to this? i am facing the same issue. :) |
|
i have the same issue here , so please guys if u fixied this problem get me the answer |
@GitHub-ZRQ what python version do you use? |
Hi,
for "python3 P5pipeline.py test_image/test1.jpg output_image/test1.jpg"
it is successful.
but for "python3 P5pipeline.py test_video/test1.mp4 output_video/test1.mp4"
Camera Calibration data restored from camera_cal/calibrationdata.p
video processing test_video/test1.mp4...
Traceback (most recent call last):
File "P5pipeline.py", line 238, in
video_clip = clip1.fl_image(process_image)
File "/usr/local/lib/python3.5/dist-packages/moviepy/video/VideoClip.py", line 514, in fl_image
return self.fl(lambda gf, t: image_func(gf(t)), apply_to)
File "/usr/local/lib/python3.5/dist-packages/moviepy/Clip.py", line 137, in fl
newclip = self.set_make_frame(lambda t: fun(self.get_frame, t))
File "", line 2, in set_make_frame
File "/usr/local/lib/python3.5/dist-packages/moviepy/decorators.py", line 14, in outplace
f(newclip, *a, **k)
File "/usr/local/lib/python3.5/dist-packages/moviepy/video/VideoClip.py", line 669, in set_make_frame
self.size = self.get_frame(0).shape[:2][::-1]
File "", line 2, in get_frame
File "/usr/local/lib/python3.5/dist-packages/moviepy/decorators.py", line 89, in wrapper
return f(*new_a, **new_kw)
File "/usr/local/lib/python3.5/dist-packages/moviepy/Clip.py", line 94, in get_frame
return self.make_frame(t)
File "/usr/local/lib/python3.5/dist-packages/moviepy/Clip.py", line 137, in
newclip = self.set_make_frame(lambda t: fun(self.get_frame, t))
File "/usr/local/lib/python3.5/dist-packages/moviepy/video/VideoClip.py", line 514, in
return self.fl(lambda gf, t: image_func(gf(t)), apply_to)
File "P5pipeline.py", line 115, in process_image
image, roadMgr, diagMgr, scrType=scrType, debug=debug, resized=resized)
File "P5pipeline.py", line 63, in process_road_image
roadMgr.findLanes(img, resized=resized)
File "/home/cetc28/Program/SDC-P5-master/p5lib/roadManager.py", line 361, in findLanes
self.addLaneLeft(curLane)
File "/home/cetc28/Program/SDC-P5-master/p5lib/roadManager.py", line 172, in addLaneLeft
self.curImgFtr, curLane, faint=faint, resized=self.resized)
File "/home/cetc28/Program/SDC-P5-master/p5lib/line.py", line 102, in createPolyFitLeft
rightLane.lines[rightLane.right].currentFit)
File "/usr/local/lib/python3.5/dist-packages/numpy/lib/polynomial.py", line 778, in polysub
val = a1 - a2
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Tank you!
The text was updated successfully, but these errors were encountered: