Skip to content

Example on computing logprob with the model #157

@fountaindive

Description

@fountaindive

Hi,

First of all this work is super impressive and thanks for doing it!

I asked about computing the density of a sample here. I was able to run this example notebook however, I couldn't figure out how to use the model in the following way

logprob = model.logprob(X)

For example, it would be really useful to be able evaluate the logprob of the model on any input sample if that makes sense!

This might be me not fully understanding the method but to evaluate the logprob do you have run the ODE solver for a sample going from the prior space to the target space? Or can you take a sample already in the target space and compute the logprob?

Thanks!

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