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

IUV expected by pose-with-style ? #25

Open
ThomasPwls opened this issue Nov 19, 2022 · 4 comments
Open

IUV expected by pose-with-style ? #25

ThomasPwls opened this issue Nov 19, 2022 · 4 comments

Comments

@ThomasPwls
Copy link

Hello

I have been running successfully the examples of the pose-with-style with colab.

Now I would like to play with my own pictures.
I understand that I have to use densepose to generate the IUV picture. The problem is that I get a red and green IUV from detectron2/densepose instead of the blue and green I see in the examples.

Did you generate the IUV from detectron2/densepose ? How did you get that blue and green IUV ?

Thank you for your help

@BadourAlBahar
Copy link
Owner

Make sure that the channels are in the order [i u v]. i as in the body part id and uv are the coordinates.

@fyviezhao
Copy link
Contributor

Refer to this doc (Sec.2 computing densepose) for creating densepose from custom images.

@maheboobp
Copy link

Refer to this doc (Sec.2 computing densepose) for creating densepose from custom images.

i tried this link. i am getting below error while trying to convert pickle to png.

"UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified."

tried loading with pickle and it fails with same error . any idea ?
f = open('dump.pk', 'rb')
pickle.load(f)

@shrinivasait
Copy link

Hi @maheboobp,
I had the same issue, i have resolved it using the 'torch.load' instead of 'pickle.load'.

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

5 participants