Shortcuts

mmagic.models.utils.diffusion_utils

Module Contents

Functions

betas_for_alpha_bar(num_diffusion_timesteps[, max_beta])

Create a beta schedule that discretized the given alpha_t_bar

mmagic.models.utils.diffusion_utils.betas_for_alpha_bar(num_diffusion_timesteps, max_beta=0.999)[source]

Create a beta schedule that discretized the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [0,1].

Source: https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_ddim.py#L49 # noqa

Read the Docs v: latest
Versions
latest
stable
0.x
Downloads
pdf
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.