diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

¿Can i save all images of generation process?

Open elcejo opened this issue 3 years ago • 1 comments

I would like to save each image generated at each step of the image generation process. ¿Is possible?

elcejo avatar Oct 04 '22 18:10 elcejo

Hey @elcejo that's definitely possible - either with the callback feature we introduced recently https://github.com/huggingface/diffusers/pull/521 or by simply unrolling your pipeline look:

  • See how to write an unrolled loop here: https://huggingface.co/blog/stable_diffusion
  • and how to get the images here: https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/diffusers_intro.ipynb

patrickvonplaten avatar Oct 04 '22 22:10 patrickvonplaten

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Nov 04 '22 15:11 github-actions[bot]