Open SaiSurya9999 opened 5 years ago
@SaiSurya9999 Make sure to slow down the car before collecting data, if it runs too fast, the video streaming couldn't keep up.
You can collect multiple times, in training it will loads all files in training_data
folder.
This is an old project, I don't even have the car anymore.
Check the input size, in notebook it's 240320, your image may be 120320.
How to increase the validation accuracy..?? I have uploaded the image of my track where i have drove it from both sides many times approx 350 frames were recorded..But there is no increase in validation accuracy of training.. It is biased to forward please help me @hamuchiwa
I have slowed the vehicle so no problem about speed or stream rate cope up.. Please do help me in time @hamuchiwa i have to complete this project by the end of this month.. Should we delete npz files after training the model i mean they are being stored in folder even after training. so next session of training file will be created and when we train the older files will be combined and trained again...!!
@SaiSurya9999 You can collect multiple times and then train together. If you are satisfied what you have collected, yes, then you need to delete that file before training again.
Hi I have the same problem i can't increase the accuracy of my training i tried a lot but i can't get above 70% could you please upload your .npz so i can try it. Thanx @hamuchiwa
@Sirajabudabe Since it's duplicated with another thread of yours, I'll close the other one. Can you upload your data?
How to reset the neural network model as a baby to train it again with nice balanced data..?? Thank you @hamuchiwa..!!
@SaiSurya9999 All model related stuff is in model.py
, you can create your own architecture there. Every time you run model_training.py
, it will overwrite the old one with the same file name nn_model.xml
.
@hamuchiwa What is your training accuracy when you successfully made the car play with corners..?? (I mean car taking successful turns at right point.)
@hamuchiwa https://drive.google.com/drive/folders/1D2WbSvCy1LnNEoIAA69qk_IvJFVrXvgO or if you can send me your E-mail!
@Sirajabudabe Can you remove the permission, I'll let you know after downloading, then you can delete the file.
https://drive.google.com/file/d/1kcK2YEr8PdTN50MhcPSfWqxI0GHSEC-a/view?usp=sharing could you please run it on your neural network and tell me what you got @hamuchiwa
@Sirajabudabe I have uploaded a jupyter notebook using keras. After a quick run, as you can see from the plots, the model is overfitting, I'll leave it to you for tuning. Good luck! Untitled.ipynb.zip
@hamuchiwa sorry but am not really familiar to deep learning and machine learning techniques , how can i run this model is the problem in cv2 neural network ? sorry again for my many questions
Then file Untitled.ipynb.zip, how does it apply to training?
@Sirajabudabe @PuriHa It's in jupyter notebook format, unzip it, then open it in jupyter. To open it, start a command line window, then do jupyter notebook
. Once the browser is open, navigate to the file. For more details about jupyter, you can refer to the doc or search some tutorials.
@hamuchiwa And what should I do with the file Untitled.ipynb,zip? I should try to run the code in the file? I don't know, how does it apply to training? How can I run the code in a file jupyter notebook? And what are the steps? Why didn't the code be put in the Github? Provide clear codes and procedures. thank you for answers @hamuchiwa
@hamuchiwa the Untitled.ipynb.zip gives trained model as model_test.h5. In the rc_driver_nn_only.ipynb the trained model named nn_model.xml is used. What are the changes required in rc_driver_nn_only.ipynb for taking model_test.h5. file.
@hamuchiwa My question is the same as @rahulkvr how to use the Untiteld.ipynb file in rc_driver_nn_only ???
@Sirajabudabe I think I have included the code on how to load model and make predictions in the notebook. Since the model is in Keras not in OpenCV, so you need to modify the code of loading and predicting in rc_driver_nn_only.py.
@hamuchiwa Sir can you please share the modified jupyter notebook file with code for loading and predicting using Keras.
@rahulkvr It's in the notebook.
@hamuchiwa I want to run the car using the saved model of keras. But in the rc_driver_nn_only.py it is not possible. Can you modify that particular python code and upload here.
@SaiSurya9999 could you please upload your training model, or the parameters of neural network (hidden layers iterations ....etc) thanks in advance @hamuchiwa
hello we need help guys @hamuchiwa Our rc car is just turning around after doing the training ! we got 59% accuracy after the training !
One more porblem we've had is our rc car speed. how did you slow down your rc car's speed ?
Best regards
Dear @SaiSurya9999 could you please contact me on e-mail : serajabudaber@gmail.com
@rahulkvr did you manage to solve the issue?
@rahulkvr did you manage to solve the issue?
No, I couldn't resolve it.
-- I have few doubts in training all set hardware is assembled and at last came to the training phase. -- I have uploaded an image where you can see my training track. -- Should we do the total training session in one execution of collect_training.py..?? -- For each execution there is an npz file created if we use one npz file the previous npz file which we trained is dumped..?? -- Could you give me your 300 images npz file or collection of those so that i can use them and train my model fast with more data. -- When i place my npz file in model_test pynb file then i get some size error i have uploaded that below.