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

Generating my dataset #49

Open
rupang818 opened this issue Mar 10, 2021 · 1 comment
Open

Generating my dataset #49

rupang818 opened this issue Mar 10, 2021 · 1 comment

Comments

@rupang818
Copy link

rupang818 commented Mar 10, 2021

Hello @bharat-b7, the work you've done here is fascinating - thank you!

I'm working on generating my own dataset, where I perform PGN semantic segmentation to generate the segmentation, and convert it into the input data that I can use for this MGN.

Here's the semantic segmentation that I was able to generate:
mcilroy_finish_vis

Your README says some additional "manual" process was needed, and I was wondering how you've processed the outputs of the PGN semantic segmentation to generate your segmentation, like this:
segmentation

In summary, I feel like these are the inputs that is needed, but I don't know how to generate:

  • multi_tex.jpg
  • scan_tex.jpg
  • registered_tex.jpg
  • Pants.obj
  • Shirt.obj
  • Segmentation.png
  • scan.obj
  • scan_labels.npy
  • smpl_registered.obj
  • registration.pkl

Any further guidance would be greatly appreciated. Thank you!

@rupang818
Copy link
Author

rupang818 commented Mar 12, 2021

Digging the repo a little bit further, I found these issues that might be related:

Please see the data processing steps in the readme. Once you get the segmentation labels from PGN, you just need to change the colours as follows: Pants (65, 0, 65), Short-Pants (0, 65, 65), Shirt (145, 65, 0), T-Shirt (145, 0, 65) and Coat (0, 145, 65), skin and hair are set as white. The colour choice was arbitrarily decided when training MGN, nothing technical about it.

Does the tuple represent the RGB value? I am currently not able to run the open pose due to some compilation issues, but once I do, I imagine I'll get a (2,25,3) shaped output that tells me about which of the 25 body parts each of the pixels should fall under

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

No branches or pull requests

1 participant