Reproduce example from Hugging Face Img2Img #6924
-
Hi all! I try to reproduce some examples from here in Google Colab. I have a problem with mirroring "jungle", I think I did all the same, running the same code. What I got for stable diffusion 1.5 is below (the right image). What I could do wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @katarzynasornat! Here is my try. |
Beta Was this translation helpful? Give feedback.
-
Cc: @stevhliu |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
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
This is what you need to know for being able to generate good results with image to image: