MCPcopy Create free account
hub / github.com/ImprintLab/MedSegDiff / betas_for_alpha_bar

Function betas_for_alpha_bar

guided_diffusion/gaussian_diffusion.py:62–78  ·  view source on GitHub ↗

Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [0,1]. :param num_diffusion_timesteps: the number of betas to produce. :param alpha_bar: a lambda that takes an argument t from 0 to 1 and

(num_diffusion_timesteps, alpha_bar, max_beta=0.999)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_named_beta_scheduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected