Skip to content

Bug in LayerNorm? #1

@feixh

Description

@feixh

Hi there,

I feel like this line is not correct:
https://github.com/szymanowiczs/viewset-diffusion/blame/c25c94d310268b98ba4c07f6307b593cc644e568/model/unet_parts.py#L139

which, in my opinion, should be
return (x - mean) / (var + eps).rsqrt() * self.g.

Or, did I miss something?

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