MCPcopy Create free account

hub / github.com/deeplearning-wisc/MOOD / functions

Functions208 in github.com/deeplearning-wisc/MOOD

↓ 9 callersMethod__init__
a basic conv in MSDNet, two type :param nIn: :param nOut: :param type: normal or down :param bottleneck: use
models/msdnet_ge.py:48
↓ 9 callersMethod__init__
a basic conv in MSDNet, two type :param nIn: :param nOut: :param type: normal or down :param bottleneck: use
models/msdnet.py:21
↓ 8 callersMethod__init__
( self, in_channels, out_channels, kernel_size=(3, 3), stride=(1, 1),
Flops/Glow-PyTorch-master/modules.py:174
↓ 7 callersFunctionget_layer_param
(model)
Flops/Glow-PyTorch-master/utils_flop.py:217
↓ 7 callersFunctionsplit_feature
type = ["split", "cross"]
Flops/Glow-PyTorch-master/utils.py:38
↓ 5 callersMethod__init__
(self, dim_in, dim_out)
Flops/pixel-cnn-pp-master/layers.py:11
↓ 5 callersMethodupdate
(self, val, n=1)
utils/msdnet_function.py:101
↓ 4 callersMethod_init_weights
(self, m)
models/msdnet_ge.py:289
↓ 4 callersMethod_init_weights
(self, m)
models/msdnet.py:262
↓ 4 callersMethodbackward
(ctx, grad_output)
models/msdnet_ge.py:18
↓ 3 callersFunctionauroc
(T_score, F_score)
utils/MOOD.py:297
↓ 3 callersFunctiondiscretized_mix_logistic_loss
log-likelihood for mixture of discretized logistics, assumes the data has been rescaled to [-1,1] interval
Flops/pixel-cnn-pp-master/utils.py:36
↓ 3 callersFunctionget_ood_score
(data_name, model, L, dataloader, score_type, threshold, NM, adjusted_mode=0, mean=None, ca
utils/MOOD.py:240
↓ 2 callersMethod__init__
(self, nr_resnet=5, nr_filters=80, nr_logistic_mix=10, resnet_nonlinearity='concat_elu',
Flops/pixel-cnn-pp-master/model.py:59
↓ 2 callersMethod__init__
( self, image_shape, hidden_channels, K, L, actnorm_scale,
Flops/Glow-PyTorch-master/model.py:216
↓ 2 callersMethod_build_classifier_cifar
(self, nIn, num_classes)
models/msdnet_ge.py:354
↓ 2 callersMethod_build_classifier_cifar
(self, nIn, num_classes)
models/msdnet.py:327
↓ 2 callersMethod_build_transition
(self, nIn, nOut, outScales, offset, args)
models/msdnet_ge.py:346
↓ 2 callersMethod_build_transition
(self, nIn, nOut, outScales, offset, args)
models/msdnet.py:319
↓ 2 callersMethod_center
(self, input, reverse=False)
Flops/Glow-PyTorch-master/modules.py:97
↓ 2 callersMethod_scale
(self, input, logdet=None, reverse=False)
Flops/Glow-PyTorch-master/modules.py:103
↓ 2 callersFunctioncompute_loss
(nll, reduction="mean")
Flops/Glow-PyTorch-master/train.py:41
↓ 2 callersFunctioncompute_loss_y
(nll, y_logits, y_weight, y, multi_class, reduction="mean")
Flops/Glow-PyTorch-master/train.py:52
↓ 2 callersFunctioncompute_same_pad
(kernel_size, stride)
Flops/Glow-PyTorch-master/utils.py:5
↓ 2 callersFunctioncut_transfer
(L, threshold, energy, complexity, mean)
utils/MOOD.py:231
↓ 2 callersFunctionfpr95
(T_score, F_score)
utils/MOOD.py:301
↓ 2 callersFunctiongaussian_likelihood
(mean, logs, x)
Flops/Glow-PyTorch-master/modules.py:20
↓ 2 callersFunctiongaussian_sample
(mean, logs, temperature=1)
Flops/Glow-PyTorch-master/modules.py:25
↓ 2 callersFunctionget_block
(in_channels, out_channels, hidden_channels)
Flops/Glow-PyTorch-master/model.py:21
↓ 2 callersFunctionget_dataloader
(name,normalizer,bs)
utils/dataloader.py:5
↓ 2 callersFunctionis_leaf
(model)
Flops/Glow-PyTorch-master/utils_flop.py:207
↓ 2 callersFunctionlog_prob_from_logits
numerically stable log_softmax implementation that prevents overflow
Flops/pixel-cnn-pp-master/utils.py:28
↓ 2 callersFunctionlog_sum_exp
numerically stable log_sum_exp implementation that prevents overflow
Flops/pixel-cnn-pp-master/utils.py:19
↓ 2 callersMethodprior
(self, data, y_onehot=None)
Flops/Glow-PyTorch-master/model.py:268
↓ 2 callersMethodreset
(self)
Flops/Glow-PyTorch-master/utils_flop.py:155
↓ 2 callersMethodsplit2d_prior
(self, z)
Flops/Glow-PyTorch-master/modules.py:282
↓ 2 callersFunctionto_one_hot
(tensor, n, fill_with=1.)
Flops/pixel-cnn-pp-master/utils.py:153
↓ 1 callersMethod_build_block
(self, nIn, args, step, n_layer_all, n_layer_curr)
models/msdnet_ge.py:299
↓ 1 callersMethod_build_block
(self, nIn, args, step, n_layer_all, n_layer_curr)
models/msdnet.py:272
↓ 1 callersMethod_build_classifier_imagenet
(self, nIn, num_classes)
models/msdnet_ge.py:364
↓ 1 callersMethod_build_classifier_imagenet
(self, nIn, num_classes)
models/msdnet.py:336
↓ 1 callersMethod_check_input_dim
(self, input)
Flops/Glow-PyTorch-master/modules.py:146
↓ 1 callersFunctionaccuracy
Computes the error@k for the specified values of k
utils/msdnet_function.py:107
↓ 1 callersFunctioncalculate_complex
(batch_data,NM)
utils/MOOD.py:13
↓ 1 callersFunctioncelebA
(normalizer,bs)
utils/dataloader.py:53
↓ 1 callersFunctioncheck_dataset
(dataset, dataroot, augment, download)
Flops/Glow-PyTorch-master/train.py:30
↓ 1 callersFunctioncheck_manual_seed
(seed)
Flops/Glow-PyTorch-master/train.py:22
↓ 1 callersFunctioncifar10
(normalizer,bs)
utils/dataloader.py:38
↓ 1 callersFunctioncifar100
(normalizer,bs)
utils/dataloader.py:69
↓ 1 callersFunctionconcat_elu
like concatenated ReLU (http://arxiv.org/abs/1603.05201), but then with ELU
Flops/pixel-cnn-pp-master/utils.py:10
↓ 1 callersMethoddecode
(self, z, temperature=None)
Flops/Glow-PyTorch-master/model.py:206
↓ 1 callersFunctiondiscretized_mix_logistic_loss_1d
log-likelihood for mixture of discretized logistics, assumes the data has been rescaled to [-1,1] interval
Flops/pixel-cnn-pp-master/utils.py:106
↓ 1 callersFunctiondown_shift
(x, pad=None)
Flops/pixel-cnn-pp-master/utils.py:239
↓ 1 callersFunctiondtd
(normalizer,bs)
utils/dataloader.py:179
↓ 1 callersMethodencode
(self, z, logdet=0.0)
Flops/Glow-PyTorch-master/model.py:201
↓ 1 callersFunctionenergy_score
(pres, TF, L, T=1)
utils/MOOD.py:36
↓ 1 callersFunctionfasionmnist
(normalizer,bs)
utils/dataloader.py:115
↓ 1 callersMethodforward
(self, x=None, y_onehot=None, z=None, temperature=None, reverse=False)
Flops/Glow-PyTorch-master/model.py:287
↓ 1 callersFunctiongaussian_p
lnL = -1/2 * { ln|Var| + ((X - Mu)^T)(Var^-1)(X - Mu) + kln(2*PI) } k = 1 (Independent) Var = logs ** 2
Flops/Glow-PyTorch-master/modules.py:10
↓ 1 callersFunctionget_CIFAR10
(augment, dataroot, download)
Flops/Glow-PyTorch-master/datasets.py:32
↓ 1 callersFunctionget_SVHN
(augment, dataroot, download)
Flops/Glow-PyTorch-master/datasets.py:71
↓ 1 callersFunctionget_layer_info
(layer)
Flops/Glow-PyTorch-master/utils_flop.py:211
↓ 1 callersFunctionget_num_gen
(gen)
Flops/Glow-PyTorch-master/utils_flop.py:195
↓ 1 callersMethodget_weight
(self, input, reverse)
Flops/Glow-PyTorch-master/modules.py:342
↓ 1 callersMethodinitialize_parameters
(self, input)
Flops/Glow-PyTorch-master/modules.py:83
↓ 1 callersFunctionisun
(normalizer,bs)
utils/dataloader.py:243
↓ 1 callersFunctionkmnist
(normalizer,bs)
utils/dataloader.py:99
↓ 1 callersFunctionload_part_of_model
(model, path)
Flops/pixel-cnn-pp-master/utils.py:259
↓ 1 callersFunctionlsun
(normalizer,bs)
utils/dataloader.py:211
↓ 1 callersFunctionlsunR
(normalizer,bs)
utils/dataloader.py:227
↓ 1 callersFunctionmahalanobis_score
(inputs, TF, model, L)
utils/MOOD.py:161
↓ 1 callersFunctionmain
( dataset, dataroot, download, augment, batch_size, eval_batch_size, epochs, s
Flops/Glow-PyTorch-master/train.py:74
↓ 1 callersFunctionmeasure_layer
(layer, x)
Flops/Glow-PyTorch-master/utils_flop.py:222
↓ 1 callersFunctionmnist
(normalizer,bs)
utils/dataloader.py:83
↓ 1 callersFunctionmodify_forward
(model)
Flops/Glow-PyTorch-master/utils_flop.py:297
↓ 1 callersFunctionmsd_get_dataloaders
(args)
msd_dataloader.py:8
↓ 1 callersFunctionmsdnet_ge
(args)
models/msdnet_ge.py:393
↓ 1 callersFunctionmsp_score
(pres, TF, L)
utils/MOOD.py:30
↓ 1 callersFunctionnew_forward
(m)
Flops/Glow-PyTorch-master/utils_flop.py:300
↓ 1 callersMethodnormal_flow
(self, input, logdet)
Flops/Glow-PyTorch-master/model.py:80
↓ 1 callersMethodnormal_flow
(self, x, y_onehot)
Flops/Glow-PyTorch-master/model.py:293
↓ 1 callersFunctionodin_score
(inputs, TF, model, L, temper=1000, noiseMagnitude=0.001)
utils/MOOD.py:42
↓ 1 callersFunctionplace365
(normalizer,bs)
utils/dataloader.py:195
↓ 1 callersMethodreset
(self)
utils/msdnet_function.py:95
↓ 1 callersMethodreset_indices
(self)
Flops/Glow-PyTorch-master/modules.py:260
↓ 1 callersFunctionrestore_forward
(model)
Flops/Glow-PyTorch-master/utils_flop.py:310
↓ 1 callersMethodreverse_flow
(self, input, logdet)
Flops/Glow-PyTorch-master/model.py:122
↓ 1 callersMethodreverse_flow
(self, z, y_onehot, temperature)
Flops/Glow-PyTorch-master/model.py:315
↓ 1 callersFunctionright_shift
(x, pad=None)
Flops/pixel-cnn-pp-master/utils.py:249
↓ 1 callersFunctionsample
(model)
Flops/pixel-cnn-pp-master/main.py:99
↓ 1 callersFunctionsample_estimator
compute sample mean and precision (inverse of covariance) return: sample_class_mean: list of class mean precision: list of preci
utils/MOOD.py:78
↓ 1 callersFunctionsample_from_discretized_mix_logistic
(l, nr_mix)
Flops/pixel-cnn-pp-master/utils.py:194
↓ 1 callersFunctionsample_from_discretized_mix_logistic_1d
(l, nr_mix)
Flops/pixel-cnn-pp-master/utils.py:161
↓ 1 callersMethodset_actnorm_init
(self)
Flops/Glow-PyTorch-master/model.py:323
↓ 1 callersFunctionsqueeze2d
(input, factor)
Flops/Glow-PyTorch-master/modules.py:32
↓ 1 callersFunctionstl10
(normalizer,bs)
utils/dataloader.py:147
↓ 1 callersFunctionsvhn
(normalizer,bs)
utils/dataloader.py:164
↓ 1 callersFunctionuniform_binning_correction
Replaces x^i with q^i(x) = U(x, x + 1.0 / 256.0). Args: x: 4-D Tensor of shape (NCHW) n_bits: optional. Returns: x: x
Flops/Glow-PyTorch-master/utils.py:19
↓ 1 callersFunctionunsqueeze2d
(input, factor)
Flops/Glow-PyTorch-master/modules.py:47
↓ 1 callersFunctionvalidate
(val_loader, model, criterion)
utils/msdnet_function.py:22
next →1–100 of 208, ranked by callers