Skip to content

About the design of core code #9

@lifeofstudy

Description

@lifeofstudy

Thank you for your excellent work. I have a question after reading. The paper does not explain the hyperparameter n in detail. Could you please explain why n is applied when hidden_states = 1280, but half of the channels are modulated directly when hidden_states = 640?
https://github.com/FreeStyleFreeLunch/FreeStyle/blame/main/diffusers/src/diffusers/models/unet_2d_blocks.py#L2192
https://github.com/FreeStyleFreeLunch/FreeStyle/blame/main/diffusers/src/diffusers/models/unet_2d_blocks.py#L2209
And is there any difference between this modulation using ((self.b - 1 ) * hidden_mean + 1) and directly using self.b?

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