Skip to content

For model/prior.py _initial_sample, why the prob is calculated as from N(0,1)? #2

@seekerzz

Description

@seekerzz

Hello, thanks for sharing the pytorch-based code!
However, I have some question about the _initial_sample func in model/prior.py .
epsilon is sampled from N(0, t) (t is the temperature), how its logprob is calculated? For norm distribution,
image
After log (the mean is 0)
image.
Can you explain why use \sigma as 1 instead of t here?

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