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
How to convert the outputs of mpii model to MPII evaluation format? #172
Comments
Hi @ZheC, I noticed that the joints 'thorax' and 'pelvis' are not evaluated on MPII dataset. So it does not need to obtain the prediction for both joints. Furthermore, I checked the prediction and groundtruth and did not see an obvious wrong. But I can only get an accuracy of 50.4 using the default model and parameters. Is there some other reasons that affect the accuracy? Thanks. |
So possible reasons are (a) you are evaluating on 343 images only, you want to use the ground-truth data for those 343 images as well. (b) the index of joints are not matching in the prediction and ground-truth, for example, comparing the ankle prediction to the wrist GT position. |
Hi @ZheC, for (a), I am not very clear. Should I use the whole groundtruth in the evaluation or not? For (b), I checked the script of 'evalMPII.m' and didn't find the case of mismatching. So is it convenient for you to provide the complete evaluation codes on MPII val set for reference? I would appreciate your help. Thanks. |
Hi @DavHoffmann, I find the problem is the bounding box of each group is not matching with the groups which are defined in the MPII evaluation file of 'evaluateAP.m'. So I add some codes in the file of 'evalMPII.m', like pred(i).annorect = pred(i).annorect(rectidxs_multi_test{j}). You can check these parts in your file if they are the same as 'evaluateAP.m'. Thanks. |
Thank you, that solved my problem. |
Hi @ZheC, now I print the predictions and GT on the same image to check if the results are correct. The saved results are shown below. The first image is the outputs of cmu-mpii model. In the second image, blue points are estimated joints while yellow points are the GT. I see the main differences focus on two joints - pelvis and thorax. Before I use the script of evalMPII.m to perform evaluation and can only attain 50.4 and much lower than the results of your paper (79.1). So I would like to ask you that do you convert the 15 joints of MPII model to the 16 joints of MPII annotation format. If so, how you convert them? Thanks.
The text was updated successfully, but these errors were encountered: