Skip to content

Classifier-Free Guidance Formulation #303

Open
@MoayedHajiAli

Description

@MoayedHajiAli

In the classifier-free guidance paper, the formulation is as follow
image

However, it is implemented in DALL-2 as
null_logits + (logits - null_logits) * cond_scale
According to the formula it should be
logits + (logits - null_logits) * cond_scale
where the logits are the conditional score and null_logits are the unconditional ones.

Can you please clarify the reason for this modification?
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions