Skip to content

Default 'guidance_type=joint' settings #7

@SuhZhang

Description

@SuhZhang

Hi, thank you for your great work, a big boost to this field.

As I was reading the code, I noticed that the default is cfg_type='joint', and guidance_type=cfg_type. This makes _latents_pred = (cond_latents_pred - uncond_latents_pred) * guidance_scale + uncond_latents_pred instead of another branch (guidance_type='hybrid') _latents_pred = tuncond_latents_pred + (puncond_latents_pred - tuncond_latents_pred) * text_guidance_scale + (cond_latents_pred - puncond_latents_pred) * pose_guidance_scale.

The default settings are different from what has been mentioned in the paper Eq. (17). So I was wondering if using guidance_type='hybrid' would work better, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions