MCPcopy Create free account

hub / github.com/LuChengTHU/dpm-solver / functions

Functions1,626 in github.com/LuChengTHU/dpm-solver

Functionget_config
()
examples/score_sde_jax/configs/ve/cifar10_ncsnpp.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/bedroom_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/celeba_ncsnpp.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/celebahq_256_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ffhq_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/cifar10_ncsnpp_continuous.py:21
Functionget_config
()
examples/score_sde_jax/configs/ve/ffhq_256_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/celebahq_ncsnpp_continuous.py:23
Functionget_config
()
examples/score_sde_jax/configs/ve/cifar10_ddpm.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/church_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsnv2/bedroom.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsnv2/celeba.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsnv2/cifar10.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsn/celeba_124.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsn/cifar10_5.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsn/celeba_1245.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsn/cifar10_1245.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsn/celeba.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsn/cifar10_124.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsn/cifar10.py:22
Functionget_config
()
examples/score_sde_jax/configs/ve/ncsn/celeba_5.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/cifar10_ddpmpp_deep_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/cifar10_ncsnpp_deep_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/cifar10_ncsnpp.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/cifar10_ddpmpp_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/cifar10_ddpmpp.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/cifar10_ncsnpp_continuous.py:21
Functionget_config
()
examples/score_sde_jax/configs/vp/ddpm/cifar10_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/ddpm/church.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/ddpm/celebahq.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/ddpm/bedroom.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/ddpm/cifar10_unconditional.py:22
Functionget_config
()
examples/score_sde_jax/configs/vp/ddpm/cifar10.py:22
Functionget_config
()
examples/score_sde_jax/configs/subvp/cifar10_ddpmpp_deep_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/subvp/cifar10_ncsnpp_deep_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/subvp/cifar10_ddpm_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/subvp/cifar10_ddpmpp_continuous.py:22
Functionget_config
()
examples/score_sde_jax/configs/subvp/cifar10_ncsnpp_continuous.py:21
Functionget_custom_cond
(mode)
examples/stable-diffusion/notebook_helpers.py:59
Functionget_data_inverse_scaler
Inverse data normalizer.
examples/score_sde_pytorch/datasets.py:32
Functionget_data_inverse_scaler
Inverse data normalizer.
examples/score_sde_jax/datasets.py:32
Functionget_data_scaler
Data normalizer. Assume data are always in [0, 1].
examples/score_sde_pytorch/datasets.py:23
Functionget_data_scaler
Data normalizer. Assume data are always in [0, 1].
examples/score_sde_jax/datasets.py:23
Functionget_dataset
Create data loaders for training and evaluation. Args: config: A ml_collection.ConfigDict parsed from config files. uniform_dequantization:
examples/score_sde_pytorch/datasets.py:71
Functionget_dataset
Create data loaders for training and evaluation. Args: config: A ml_collection.ConfigDict parsed from config files. additional_dim: An inte
examples/score_sde_jax/datasets.py:71
Functionget_ddpm_params
Get betas and alphas --- parameters used in the original DDPM paper.
examples/score_sde_pytorch/models/utils.py:63
Functionget_ddpm_params
Get betas and alphas --- parameters used in the original DDPM paper.
examples/score_sde_jax/models/utils.py:84
Functionget_dir
Get directory that log files are being written to. will be None if there is no output directory (i.e., if you didn't call start)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/logger.py:281
Methodget_feature_vectors
(self, x, timesteps, low_res=None, **kwargs)
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:543
Functionget_inception_model
(inceptionv3=False)
examples/score_sde_pytorch/evaluation.py:35
Functionget_inception_model
(inceptionv3=False)
examples/score_sde_jax/evaluation.py:35
Methodget_last_layer
(self)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:364
Functionget_likelihood_fn
Create a function to compute the unbiased log-likelihood estimate of a given data point. Args: sde: A `sde_lib.SDE` object that represents the
examples/score_sde_pytorch/likelihood.py:40
Functionget_likelihood_fn
Create a function to compute the unbiased log-likelihood estimate of a given data point. Args: sde: A `sde_lib.SDE` object that represents the
examples/score_sde_jax/likelihood.py:39
Functionget_logit_fn
Create a logit function for the classifier.
examples/score_sde_jax/models/utils.py:293
Functionget_model
(mode)
examples/stable-diffusion/notebook_helpers.py:52
Methodget_model_output
(x, t)
examples/stable-diffusion/ldm/models/diffusion/plms.py:178
Functionget_network
(config)
examples/score_sde_pytorch/models/ncsnv2.py:31
Functionget_network
(config)
examples/score_sde_jax/models/ncsnv2.py:32
Functionget_optimizer
Returns a flax optimizer object based on `config`.
examples/score_sde_pytorch/losses.py:26
Functionget_optimizer
Returns a flax optimizer object based on `config`.
examples/score_sde_jax/losses.py:28
Functionget_pc_colorizer
Create a image colorization function based on Predictor-Corrector (PC) sampling. Args: sde: An `sde_lib.SDE` object that represents the forward
examples/score_sde_pytorch/controllable_generation.py:85
Functionget_pc_colorizer
Create a image colorization function based on Predictor-Corrector (PC) sampling. Args: sde: An `sde_lib.SDE` object that represents the forward
examples/score_sde_jax/controllable_generation.py:97
Functionget_pc_conditional_sampler
Class-conditional sampling with Predictor-Corrector (PC) samplers. Args: sde: An `sde_lib.SDE` object that represents the forward SDE. scor
examples/score_sde_jax/controllable_generation.py:211
Functionget_pc_inpainter
Create an image inpainting function that uses PC samplers. Args: sde: An `sde_lib.SDE` object that represents the forward SDE. predictor: A
examples/score_sde_pytorch/controllable_generation.py:8
Functionget_pc_inpainter
Create an image inpainting function that uses PC samplers. Args: sde: An `sde_lib.SDE` object that represents the forward SDE. model: A `fl
examples/score_sde_jax/controllable_generation.py:10
Functionget_sampling_fn
Create a sampling function. Args: config: A `ml_collections.ConfigDict` object that contains all configuration information. sde: A `sde_lib
examples/score_sde_pytorch/sampling.py:81
Functionget_sampling_fn
Create a sampling function. Args: config: A `ml_collections.ConfigDict` object that contains all configuration information. sde: A `sde_lib
examples/score_sde_jax/sampling.py:85
Functionget_step_fn
Create a one-step training/evaluation function. Args: sde: An `sde_lib.SDE` object that represents the forward SDE. optimize_fn: An optimiz
examples/score_sde_pytorch/losses.py:151
Functionget_step_fn
Create a one-step training/evaluation function. Args: sde: An `sde_lib.SDE` object that represents the forward SDE. model: A `flax.linen.Mo
examples/score_sde_jax/losses.py:179
Functionget_timestep_embedding
(timesteps, embedding_dim, max_positions=10000)
examples/score_sde_pytorch/models/layers.py:515
Functionget_timestep_embedding
(timesteps, embedding_dim, max_positions=10000)
examples/score_sde_jax/models/layers.py:450
Functionget_weight
Get/create weight tensor for a convolution or fully-connected layer.
examples/score_sde_pytorch/models/up_or_down_sampling.py:14
Methodget_x_prev_and_pred_x0
(e_t, index)
examples/stable-diffusion/ldm/models/diffusion/plms.py:199
Functiongetkvs
()
examples/ddpm_and_guided-diffusion/models/guided_diffusion/logger.py:243
Functiongroup_by_key_prefix
(prefix, d)
examples/stable-diffusion/ldm/modules/x_transformer.py:106
Functionhinge_d_loss_with_exemplar_weights
(logits_real, logits_fake, weights)
examples/stable-diffusion/ldm/modules/losses/vqperceptual.py:11
Functionimresize
(img, scale, antialiasing=True)
examples/stable-diffusion/ldm/modules/image_degradation/utils_image.py:766
Functionimresize_np
(img, scale, antialiasing=True)
examples/stable-diffusion/ldm/modules/image_degradation/utils_image.py:839
Functionimsave
(img, img_path)
examples/stable-diffusion/ldm/modules/image_degradation/utils_image.py:203
Functionimshow
(x, title=None, cbar=False, figsize=None)
examples/stable-diffusion/ldm/modules/image_degradation/utils_image.py:37
Functionimwrite
(img, img_path)
examples/stable-diffusion/ldm/modules/image_degradation/utils_image.py:209
Functioninfo
(*args)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/logger.py:258
Functioninit
(shape, dtype=dtype, device=device)
examples/score_sde_pytorch/models/layers.py:66
Functioninit_
(tensor)
examples/stable-diffusion/ldm/modules/attention.py:29
Methodinit_embed
(key, shape, dtype=jnp.float32)
examples/score_sde_jax/models/normalization.py:122
Functioninit_model
Initialize a `flax.linen.Module` model.
examples/score_sde_jax/models/utils.py:109
Functioninner
(*args, **kwargs)
examples/stable-diffusion/ldm/modules/x_transformer.py:65
Methodinner_dtype
Get the dtype used by the torso of the model.
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:456
Functioninpaint_update_fn
(model, data, mask, x, t)
examples/score_sde_pytorch/controllable_generation.py:44
Functioninpaint_update_fn
(rng, state, data, mask, x, t)
examples/score_sde_jax/controllable_generation.py:49
Methodinverse
Inverse the sample `x` from time `t_start` to `t_end` by DPM-Solver. For discrete-time DPMs, we use `t_start=1/N`, where `N` is the t
dpm_solver_pytorch.py:1032
Methodinverse
Inverse the sample `x` from time `t_start` to `t_end` by DPM-Solver. For discrete-time DPMs, we use `t_start=1/N`, where `N` is the t
examples/ddpm_and_guided-diffusion/dpm_solver/sampler.py:1032
Functionl1
(x, y)
examples/stable-diffusion/ldm/modules/losses/vqperceptual.py:35
Functionl2
(x, y)
examples/stable-diffusion/ldm/modules/losses/vqperceptual.py:39
Functionlist_dir
List all directories at a given root Args: root (str): Path to directory whose folders need to be listed prefix (bool, optional):
examples/ddpm_and_guided-diffusion/datasets/utils.py:88
Functionlist_files
List all files ending with a suffix at a given root Args: root (str): Path to directory whose folders need to be listed suffix (s
examples/ddpm_and_guided-diffusion/datasets/utils.py:110
Functionload_dataset_stats
Load the pre-computed dataset statistics.
examples/score_sde_pytorch/evaluation.py:43
Functionload_dataset_stats
Load the pre-computed dataset statistics.
examples/score_sde_jax/evaluation.py:43
Functionload_multi_files
(data_archive)
examples/stable-diffusion/scripts/train_searcher.py:36
← previousnext →1,301–1,400 of 1,626, ranked by callers