-
Notifications
You must be signed in to change notification settings - Fork 65
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
What is “vertex_label” in "assets/test_data.pkl" and how to get this value? #16
Comments
The vertex labels are dependent on the garment classes present in your image. Eg. if your image has t-shirt and pants just take these entries from the test_data.pkl |
@wingniuqichao is your issue resolved? Other issues have discussed this in more depth, and bharat has written longer, more detailed answers |
Actually, can this info be added to the Readme? Would be much more convenient to have it in one place, rather than digging through issues. |
I'm still confused on this. Some help, please? Bharat said:
So the vertexlabel in Second question: What is meant specifically by "select the vertices" from Last question: what would be the best way to create vertexlabel automatically from the output of the Part Grouping Network? I guess we'd have to check the label map for the existence of any of This sounds a bit complicated---is there existing code for this, or code to run on user data in general, that can be shared, please? Thanks a lot!
|
Garment templates are defined as subset of vertices on high-resolution SMPL (with 27554 vertices). So
Sample code to generate vertex_label for the first example in test_data.pkl
The first example contains Pants and T-shirt (1th and 5th entry in allTemplate_withBoundaries_symm.pkl, 0 is kept for skin)
The vertexlabel depends only on what garments are present in the image. Just edit the above code based on the garments that PGN found in the image. You do not need label map for vertexlabel.
Currently MGN does not support layered clothing such as t-shirt under coat. For such cases we keep the label of the outer garment (coat).
Using the above inline snippet:
|
Thank you very much Bharat! This is an excellent and thorough explanation. |
Given pose estimation (via Openpose) and segmentation (via PGN) as well as manually set garment's category, is there existing code to convert these data to test_data.pkl? Maybe we can gather all the necessary steps to make it easier for generating user-specified data. |
Excellent suggestion. If someone already implemented this please shoot me an email. |
@Frank-Dz I have it, but it's still in progress. Shoot me an e-mail at nathanbendich@gmail.com |
@neonb88 Hi, Would you please share the code that converts the users data to test_data.pkl with me? I have just shoot an email to you. My e-mail is xiezhy6@mail2.sysu.edu.cn. |
@neonb88 Hi, Would you please share the code that converts the users data to test_data.pkl with me? I have just shoot an email to you. My e-mail is lxz@tju.edu.cn |
@neonb88 Hi, Would you please share the code that converts the users data to test_data.pkl with me? I have just shoot an email to you. My e-mail is a75482022@gmail.com |
@neonb88 hi, I am trying to do exactly mimic generating the data shown on the test_data.pkl with my own. Would you share your code for that with me too? Rupang818@gmail.com thanks! |
Has anyone received the code to convert the data to test_data.pkl? I would really like to know please. Thanks |
I have not received the code, so I do it by myself |
I donot know how to get this value for my pictures, Can you help me? Thanks.
The text was updated successfully, but these errors were encountered: