Skip to content
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

a question of test.json #16

Open
Github3G opened this issue Aug 31, 2020 · 10 comments
Open

a question of test.json #16

Github3G opened this issue Aug 31, 2020 · 10 comments
Labels

Comments

@Github3G
Copy link

I use the test.json(7000+ samples) provided by HRNet to generated pred.mat, then i use your code to convert it to pred_mpii_keypoints.mat, but in this process, there rise a error that the numbers of sample is not same 10000+. In other words, the test.json provided by HRNet does not include all test samples. So i use the official test.h5 to prepare the pred_mpii_keypoints.mat. But i find there is a difference between test.json(70000)+ and tets.h5(10000) + in the items of center and scale. does this have a significant influence about testing? Or can i directly use test.h5 to submit?

@anibali
Copy link
Owner

anibali commented Sep 1, 2020

I'm not sure---aren't you better off asking the HRNet authors why they are missing predictions? How do you expect evaluation on an incomplete set of predictions to work?

@anibali
Copy link
Owner

anibali commented Sep 1, 2020

Oh, I think I understand now---test.json is the processed version of the MPII test set metadata used for HRNet. Could it be that their file is for the multi-person prediction task, and therefore combines multiple detections from the same image together?

@Github3G
Copy link
Author

Github3G commented Sep 1, 2020

Oh, I think I understand now---test.json is the processed version of the MPII test set metadata used for HRNet. Could it be that their file is for the multi-person prediction task, and therefore combines multiple detections from the same image together?

i have ask the author of HRNet yesterday. He said their test.json(7000+) is the same as the official test data. HRNet filters out the kind of sample without completed annotations such as scale and center items, but 10000+ includes this kind of sample. However whether 10000+ or 7000+, the result is same for testing. HRNet is the single person pose estimation.

@PCRKTY
Copy link

PCRKTY commented Oct 27, 2020

I use the test.json(7000+ samples) provided by HRNet to generated pred.mat, then i use your code to convert it to pred_mpii_keypoints.mat, but in this process, there rise a error that the numbers of sample is not same 10000+. In other words, the test.json provided by HRNet does not include all test samples. So i use the official test.h5 to prepare the pred_mpii_keypoints.mat. But i find there is a difference between test.json(70000)+ and tets.h5(10000) + in the items of center and scale. does this have a significant influence about testing? Or can i directly use test.h5 to submit?

May I ask you how to use the test.json(7000+ samples) provided by HRNet to generated pred.mat? Cus the format of test.json and valid.json is different. I have trouble to generate the PCKh results of the MPII test set.Thank you.

@Github3G
Copy link
Author

Github3G commented Nov 2, 2020

I use the test.json(7000+ samples) provided by HRNet to generated pred.mat, then i use your code to convert it to pred_mpii_keypoints.mat, but in this process, there rise a error that the numbers of sample is not same 10000+. In other words, the test.json provided by HRNet does not include all test samples. So i use the official test.h5 to prepare the pred_mpii_keypoints.mat. But i find there is a difference between test.json(70000)+ and tets.h5(10000) + in the items of center and scale. does this have a significant influence about testing? Or can i directly use test.h5 to submit?

May I ask you how to use the test.json(7000+ samples) provided by HRNet to generated pred.mat? Cus the format of test.json and valid.json is different. I have trouble to generate the PCKh results of the MPII test set.Thank you.

The pred.mat generated by HRNet can not submit to MPII for testing. You must use this tool (https://github.com/anibali/eval-mpii-pose) to generate pred_keypoints_mpii.mat for submitting.

@mobeixiaoxin
Copy link

@Github3G ,您好,请问由HRNet生成的pred.mat(7247,16,2)经过(https://github.com/anibali/eval-mpii-pose转换后,生成的.mat文件就可以上传到官网了么?期待您的回复,万分感谢!!

@EnHuix
Copy link

EnHuix commented Mar 30, 2021

@mobeixiaoxin 请问HRNnet为测试集生成的结果是上传到哪里才可以得到测试集的分数?

@rrong77
Copy link

rrong77 commented Apr 17, 2021

I use the test.json(7000+ samples) provided by HRNet to generated pred.mat, then i use your code to convert it to pred_mpii_keypoints.mat, but in this process, there rise a error that the numbers of sample is not same 10000+. In other words, the test.json provided by HRNet does not include all test samples. So i use the official test.h5 to prepare the pred_mpii_keypoints.mat. But i find there is a difference between test.json(70000)+ and tets.h5(10000) + in the items of center and scale. does this have a significant influence about testing? Or can i directly use test.h5 to submit?

May I ask you how to use the test.json(7000+ samples) provided by HRNet to generated pred.mat? Cus the format of test.json and valid.json is different. I have trouble to generate the PCKh results of the MPII test set.Thank you.

The pred.mat generated by HRNet can not submit to MPII for testing. You must use this tool (https://github.com/anibali/eval-mpii-pose) to generate pred_keypoints_mpii.mat for submitting.

May I ask you how can I use this tool to generate pred_keypoints_mpii.mat for submitting?Could you share the code with me?Thank you! @Github3G

@zhanghao5201
Copy link

@Github3G ,您好,请问由HRNet生成的pred.mat(7247,16,2)经过(https://github.com/anibali/eval-mpii-pose转换后,生成的.mat文件就可以上传到官网了么?期待您的回复,

您好,我也遇到了同样的问题,请问你解决了么

@doublemanyu
Copy link

Oh, I think I understand now---test.json is the processed version of the MPII test set metadata used for HRNet. Could it be that their file is for the multi-person prediction task, and therefore combines multiple detections from the same image together?

i have ask the author of HRNet yesterday. He said their test.json(7000+) is the same as the official test data. HRNet filters out the kind of sample without completed annotations such as scale and center items, but 10000+ includes this kind of sample. However whether 10000+ or 7000+, the result is same for testing. HRNet is the single person pose estimation.

您好,请问HRNet方法中如何使用自制数据集生成对应的gt_valid.mat?我现在已经生成好自制数据集的train.json, test.json 和valid.json。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants