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

Image preview #522

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Image preview #522

wants to merge 21 commits into from

Conversation

stduhpf
Copy link
Contributor

@stduhpf stduhpf commented Dec 13, 2024

Forked off #454
Would also probably replace #416

  • Move the preview decoding logic from examples/cli/main.cpp to stable-diffusion.cpp
  • Image preview is disabled by default
  • Adds possibility to chose between previewing image with latent projection (as demonstrated in fast latent image preview #454), TAE, or VAE
  • Adds possibility to load TAE for preview only (decode final image with VAE)
  • Default image preview path is preview.png

Related to #354, if the user uses an image viewer that updates its render when the image file changes, then it's possible to see the progress in real time.

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

Successfully merging this pull request may close these issues.

1 participant