MCPcopy Create free account
hub / github.com/ReinFlow/ReinFlow / likelihood_fn

Function likelihood_fn

model/diffusion/exact_likelihood.py:106–211  ·  view source on GitHub ↗

Compute an unbiased estimate to the log-likelihood in bits/dim. Args: cond: dict with key state/rgb; more recent obs at the end state: (B, To, Do) data: (B x Ta x Da) Returns: logprob: (B,)

(
        model,
        model_ft,
        data,
        denoising_steps,
        ft_denoising_steps,
        cond,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

prior_logpMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected