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

Could I use my own pictures? #23

Open
Yuziyue opened this issue Apr 24, 2024 · 5 comments
Open

Could I use my own pictures? #23

Yuziyue opened this issue Apr 24, 2024 · 5 comments

Comments

@Yuziyue
Copy link

Yuziyue commented Apr 24, 2024

Nice job! I have used inference.py to test VITON-HD dataset. However, I wonder if the codes support to use my own pictures to generate images ( Instead of by using demo 🙂)?

@rokonezoko55555555
Copy link

https://huggingface.co/spaces/yisol/IDM-VTON
you can also use your own img ,just tap on on upload button
64d1f417-a7e2-4945-b77e-3d9feff167f4
0afc7c26-1a20-449b-841d-e16086a3cdf0

@Yuziyue
Copy link
Author

Yuziyue commented Apr 24, 2024

https://huggingface.co/spaces/yisol/IDM-VTON you can also use your own img ,just tap on on upload button 64d1f417-a7e2-4945-b77e-3d9feff167f4 0afc7c26-1a20-449b-841d-e16086a3cdf0

THX😀,but what I want is using codes rather than a html demo, since I have successfully run the inference code. 😂

@yisol
Copy link
Owner

yisol commented Apr 24, 2024

Hello, you can run inference.py with your own dataset for batch generation.
You have to prepare mask image and densepose image.
You can refer this link for preparing densepose image.

@Yuziyue Yuziyue closed this as completed Apr 25, 2024
@Yuziyue Yuziyue reopened this Apr 27, 2024
@Yuziyue
Copy link
Author

Yuziyue commented Apr 27, 2024

Hello, you can run inference.py with your own dataset for batch generation. You have to prepare mask image and densepose image. You can refer this link for preparing densepose image.

Very thanks,now I have followed this link and got (agnostic-v3.2) images like
14679_00
but I find what the inference code needs is (agnostic-mask) images like (I'm not sure🙂)
14679_00_mask
The link doesn't show how to get this, could you help me?

@gillbates
Copy link

same question here that: how could we get these black white mask images ...

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

4 participants