IDM-VTON icon indicating copy to clipboard operation
IDM-VTON copied to clipboard

Could I use my own pictures?

Open Yuziyue opened this issue 1 year ago • 5 comments

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 🙂)?

Yuziyue avatar Apr 24 '24 08:04 Yuziyue

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

rokonezoko55555555 avatar Apr 24 '24 10:04 rokonezoko55555555

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. 😂

Yuziyue avatar Apr 24 '24 10:04 Yuziyue

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.

yisol avatar Apr 24 '24 14:04 yisol

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?

Yuziyue avatar Apr 27 '24 09:04 Yuziyue

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

gillbates avatar May 02 '24 01:05 gillbates