Closed dingusagar closed 6 years ago
I think I did not run the training program to get the models...Which program should I run in order to train the classifier.
Hi,
Training the model is supposed to happen on your computer (not on RaspberryPi) so you need to train it by executing pc_main/train_model.py.
I tried to run train_model.py I am getting the following error
Traceback (most recent call last):
File "train_model.py", line 70, in
Sorry I didn't specify that you have to run _trainset.py. This is because first you need to do the feature engineering and _trainset.py does exactly that. It then saves data as a numpy file (dataset.npy).
Please note that at the top of the script _trainset.py, you can set the folder where to save dataset.npy. Make sure that train_model.py reads dataset.npy from the same folder (you can set it at the top of the script)
ok thanks ...train_set.py is taking a lot of time to execute...if you could upload the results of the training programs, then we could directly use them in the raspberry pi
what are feature engineering should be done to get vectors
in the makeprediction.py file
These codes expect two folders model and prediction. But they are not there. What should I do to get those folders with appropriate files.