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

How to make inference on only one photo not just the whole dataset? #45

Open
ishamstablediffusionapi opened this issue Oct 10, 2023 · 4 comments

Comments

@ishamstablediffusionapi

I would like to know how can we make inference on only one single image.

@sudip550
Copy link

I would like to know how can we make inference on only one single image.

Hey.... Do you got an answer??

@sjcotto
Copy link

sjcotto commented Nov 6, 2023

hi, same question

@TheFunyBunky
Copy link

Hello, if the image is either from vitonhd or dresscode datasets you can just delete all samples except one and run the inference. If you want to use your custom dataset/image you need to follow steps described in Preprocessing.md to get all poses, masks, etc. Hope someone found it useful.

@koluzaeva
Copy link

Hi!
image = ["00055_00.jpg", "00013_00.jpg","00176_00.jpg", "00205_00.jpg" ]
clothes = ["00782_00.jpg", "00760_00.jpg", "00518_00.jpg", "00705_00.jpg"]
df = pd.DataFrame({"image": image, "clothes": clothes})
And save df.to_csv in "test_pairs.txt", index=False, header=False, sep=" "

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