-
Notifications
You must be signed in to change notification settings - Fork 58
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 generate 'scale' and 'objpos'? #15
Comments
I read your paper again. 'objpos' is image center. But I still do not know how to generate 'scale'. |
You can find the code to generate the JSON file here: https://github.com/bearpaw/pytorch-pose/blob/master/miscs/gen_lsp.m Actually, it is borrowed from Convolutional Pose Machine: https://github.com/shihenw/convolutional-pose-machines-release/blob/a345bc5c760073792b6b5ec29d3bde01557a5a9b/training/genJSON.m I didn't dig into the equations. But it should be some statistics from the training set (e.g., the average height of persons are 200px or something like that). |
Another thing of CPM is that, it uses additional training data from LSP and LSP extended to train the model for the MPII dataset. In this case, we want to make sure that persons in different datasets should have roughly the same scale. That's how CPM computes the scales. |
Thanks for your reply! |
@Binyr hi,Would like to ask the question about the scale to understand? |
Hi, Thanks for your code!
The 'scale' and 'objpos' is also not provided offictially. How do you generate them?
Expect for your guidance! Thank you!
The text was updated successfully, but these errors were encountered: