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

Method get_logprobs_subsample

model/diffusion/diffusion_vpg.py:422–485  ·  view source on GitHub ↗

Calculating the logprobs of random samples of denoised chains. Args: cond: dict with key state/rgb; more recent obs at the end state: (B, To, Do) rgb: (B, To, C, H, W) chains: (B, K+1, Ta, Da) get_ent: flag for ret

(
        self,
        cond,
        chains_prev,
        chains_next,
        denoising_inds,
        get_ent: bool = False,
        use_base_policy: bool = False,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

lossMethod · 0.80

Calls 1

p_mean_varMethod · 0.95

Tested by

no test coverage detected