Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bingchenlll/FastGAN-pytorch
/ functions
Functions
177 in github.com/bingchenlll/FastGAN-pytorch
⨍
Functions
177
◇
Types & classes
43
Function
dssim
(p0, p1, range=255.)
lpips/__init__.py:60
Function
extract_feature_from_samples
(generator, inception, device='cuda')
benchmarking/benchmark.py:376
Function
extract_features
(loader, inception, device)
benchmarking/benchmark.py:359
Method
forward
(self, input)
models.py:34
Method
forward
(self, feat)
models.py:42
Method
forward
(self, x)
models.py:48
Method
forward
(self, feat, noise=None)
models.py:61
Method
forward
(self, feat)
models.py:70
Method
forward
(self, feat_small, feat_big)
models.py:82
Method
forward
(self, noise)
models.py:94
Method
forward
(self, input)
models.py:155
Method
forward
(self, feat)
models.py:192
Method
forward
(self, feat)
models.py:212
Method
forward
(self, imgs, label, part=None)
models.py:271
Method
forward
(self, input)
models.py:341
Method
forward
(self, img, label)
models.py:374
Method
forward
(self)
lpips/base_model.py:18
Method
forward
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
Method
forward
(self, X)
lpips/pretrained_networks.py:37
Method
forward
(self, X)
lpips/pretrained_networks.py:82
Method
forward
(self, X)
lpips/pretrained_networks.py:122
Method
forward
(self, X)
lpips/pretrained_networks.py:164
Method
forward
(self, in0, in1, retPerLayer=False)
lpips/networks_basic.py:64
Method
forward
(self, inp)
lpips/networks_basic.py:100
Method
forward
(self,d0,d1,eps=0.1)
lpips/networks_basic.py:128
Method
forward
(self, d0, d1, judge)
lpips/networks_basic.py:138
Method
forward
(self, in0, in1, retPerLayer=None)
lpips/networks_basic.py:169
Method
forward
Get Inception feature maps Parameters ---------- inp : torch.autograd.Variable Input tensor of shape Bx3xHxW. Valu
benchmarking/benchmark.py:136
Method
forward
(self, x)
benchmarking/benchmark.py:201
Method
forward
(self, x)
benchmarking/benchmark.py:226
Method
forward
(self, x)
benchmarking/benchmark.py:254
Method
forward
(self, x)
benchmarking/benchmark.py:287
Method
forward
(self, x)
benchmarking/benchmark.py:317
Method
forward
(self, x)
benchmarking/calc_inception.py:18
Method
forward
Get Inception feature maps Parameters ---------- inp : torch.autograd.Variable Input tensor of shape Bx3xHxW. Val
benchmarking/inception.py:129
Method
forward
(self, x)
benchmarking/inception.py:198
Method
forward
(self, x)
benchmarking/inception.py:223
Method
forward
(self, x)
benchmarking/inception.py:251
Method
forward
(self, x)
benchmarking/inception.py:284
Method
get_current_errors
(self)
lpips/dist_model.py:171
Method
get_current_errors
(self)
lpips/base_model.py:30
Method
get_current_visuals
(self)
lpips/dist_model.py:180
Method
get_current_visuals
(self)
lpips/base_model.py:27
Method
get_image_paths
(self)
lpips/base_model.py:21
Method
initialize
(self, use_gpu=True, gpu_ids=[0])
lpips/base_model.py:14
Function
interpolate
(z1, z2, num_interp)
scripts/generate_video.py:25
Function
l2
(p0, p1, range=255.)
lpips/__init__.py:54
Function
linear
(*args, **kwargs)
models.py:30
Method
load_network
(self, network, network_label, epoch_label)
lpips/base_model.py:43
Function
load_params
(model, new_param)
eval.py:17
Function
make_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
Method
name
(self)
lpips/base_model.py:11
Function
normalize_tensor
(in_feat,eps=1e-10)
lpips/__init__.py:50
Method
optimize_parameters
(self)
lpips/dist_model.py:120
Method
optimize_parameters
(self)
lpips/base_model.py:24
Function
print_network
(net)
lpips/networks_basic.py:182
Function
psnr
(p0, p1, peak=255.)
lpips/__init__.py:57
Function
rand_brightness
(x)
diffaug.py:22
Function
rand_contrast
(x)
diffaug.py:33
Function
rand_cutout
(x, ratio=0.5)
diffaug.py:55
Function
rand_saturation
(x)
diffaug.py:27
Function
rand_translation
(x, ratio=0.125)
diffaug.py:39
Function
rgb2lab
(in_img,mean_cent=False)
lpips/__init__.py:63
Method
save_done
(self, flag=False)
lpips/base_model.py:55
Function
score_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
Function
score_jnd_dataset
Function computes JND score using distance function 'func' in dataset 'data_loader' INPUTS data_loader - CustomDatasetDataLoader object -
lpips/dist_model.py:247
Method
set_input
(self, data)
lpips/dist_model.py:132
Function
tensor2tensorlab
(image_tensor,to_norm=True,mc_only=False)
lpips/__init__.py:78
Function
tensor2vec
(vector_tensor)
lpips/__init__.py:123
Function
tensorlab2tensor
(lab_tensor,return_inbnd=False)
lpips/__init__.py:92
Function
train_d
Train function of discriminator
scripts/train_backtracking_one.py:35
Function
train_d
Train function of discriminator
scripts/train_backtracking_all.py:35
Method
upBlock
(in_planes, out_planes)
models.py:326
Method
update_learning_rate
(self,nepoch_decay)
lpips/dist_model.py:202
Method
update_learning_rate
()
lpips/base_model.py:49
Function
voc_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
Function
weights_init
(m)
models.py:10
← previous
101–177 of 177, ranked by callers