You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I use this command python3 P5pipeline.py test_images/test1.jpg output_images/test1.jpg i get
Camera Calibration data restored from camera_cal/calibrationdata.p
image processing test_images/test1.jpg...
Traceback (most recent call last):
File "P5pipeline.py", line 229, in <module>
imageout = process_image(image)
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 "/media/bignrz/World/projects/self driving car/SDC-P5/p5lib/roadManager.py", line 493, in findLanes
self.vehicleScan, self.roadGrid)
File "/media/bignrz/World/projects/self driving car/SDC-P5/p5lib/vehicleDetection.py", line 321, in detectVehicles
hist_bins=32, hist_range=(0, 256))
File "/media/bignrz/World/projects/self driving car/SDC-P5/p5lib/vehicleDetection.py", line 159, in extract_features
cell_per_block, vis=False, feature_vec=True)
File "/media/bignrz/World/projects/self driving car/SDC-P5/p5lib/vehicleDetection.py", line 99, in get_hog_features
feature_vector=feature_vec)
TypeError: hog() got an unexpected keyword argument 'visualise'
and when using python3 P5pipeline.py v.mp4 v_out.mp4 (the same as #4) I get
Camera Calibration data restored from camera_cal/calibrationdata.p
video processing v.mp4...
Traceback (most recent call last):
File "P5pipeline.py", line 238, in <module>
video_clip = clip1.fl_image(process_image)
File "/home/bignrz/.local/lib/python3.7/site-packages/moviepy/video/VideoClip.py", line 490, in fl_image
return self.fl(lambda gf, t: image_func(gf(t)), apply_to)
File "/home/bignrz/.local/lib/python3.7/site-packages/moviepy/Clip.py", line 136, in fl
newclip = self.set_make_frame(lambda t: fun(self.get_frame, t))
File "</home/bignrz/anaconda3/lib/python3.7/site-packages/decorator.py:decorator-gen-61>", line 2, in set_make_frame
File "/home/bignrz/.local/lib/python3.7/site-packages/moviepy/decorators.py", line 14, in outplace
f(newclip, *a, **k)
File "/home/bignrz/.local/lib/python3.7/site-packages/moviepy/video/VideoClip.py", line 644, in set_make_frame
self.size = self.get_frame(0).shape[:2][::-1]
File "</home/bignrz/anaconda3/lib/python3.7/site-packages/decorator.py:decorator-gen-11>", line 2, in get_frame
File "/home/bignrz/.local/lib/python3.7/site-packages/moviepy/decorators.py", line 89, in wrapper
return f(*new_a, **new_kw)
File "/home/bignrz/.local/lib/python3.7/site-packages/moviepy/Clip.py", line 93, in get_frame
return self.make_frame(t)
File "/home/bignrz/.local/lib/python3.7/site-packages/moviepy/Clip.py", line 136, in <lambda>
newclip = self.set_make_frame(lambda t: fun(self.get_frame, t))
File "/home/bignrz/.local/lib/python3.7/site-packages/moviepy/video/VideoClip.py", line 490, in <lambda>
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 "/media/bignrz/World/projects/self driving car/SDC-P5/p5lib/roadManager.py", line 361, in findLanes
self.addLaneLeft(curLane)
File "/media/bignrz/World/projects/self driving car/SDC-P5/p5lib/roadManager.py", line 172, in addLaneLeft
self.curImgFtr, curLane, faint=faint, resized=self.resized)
File "/media/bignrz/World/projects/self driving car/SDC-P5/p5lib/line.py", line 102, in createPolyFitLeft
rightLane.lines[rightLane.right].currentFit)
File "<__array_function__ internals>", line 6, in polysub
File "/home/bignrz/anaconda3/lib/python3.7/site-packages/numpy/lib/polynomial.py", line 842, in polysub
val = a1 - a2
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
I tried on both python3.7, python 3.6 and python3.5 and do not know what is the problem
The text was updated successfully, but these errors were encountered:
when I use this command
python3 P5pipeline.py test_images/test1.jpg output_images/test1.jpg
i getand when using
python3 P5pipeline.py v.mp4 v_out.mp4
(the same as #4) I getI tried on both python3.7, python 3.6 and python3.5 and do not know what is the problem
The text was updated successfully, but these errors were encountered: