-
Notifications
You must be signed in to change notification settings - Fork 146
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
Getting value error after try to train model by running main.py in Licence_plate_recognition folder #1
Comments
@chinya07 could you please mention the whole error ( in wich line of code) and python version and the exple that you use (licence plate img) |
sorry its solved it was my mistake @KhazriAchraf |
I have one more query though, how can I get the image of that detected licence plate only after running object detection.py @KhazriAchraf |
In /Licence_plate_detection/object_detection_yolo.py |
yes I got it thank you @KhazriAchraf |
@KhazriAchraf
ValueError: Expected 2D array, got 1D array instead:
array=[].
Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.
The text was updated successfully, but these errors were encountered: