Skip to content
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

TURN RIGHT #162

Open
hobnob453 opened this issue Mar 5, 2019 · 18 comments
Open

TURN RIGHT #162

hobnob453 opened this issue Mar 5, 2019 · 18 comments

Comments

@hobnob453
Copy link

I have followed the instructions as part of a college project, after managing to set up all of the python code, i have trained the car with 6 .npz files which modify the nm_model.xml, however when i run the main program (rc_driver) along with stream and ultrasonic files on the PI, the car just wants to turn right all of the time, i will continue to add training data but could do with some guidance as to where i could be going wrong? Thanks,

@kxrf97
Copy link

kxrf97 commented Mar 6, 2019

i also face the same problem.......

@kxrf97
Copy link

kxrf97 commented Mar 6, 2019

did you manage to tackle it?>

@hobnob453
Copy link
Author

hobnob453 commented Mar 6, 2019 via email

@sundar19
Copy link

sundar19 commented Mar 7, 2019

I think something wrong with your wheel alignment maybe and check in the Python shell for forward commands and inspite of forward commands sent your car turns right then it's wheel alignment problem!

@kxrf97
Copy link

kxrf97 commented Mar 7, 2019

I collect around 300 images, and my accuracy is around 60+ after training.... But my car just keep going randomly

@kxrf97
Copy link

kxrf97 commented Mar 7, 2019

@sundar19
Wheel alignment are having no problem, the command prompt keep showing right , should not be the alignment problem. Did you manage to finish this project.

@hobnob453
Copy link
Author

hobnob453 commented Mar 7, 2019 via email

@sundar19
Copy link

sundar19 commented Mar 8, 2019

@kxrf97 I used Cascade classifier of left direction sign to finish my project . The neural network you use will be efficient only when the streaming rate is good. Switch off the car and move the car by hand whether the camera lags,if that's the case Cascade classifier is the only solution

@kxrf97
Copy link

kxrf97 commented Mar 8, 2019

Can you send me any tutorial about that? How you use cascade classifier to finish the project. My streaming rate is abit laggy... I guess no smooth as i think...

@kxrf97
Copy link

kxrf97 commented Mar 8, 2019

Normally cascade classifier is use for object detection. How can you apply on the track

@hobnob453
Copy link
Author

hobnob453 commented Mar 8, 2019 via email

@sundar19
Copy link

sundar19 commented Mar 8, 2019

https://github.com/ryangmolina/rpi-car-arrow-detection-using-cascade-classifier?files=1

Take Cascade classifier for left or right sign from this link and include your right or left turn functions in rc_driver_helper.py

@somalwar
Copy link

Yes I am facing the same issue, it always wants to make a 'right' turn. However on a different training set, it always made a 'forward' prediction. And on yet another one, where I trained it to only go 'forward' or 'left', it did output 'forward' and 'left' but the predictions were not correct at all. Not sure if its a training problem or something else.

@VishalWrench
Copy link

@somalwar have u solved that problem

@somalwar
Copy link

@VishalWrench No I haven't. I plan to use Tensorflow in the future, maybe that will give better results.

@VishalWrench
Copy link

@somalwar thanks for replying yeah i am also trying to implement this in keras

@jhadkaterji
Copy link

@somalwar @VishalWrench Did either of you guys end up figuring out how to get the car to stop just going right all the time? was it an issue with the training?

@jhadkaterji
Copy link

@somalwar @VishalWrench Did either of you guys end up figuring out how to get the car to stop just going right all the time? was it an issue with the training?

Im having the same issue and cant figure out whats wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@sundar19 @somalwar @kxrf97 @jhadkaterji @VishalWrench @hobnob453 and others