MCPcopy Create free account

hub / github.com/bingchenlll/FastGAN-pytorch / functions

Functions177 in github.com/bingchenlll/FastGAN-pytorch

Functiondssim
(p0, p1, range=255.)
lpips/__init__.py:60
Functionextract_feature_from_samples
(generator, inception, device='cuda')
benchmarking/benchmark.py:376
Functionextract_features
(loader, inception, device)
benchmarking/benchmark.py:359
Methodforward
(self, input)
models.py:34
Methodforward
(self, feat)
models.py:42
Methodforward
(self, x)
models.py:48
Methodforward
(self, feat, noise=None)
models.py:61
Methodforward
(self, feat)
models.py:70
Methodforward
(self, feat_small, feat_big)
models.py:82
Methodforward
(self, noise)
models.py:94
Methodforward
(self, input)
models.py:155
Methodforward
(self, feat)
models.py:192
Methodforward
(self, feat)
models.py:212
Methodforward
(self, imgs, label, part=None)
models.py:271
Methodforward
(self, input)
models.py:341
Methodforward
(self, img, label)
models.py:374
Methodforward
(self)
lpips/base_model.py:18
Methodforward
Pred and target are Variables. If normalize is True, assumes the images are between [0,1] and then scales them between [-1,+1]
lpips/__init__.py:34
Methodforward
(self, X)
lpips/pretrained_networks.py:37
Methodforward
(self, X)
lpips/pretrained_networks.py:82
Methodforward
(self, X)
lpips/pretrained_networks.py:122
Methodforward
(self, X)
lpips/pretrained_networks.py:164
Methodforward
(self, in0, in1, retPerLayer=False)
lpips/networks_basic.py:64
Methodforward
(self, inp)
lpips/networks_basic.py:100
Methodforward
(self,d0,d1,eps=0.1)
lpips/networks_basic.py:128
Methodforward
(self, d0, d1, judge)
lpips/networks_basic.py:138
Methodforward
(self, in0, in1, retPerLayer=None)
lpips/networks_basic.py:169
Methodforward
Get Inception feature maps Parameters ---------- inp : torch.autograd.Variable Input tensor of shape Bx3xHxW. Valu
benchmarking/benchmark.py:136
Methodforward
(self, x)
benchmarking/benchmark.py:201
Methodforward
(self, x)
benchmarking/benchmark.py:226
Methodforward
(self, x)
benchmarking/benchmark.py:254
Methodforward
(self, x)
benchmarking/benchmark.py:287
Methodforward
(self, x)
benchmarking/benchmark.py:317
Methodforward
(self, x)
benchmarking/calc_inception.py:18
Methodforward
Get Inception feature maps Parameters ---------- inp : torch.autograd.Variable Input tensor of shape Bx3xHxW. Val
benchmarking/inception.py:129
Methodforward
(self, x)
benchmarking/inception.py:198
Methodforward
(self, x)
benchmarking/inception.py:223
Methodforward
(self, x)
benchmarking/inception.py:251
Methodforward
(self, x)
benchmarking/inception.py:284
Methodget_current_errors
(self)
lpips/dist_model.py:171
Methodget_current_errors
(self)
lpips/base_model.py:30
Methodget_current_visuals
(self)
lpips/dist_model.py:180
Methodget_current_visuals
(self)
lpips/base_model.py:27
Methodget_image_paths
(self)
lpips/base_model.py:21
Methodinitialize
(self, use_gpu=True, gpu_ids=[0])
lpips/base_model.py:14
Functioninterpolate
(z1, z2, num_interp)
scripts/generate_video.py:25
Functionl2
(p0, p1, range=255.)
lpips/__init__.py:54
Functionlinear
(*args, **kwargs)
models.py:30
Methodload_network
(self, network, network_label, epoch_label)
lpips/base_model.py:43
Functionload_params
(model, new_param)
eval.py:17
Functionmake_video_from_latents
(net, selected_latents, frames_dist_folder, video_name, fps, video_length, ease_fn, model_type, im_size=1024)
scripts/generate_video.py:134
Methodname
(self)
lpips/base_model.py:11
Functionnormalize_tensor
(in_feat,eps=1e-10)
lpips/__init__.py:50
Methodoptimize_parameters
(self)
lpips/dist_model.py:120
Methodoptimize_parameters
(self)
lpips/base_model.py:24
Functionprint_network
(net)
lpips/networks_basic.py:182
Functionpsnr
(p0, p1, peak=255.)
lpips/__init__.py:57
Functionrand_brightness
(x)
diffaug.py:22
Functionrand_contrast
(x)
diffaug.py:33
Functionrand_cutout
(x, ratio=0.5)
diffaug.py:55
Functionrand_saturation
(x)
diffaug.py:27
Functionrand_translation
(x, ratio=0.125)
diffaug.py:39
Functionrgb2lab
(in_img,mean_cent=False)
lpips/__init__.py:63
Methodsave_done
(self, flag=False)
lpips/base_model.py:55
Functionscore_2afc_dataset
Function computes Two Alternative Forced Choice (2AFC) score using distance function 'func' in dataset 'data_loader' INPUTS data_
lpips/dist_model.py:212
Functionscore_jnd_dataset
Function computes JND score using distance function 'func' in dataset 'data_loader' INPUTS data_loader - CustomDatasetDataLoader object -
lpips/dist_model.py:247
Methodset_input
(self, data)
lpips/dist_model.py:132
Functiontensor2tensorlab
(image_tensor,to_norm=True,mc_only=False)
lpips/__init__.py:78
Functiontensor2vec
(vector_tensor)
lpips/__init__.py:123
Functiontensorlab2tensor
(lab_tensor,return_inbnd=False)
lpips/__init__.py:92
Functiontrain_d
Train function of discriminator
scripts/train_backtracking_one.py:35
Functiontrain_d
Train function of discriminator
scripts/train_backtracking_all.py:35
MethodupBlock
(in_planes, out_planes)
models.py:326
Methodupdate_learning_rate
(self,nepoch_decay)
lpips/dist_model.py:202
Methodupdate_learning_rate
()
lpips/base_model.py:49
Functionvoc_ap
ap = voc_ap(rec, prec, [use_07_metric]) Compute VOC AP given precision and recall. If use_07_metric is true, uses the VOC 07 11 point met
lpips/__init__.py:126
Functionweights_init
(m)
models.py:10
← previous101–177 of 177, ranked by callers