SDC-Advanced-Lane-Finding
SDC-Advanced-Lane-Finding copied to clipboard
`min_samples` may not be larger than number of samples on lane_simple_ransac.py
Sir, I get an error when i run the code...
~/SDC-Advanced-Lane-Finding/lane_simple_ransac.py in fit(self, X1, y1, X2, y2, left_right_bounds)
444 min_samples = X1.shape[1] + 1
445 if min_samples > X1.shape[0] or min_samples > X2.shape[0]:
--> 446 raise ValueError("min_samples
may not be larger than number "
447 "of samples X1-2.shape[0]
.")
448
ValueError: min_samples
may not be larger than number of samples X1-2.shape[0]
.