Skip to content

Reproduce example from Hugging Face Img2Img #6924

Answered by asomoza
katarzynasornat asked this question in Q&A
Discussion options

You must be logged in to vote

It's really hard to reproduce the same exact image with a random seed, also probably the images were made with one of the first versions of diffusers combined with the environment of the user it would drastically affects the results.

Still, you need to play with the parameters to get good results, the guide is just an example, don't be afraid to change things and experiment, this is my try:

colab: https://colab.research.google.com/drive/1dPOB-DzGuY9sudHSPpE3FeAfsoo0PQ7k?usp=sharing

image = pipeline(prompt, image=init_image, guidance_scale=8.0, num_inference_steps=30, strength=0.6).images[0]

This is what you need to know for being able to generate good results with image to image:

streng…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@katarzynasornat
Comment options

@katarzynasornat
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by stevhliu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants