MCPcopy Create free account

hub / github.com/baofff/Extended-Analytic-DPM / functions

Functions635 in github.com/baofff/Extended-Analytic-DPM

Methodforward
(self, x, y)
libs/score_sde/models/ncsnv2.py:284
Methodforward
(self, x, y)
libs/score_sde/models/ncsnv2.py:386
Methodforward
(self, x, y)
libs/score_sde/models/normalization.py:57
Methodforward
(self, x, y)
libs/score_sde/models/normalization.py:82
Methodforward
(self, x, y)
libs/score_sde/models/normalization.py:101
Methodforward
(self, x)
libs/score_sde/models/normalization.py:118
Methodforward
(self, x, y)
libs/score_sde/models/normalization.py:139
Methodforward
(self, x)
libs/score_sde/models/normalization.py:153
Methodforward
(self, x)
libs/score_sde/models/normalization.py:170
Methodforward
(self, x, y)
libs/score_sde/models/normalization.py:200
Methodforward
(self, x)
libs/score_sde/models/up_or_down_sampling.py:45
Functionfrom_flattened_numpy
Form a torch tensor with the given `shape` from a flattened numpy array `x`.
libs/score_sde/models/utils.py:67
Functionfused_bias_act
libs/score_sde/op/fused_bias_act.cpp:11
Functionget_celeba64_config
(**hparams)
configs/default.py:26
Functionget_cifar10_config
(**hparams)
configs/default.py:16
Functionget_ckpt_by_it
r""" Get the ckpt at a iteration 'it' from ckpt_root If 'it' is None, try to get the latest ckpt If 'it' is None and there is no ckpt,
interface/utils/ckpt.py:102
Functionget_ct2dt_wrapper_config
(**hparams)
configs/default.py:282
Functionget_ct_dsdm_config
(**hparams)
configs/default.py:338
Functionget_ct_dsdm_err_config
(**hparams)
configs/default.py:347
Functionget_ct_dsm_config
(**hparams)
configs/default.py:364
Functionget_ct_wrapper_config
(**hparams)
configs/default.py:291
Functionget_ddpm_unet_config
(**hparams)
configs/cifar10/models.py:27
Functionget_dt_dsdm_config
(**hparams)
configs/default.py:320
Functionget_dt_dsdm_err_config
(**hparams)
configs/default.py:329
Functionget_dt_dsm0_config
(**hparams)
configs/default.py:311
Functionget_dt_dsm_config
(**hparams)
configs/default.py:303
Functionget_evaluate_config
(**hparams)
configs/cifar10/evaluate.py:8
Functionget_evaluate_config
(**hparams)
configs/celeba64/evaluate.py:8
Functionget_evaluate_config
(**hparams)
configs/lsun/evaluate.py:8
Functionget_evaluate_config
(**hparams)
configs/imagenet64/evaluate.py:8
Methodget_feature_vectors
(self, x, timesteps, low_res=None, **kwargs)
libs/iddpm/unet.py:545
Functionget_imagenet64_config
(**hparams)
configs/default.py:36
Functionget_lhybrid_config
(**hparams)
configs/default.py:356
Functionget_lsun_bedroom_config
(**hparams)
configs/default.py:45
Functionget_model
(name)
libs/score_sde/models/utils.py:45
Functionget_network
(config)
libs/score_sde/models/ncsnv2.py:31
Functionget_nll_config
(**hparams)
configs/default.py:183
Functionget_nscnpp_model
(for_pretrained=False, **kwargs)
libs/score_sde/customized.py:377
Functionget_sample2dir_config
(**hparams)
configs/default.py:149
Functionget_save_ms_eps_config
(**hparams)
configs/default.py:230
Functionget_save_nll_terms_config
(**hparams)
configs/default.py:216
Functionget_sde_nll_config
(**hparams)
configs/default.py:202
Functionget_sde_sample2dir_config
(**hparams)
configs/default.py:170
Functionget_sde_train_evaluator_config
(**hparams)
configs/default.py:251
Functionget_split_dt_wrapper_config
(**hparams)
configs/default.py:275
Functionget_timestep_embedding
(timesteps, embedding_dim, max_positions=10000)
libs/score_sde/models/layers.py:515
Functionget_train_config
(**hparams)
configs/default.py:95
Functionget_train_config
(**hparams)
configs/cifar10/train.py:6
Functionget_train_config
(**hparams)
configs/celeba64/train.py:6
Functionget_train_config
(**hparams)
configs/imagenet64/train.py:6
Functionget_train_evaluator_config
(**hparams)
configs/default.py:242
Functionget_weight
Get/create weight tensor for a convolution or fully-connected layer.
libs/score_sde/models/up_or_down_sampling.py:14
Functiongrad_norm
(inputs: Union[nn.Module, Iterator[torch.Tensor]], norm_type: float = 2.)
core/utils/diagnose.py:17
Methodgrid_sample
(self, it, schedule, rev_var_type, path, clip_x0=True, sample_steps=None, nrow=10, ncol=10)
interface/evaluators/dtdpm_evaluator.py:37
Methodgrid_sample
(self, it, sde, path, sample_steps=None, nrow=10, ncol=10)
interface/evaluators/sde_evaluator.py:38
Functioninit
(shape, dtype=dtype, device=device)
libs/score_sde/models/layers.py:66
Methodinner_dtype
Get the dtype used by the torso of the model.
libs/iddpm/unet.py:458
Functioninner_product
(a, b, start_dim=1)
core/func/functions.py:31
Functionkl_between_normal
(mu_0, var_0, mu_1, var_1)
core/func/functions.py:121
Functionlast_term_fn
(x0)
core/diffusion/likelihood.py:111
Functionlog_bernoulli
(inputs, logits, n_data_dim)
core/func/functions.py:117
Functionlog_discretized_normal
(x, mu, var)
core/func/functions.py:89
Functionlog_normal
(x, mu, var)
core/func/functions.py:76
Functionlogsumexp
(tensor, dim, keepdim=False)
core/func/functions.py:58
Functionmake_master_params
Copy model parameters into a (differently-shaped) list of full-precision parameters.
libs/iddpm/fp16_util.py:27
Functionmake_xyz
(fn, left, right, bottom, top, steps, exp)
core/utils/diagnose.py:35
Methodmarginal_prob
(self, x0, t)
core/diffusion/sde.py:123
Methodmarginal_prob
(self, x0, t)
core/diffusion/sde.py:144
Functionmaster_params_to_model_params
Copy the master parameter data back into the model parameters.
libs/iddpm/fp16_util.py:50
Functionmean_flat
(tensor, keepdim=False)
core/func/functions.py:35
Functionmean_flat
Take the mean over all non-batch dimensions.
libs/iddpm/nn.py:73
Functionmodel_grads_to_master_grads
Copy the gradients from the model parameters into the master parameters from make_master_params().
libs/iddpm/fp16_util.py:40
Functionmos
(a, start_dim=1)
core/func/functions.py:27
Functionnaive_downsample_2d
(x, factor=2)
libs/score_sde/models/up_or_down_sampling.py:66
Functionnaive_upsample_2d
(x, factor=2)
libs/score_sde/models/up_or_down_sampling.py:59
Functionncsn_conv1x1
1x1 convolution. Same as NCSNv1/v2.
libs/score_sde/models/layers.py:44
Methodnll
(self, fname, batch_size, schedule, rev_var_type, clip_x0=True, avg_cov=False, trajectory='linear'
interface/evaluators/dtdpm_evaluator.py:78
Methodnll
(self, fname, batch_size, sde, reverse_type, n_samples=None, partition="test", t_init=1e-5, it=Non
interface/evaluators/sde_evaluator.py:71
Methodobjective
(self, v, **kwargs)
core/criterions/ddpm.py:66
Methodobjective
(self, v, **kwargs)
core/criterions/ddpm.py:78
Methodobjective
(self, v, **kwargs)
core/criterions/ddpm.py:95
Methodobjective
(self, v, **kwargs)
core/criterions/ddpm.py:110
Methodobjective
(self, v, **kwargs)
core/criterions/ddpm.py:123
Methodobjective
(self, v, **kwargs)
core/criterions/ddpm.py:140
Functionode_func
(t, state)
core/diffusion/likelihood.py:152
Methodpredict_cov_prev
(self, xt, s, t, typ, ms_eps=None)
core/diffusion/dtdpm.py:127
Methodpredict_xprev
(self, xt, s, t)
core/diffusion/dtdpm.py:123
Methodpredict_xprev_cov_xprev
(self, xt, s, t, typ, ms_eps=None)
core/diffusion/dtdpm.py:134
Methodpreprocess
(self, v)
interface/datasets/lsun_bedroom.py:20
Methodpreprocess
r""" The mathematical form of the affine transform
interface/datasets/dataset_factory.py:58
Methodpreprocess
(self, v)
interface/datasets/celeba.py:364
Methodpreprocess
(self, v)
interface/datasets/cifar10.py:36
Methodpreprocess
(self, v)
interface/datasets/imagenet64.py:43
Methodpreprocess
(self, v)
interface/datasets/mnist.py:65
Functionprobe_output_shape
(model: nn.Module, input_shape)
core/utils/diagnose.py:30
Methodq_posterior_mean
(self, x0, s, t, xt=None, eps=None)
core/diffusion/dtdpm.py:193
Functionrect_interpolate
(a, b, c, steps)
interface/evaluators/utils.py:16
Functionregister_model
A decorator for registering model classes.
libs/score_sde/models/utils.py:26
Methodrestore
Restore the parameters stored with the `store` method. Useful to validate the model with EMA parameters without affecting the original op
libs/score_sde/models/ema.py:76
Functionrun_timing_profile
(config)
interface/runner/runner.py:87
← previousnext →501–600 of 635, ranked by callers