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 run main.py and set demo =1, It return errors below:
File "E:/PycharmProject/vehicle-detection/main.py", line 37, in
draw_img = pipeline_svm(image)
File "E:/PycharmProject/vehicle-detection/main.py", line 16, in pipeline_svm
output = vehicle_detection_svm(img_undist, img_lane_augmented, lane_info)
File "E:\PycharmProject\vehicle-detection\svm_pipeline.py", line 556, in vehicle_detection_svm
hog_feat)
File "E:\PycharmProject\vehicle-detection\svm_pipeline.py", line 355, in find_cars
test_features = X_scaler.transform(X)
File "D:\DIYPrograms\Anaconda3\lib\site-packages\sklearn\preprocessing_data.py", line 794, in transform
force_all_finite='allow-nan')
File "D:\DIYPrograms\Anaconda3\lib\site-packages\sklearn\base.py", line 436, in _validate_data
self._check_n_features(X, reset=reset)
File "D:\DIYPrograms\Anaconda3\lib\site-packages\sklearn\base.py", line 373, in check_n_features
"The reset parameter is False but there is no "
RuntimeError: The reset parameter is False but there is no n_features_in attribute. Is this estimator fitted?
The text was updated successfully, but these errors were encountered:
When I run main.py and set demo =1, It return errors below:
File "E:/PycharmProject/vehicle-detection/main.py", line 37, in
draw_img = pipeline_svm(image)
File "E:/PycharmProject/vehicle-detection/main.py", line 16, in pipeline_svm
output = vehicle_detection_svm(img_undist, img_lane_augmented, lane_info)
File "E:\PycharmProject\vehicle-detection\svm_pipeline.py", line 556, in vehicle_detection_svm
hog_feat)
File "E:\PycharmProject\vehicle-detection\svm_pipeline.py", line 355, in find_cars
test_features = X_scaler.transform(X)
File "D:\DIYPrograms\Anaconda3\lib\site-packages\sklearn\preprocessing_data.py", line 794, in transform
force_all_finite='allow-nan')
File "D:\DIYPrograms\Anaconda3\lib\site-packages\sklearn\base.py", line 436, in _validate_data
self._check_n_features(X, reset=reset)
File "D:\DIYPrograms\Anaconda3\lib\site-packages\sklearn\base.py", line 373, in check_n_features
"The reset parameter is False but there is no "
RuntimeError: The reset parameter is False but there is no n_features_in attribute. Is this estimator fitted?
The text was updated successfully, but these errors were encountered: