Skip to content

[CLIPGuidedStableDiffusion] take the correct text embeddings#667

Merged
patil-suraj merged 1 commit intomainfrom
fix-clip-guide
Sep 28, 2022
Merged

[CLIPGuidedStableDiffusion] take the correct text embeddings#667
patil-suraj merged 1 commit intomainfrom
fix-clip-guide

Conversation

@patil-suraj
Copy link
Copy Markdown
Contributor

@patil-suraj patil-suraj commented Sep 28, 2022

There was a major bug in the CLIPGuidedStableDiffusion pipeline. While doing CLIP guidance it was using the uncond embeddings if classifier free guidance was turned on. This PR fixes it. Thanks a lot for spotting this @keturn

Fixes: #596

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

HuggingFaceDocBuilderDev commented Sep 28, 2022

The documentation is not available anymore as the PR was closed or merged.

@patil-suraj patil-suraj merged commit c16761e into main Sep 28, 2022
@patil-suraj patil-suraj deleted the fix-clip-guide branch September 28, 2022 15:41
prathikr pushed a commit to prathikr/diffusers that referenced this pull request Oct 26, 2022
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.

clip-guided stable diffusion correctness

2 participants