MCPcopy Create free account

hub / github.com/darioShar/DLPM / functions

Functions785 in github.com/darioShar/DLPM

↓ 1 callersMethodpredict_eps_from_m_tilde
(self, x_t, t, m_tilde_t_1)
dlpm/methods/dlpm.py:204
↓ 1 callersMethodprepare_data_directories
(self, p, dataset_files)
bem/utils_exp.py:247
↓ 1 callersFunctionprint_dict
(d, indent = 0)
bem/utils_exp.py:21
↓ 1 callersMethodregister
(self, module)
dlpm/models/Ema.py:13
↓ 1 callersMethodregister
(self, module)
bem/utils_ema.py:14
↓ 1 callersMethodregister_batch_loss
(self, batch_loss)
bem/evaluate/EvaluationManager.py:90
↓ 1 callersMethodregister_epoch_loss
(self, epoch_loss)
bem/evaluate/EvaluationManager.py:95
↓ 1 callersMethodregister_grad_norm
(self, models)
bem/evaluate/EvaluationManager.py:100
↓ 1 callersMethodrun
(self, no_ema_eval = False, **kwargs)
bem/Experiments.py:193
↓ 1 callersFunctionrun_exp
(config_path)
run.py:9
↓ 1 callersMethodsample
(self, alpha, beta=0, size=1, loc=0, scale=1, type=torch.float32, reject_threshold:int=None, is
dlpm/methods/LIM/torchlevy/levy.py:131
↓ 1 callersFunctionsample_data
(train_data_size)
bem/datasets/__init__.py:32
↓ 1 callersMethodsample_x_t_from_xstart
(self, xstart, t, eps=None)
dlpm/methods/dlpm.py:211
↓ 1 callersMethodsave
(self, filepath)
bem/TrainingManager.py:267
↓ 1 callersMethodsave_experiment
(self, base_path, manager, curr_epoc
bem/utils_exp.py:492
↓ 1 callersFunctionsde_score_update_imputation
(data, mask, x, s, t)
dlpm/methods/LIM/functions/sampler.py:183
↓ 1 callersMethodset_values
(self, value_dict)
bem/Logger.py:16
↓ 1 callersMethodtrain
(self)
dlpm/methods/LIM/diffusion.py:52
↓ 1 callersMethodtraining_losses
Compute training losses for a single timestep. :param model: the model to evaluate loss on. :param x_start: the [N x C x ...
dlpm/methods/GenerativeLevyProcess.py:581
↓ 1 callersMethodtraining_losses_dlpm
(self, model, x_start, los
dlpm/methods/GenerativeLevyProcess.py:612
↓ 1 callersMethodtraining_losses_lim
(self, model, x_start,
dlpm/methods/GenerativeLevyProcess.py:680
↓ 1 callersFunctionunflatten_master_params
Unflatten the master parameters to look like model_params.
dlpm/models/fp16_util.py:64
↓ 1 callersFunctionupfirdn2d_native
( input, kernel, up_x, up_y, down_x, down_y, pad_x0, pad_x1, pad_y0, pad_y1 )
dlpm/methods/LIM/op/upfirdn2d.py:159
↓ 1 callersFunctionupsample_conv_2d
Fused `upsample_2d()` followed by `tf.nn.conv2d()`. Padding is performed only once at the beginning, not between the operations. The f
dlpm/methods/LIM/models/up_or_down_sampling.py:72
↓ 1 callersFunctionupsample_conv_2d
Fused `upsample_2d()` followed by `tf.nn.conv2d()`. Padding is performed only once at the beginning, not between the operations. The f
dlpm/models/up_or_down_sampling.py:72
↓ 1 callersFunctionvariance_scaling
Ported from JAX.
dlpm/methods/LIM/models/layers.py:54
↓ 1 callersFunctionvariance_scaling
Ported from JAX.
dlpm/methods/LIM/models/layerspp.py:116
↓ 1 callersFunctionvariance_scaling
Ported from JAX.
dlpm/models/layers.py:54
↓ 1 callersFunctionvariance_scaling
Ported from JAX.
dlpm/models/layerspp.py:116
FunctionMMD
Emprical maximum mean discrepancy. The lower the result, the more evidence that distributions are the same. Args: x: first sample, distri
bem/evaluate/mmd_loss.py:88
FunctionPYBIND11_MODULE
dlpm/methods/LIM/op/fused_bias_act.cpp:19
FunctionPYBIND11_MODULE
dlpm/methods/LIM/op/upfirdn2d.cpp:21
MethodV
(theta)
dlpm/methods/LIM/torchlevy/levy.py:51
MethodV
(theta)
bem/datasets/torchlevy/levy.py:51
Method__call__
(self, input, target)
dlpm/methods/LIM/datasets/vision.py:63
Method__call__
(self, img)
dlpm/methods/LIM/datasets/__init__.py:35
Method__call__
(self, sample_1, sample_2, alphas, ret_matrix=False)
bem/evaluate/mmd_loss.py:54
Method__call__
(self, input, target)
bem/datasets/vision.py:63
Method__call__
(self, img)
bem/datasets/__init__.py:65
Method__del__
(self)
bem/Experiments.py:119
Method__getitem__
(self, i)
dlpm/methods/LIM/evaluate/fid_score.py:56
Method__getitem__
(self, index)
dlpm/methods/LIM/datasets/vision.py:28
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is index of the target class.
dlpm/methods/LIM/datasets/__init__.py:388
Method__getitem__
(self, index)
dlpm/methods/LIM/datasets/lsun.py:38
Method__getitem__
Args: index (int): Index Returns: tuple: Tuple (image, target) where target is the index of the target categ
dlpm/methods/LIM/datasets/lsun.py:146
Method__getitem__
(self, i)
bem/evaluate/fid_score.py:56
Method__getitem__
(self, index)
bem/datasets/vision.py:28
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is index of the target class.
bem/datasets/__init__.py:618
Method__getitem__
(self, index)
bem/datasets/lsun.py:38
Method__getitem__
Args: index (int): Index Returns: tuple: Tuple (image, target) where target is the index of the target categ
bem/datasets/lsun.py:146
Method__getitem__
(self, idx)
bem/datasets/Data.py:88
Method__getitem__
(self, idx)
bem/datasets/tinyimagenet.py:189
Method__init__
(self, p = None)
dlpm/NeptuneLogger.py:20
Method__init__
( self, alpha, device, reverse_steps, model_mean_
dlpm/methods/GenerativeLevyProcess.py:48
Method__init__
( self, alpha, device, diffusion_steps, time_spacing = 'linear',
dlpm/methods/dlpm.py:57
Method__init__
(self, args, config, device=None)
dlpm/methods/LIM/diffusion.py:38
Method__init__
(self, files, transforms=None)
dlpm/methods/LIM/evaluate/fid_score.py:49
Method__init__
(self, in_channels, pool_features)
dlpm/methods/LIM/evaluate/inception.py:214
Method__init__
(self, in_channels, channels_7x7)
dlpm/methods/LIM/evaluate/inception.py:239
Method__init__
(self, in_channels)
dlpm/methods/LIM/evaluate/inception.py:267
Method__init__
(self, in_channels)
dlpm/methods/LIM/evaluate/inception.py:300
Method__init__
(self, keys: torch.Tensor, values: torch.Tensor)
dlpm/methods/LIM/torchlevy/torch_dictionary.py:6
Method__init__
(self, alpha, sigma_1, sigma_2, beta=0, t0=30, Fs=100, type="cft")
dlpm/methods/LIM/torchlevy/levy_gaussian_origin.py:14
Method__init__
(self, alpha, sigma_1, sigma_2, beta=0, t0=30, Fs=100, is_fdsm=True)
dlpm/methods/LIM/torchlevy/levy_gaussian.py:14
Method__init__
(self, channel, negative_slope=0.2, scale=2 ** 0.5)
dlpm/methods/LIM/op/fused_act.py:75
Method__init__
(self, alpha, schedule='cosine', T=0.9946)
dlpm/methods/LIM/functions/sde.py:6
Method__init__
(self, root, transforms=None, transform=None, target_transform=None)
dlpm/methods/LIM/datasets/vision.py:9
Method__init__
(self, transform=None, target_transform=None)
dlpm/methods/LIM/datasets/vision.py:59
Method__init__
(self, x1, x2, y1, y2)
dlpm/methods/LIM/datasets/__init__.py:29
Method__init__
(self, root, train=True)
dlpm/methods/LIM/datasets/__init__.py:332
Method__init__
(self, root, transform=None, target_transform=None)
dlpm/methods/LIM/datasets/lsun.py:12
Method__init__
(self)
dlpm/methods/LIM/models/layers.py:96
Method__init__
(self, features, n_stages, act=nn.ReLU(), maxpool=True)
dlpm/methods/LIM/models/layers.py:134
Method__init__
(self, features, n_stages, num_classes, normalizer, act=nn.ReLU())
dlpm/methods/LIM/models/layers.py:158
Method__init__
(self, features, n_blocks, n_stages, act=nn.ReLU())
dlpm/methods/LIM/models/layers.py:184
Method__init__
(self, features, n_blocks, n_stages, num_classes, normalizer, act=nn.ReLU())
dlpm/methods/LIM/models/layers.py:208
Method__init__
(self, in_planes, features)
dlpm/methods/LIM/models/layers.py:235
Method__init__
(self, in_planes, features, num_classes, normalizer)
dlpm/methods/LIM/models/layers.py:254
Method__init__
(self, in_planes, features, act=nn.ReLU(), start=False, end=False, maxpool=True)
dlpm/methods/LIM/models/layers.py:278
Method__init__
(self, in_planes, features, num_classes, normalizer, act=nn.ReLU(), start=False, end=False)
dlpm/methods/LIM/models/layers.py:314
Method__init__
(self, input_dim, output_dim, kernel_size=3, biases=True, adjust_padding=False)
dlpm/methods/LIM/models/layers.py:352
Method__init__
(self, input_dim, output_dim, kernel_size=3, biases=True)
dlpm/methods/LIM/models/layers.py:373
Method__init__
(self, input_dim, output_dim, kernel_size=3, biases=True)
dlpm/methods/LIM/models/layers.py:385
Method__init__
(self, input_dim, output_dim, num_classes, resample=1, act=nn.ELU(), normalization=ConditionalI
dlpm/methods/LIM/models/layers.py:398
Method__init__
(self, input_dim, output_dim, resample=None, act=nn.ELU(), normalization=nn.InstanceNorm2d, adj
dlpm/methods/LIM/models/layers.py:454
Method__init__
(self, channels)
dlpm/methods/LIM/models/layers.py:562
Method__init__
(self, channels, with_conv=False)
dlpm/methods/LIM/models/layers.py:587
Method__init__
(self, channels, with_conv=False)
dlpm/methods/LIM/models/layers.py:602
Method__init__
(self, act, in_ch, out_ch=None, temb_dim=None, conv_shortcut=False, dropout=0.1)
dlpm/methods/LIM/models/layers.py:623
Method__init__
(self, mu=0.999)
dlpm/methods/LIM/models/ema.py:5
Method__init__
(self, in_channels, with_conv)
dlpm/methods/LIM/models/ddpm.py:44
Method__init__
(self, in_channels, with_conv)
dlpm/methods/LIM/models/ddpm.py:63
Method__init__
(self, *, in_channels, out_channels=None, conv_shortcut=False, dropout, temb_channels=512)
dlpm/methods/LIM/models/ddpm.py:85
Method__init__
(self, in_channels)
dlpm/methods/LIM/models/ddpm.py:145
Method__init__
(self, config)
dlpm/methods/LIM/models/ncsnpp.py:37
Method__init__
(self, embedding_size=256, scale=1.0)
dlpm/methods/LIM/models/layerspp.py:155
Method__init__
(self, dim1, dim2, method='cat')
dlpm/methods/LIM/models/layerspp.py:167
Method__init__
(self, channels, skip_rescale=False, init_scale=0.)
dlpm/methods/LIM/models/layerspp.py:185
Method__init__
(self, in_ch=None, out_ch=None, with_conv=False, fir=False, fir_kernel=(1, 3, 3, 1))
dlpm/methods/LIM/models/layerspp.py:215
Method__init__
(self, in_ch=None, out_ch=None, with_conv=False, fir=False, fir_kernel=(1, 3, 3, 1))
dlpm/methods/LIM/models/layerspp.py:250
← previousnext →301–400 of 785, ranked by callers