Closed 4al closed 5 years ago
You should change the action_labels in run_detector.py before running
python src/run_detector.py --source txtscript
@4al Hi, did you solve the problem? The number of action classes is calculated from the names of the training data.
See src/train.ipynb:
Then copy the labels to the variable action_labels
in run_detector.py
, and then the program should work.
Is it possible that your trained model is not saved to disk? Or you load the wrong model? Please message me if you solved it. Thanks!
Thank you for the advice. That worked!
Hello and thank you for sharing your work with us! I've successfully managed to run the training with your dataset and the webcam demo, but I've encountered an error after training my own dataset with 19 different actions when running run_detector.py via webcam:
I've updated the action_labels in run_detector.py, but couldn't find any other declaration code for the number of action classes. I guess this might be a matrix dimension related problem. Could you help me with that?