-
Notifications
You must be signed in to change notification settings - Fork 27
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
I can't replicate the results #14
Comments
Hi, Thanks for your interest. It seems that you load the wrong models. If you want to classify the data in the hhar dataset, please load the models trained in the same dataset, i.e., |
oh right thanks! I just updated the notebook with the right models. It's still having pretty much the same accuracy anyway :'( (18% now) |
A possible reason is that the classifier is trained on data with a sequence length of 20 instead of 120. You can check the Section 3.6 in our paper for more details. You may transform the shape of embedding generated by LIMU-BERT from 12072 to 620*72, and then input the transformed embedding into the classifier for inference. |
Hi @mathigatti , did you manage to sort it out?
but with no luck. |
Sorry for the late reply. Yes, @DLuminary you are right. Maybe you two can build the model based on 'classifier.py' or 'classifier_bert.py'. And please note the index of activity labels on hhar dataset should be 2 instead of 0 as indicated in |
Hi! Thanks for working on such a cool project. I'm testing the shared trained hhar model checking if the 120 frames long samples align with their expected activity labels after running inference using these models:
BERT_PATH = 'saved/pretrain_base_motion_20_120/motion.pt'
CLASSIFIER_PATH = 'saved/classifier_base_gru_motion_20_120/motion.pt'
But I'm not getting good results, it almost always fails (19% accuracy). Do you know why it might be?
My code is here. You can run it just by going to "Runtime" -> "Run all".
The text was updated successfully, but these errors were encountered: