Shortcuts

mmedit.models.utils.diffusion_utils

Module Contents

Functions

betas_for_alpha_bar(num_diffusion_timesteps[, max_beta])

Create a beta schedule that discretizes the given alpha_t_bar

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

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].

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

Read the Docs v: latest
Versions
master
latest
stable
zyh-re-docs
zyh-doc-notfound-extend
zyh-api-rendering
Downloads
pdf
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.