Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RameenAbdal/CLIP2StyleGAN
/ functions
Functions
282 in github.com/RameenAbdal/CLIP2StyleGAN
⨍
Functions
282
◇
Types & classes
64
Method
forward
(self, input)
edits_sg/model.py:48
Method
forward
(self, input)
edits_sg/model.py:69
Method
forward
(self, input)
edits_sg/model.py:88
Method
forward
(self, input)
edits_sg/model.py:114
Method
forward
(self, input)
edits_sg/model.py:151
Method
forward
(self, input, style)
edits_sg/model.py:226
Method
forward
(self, image, noise=None)
edits_sg/model.py:311
Method
forward
(self, input)
edits_sg/model.py:325
Method
forward
(self, input, style, noise=None)
edits_sg/model.py:360
Method
forward
(self, input, style, skip=None)
edits_sg/model.py:379
Method
forward
( self, styles, return_latents=False, inject_index=None, truncation=1,
edits_sg/model.py:499
Method
forward
(self, input)
edits_sg/model.py:629
Method
forward
(self, input)
edits_sg/model.py:679
Method
forward
(ctx, grad_output, out, bias, negative_slope, scale)
edits_sg/op/fused_act.py:22
Method
forward
(ctx, input, bias, negative_slope, scale)
edits_sg/op/fused_act.py:64
Method
forward
(self, input)
edits_sg/op/fused_act.py:106
Method
forward
( ctx, grad_output, kernel, grad_kernel, up, down, pad, g_pad, in_size, out_size )
edits_sg/op/upfirdn2d.py:22
Method
forward
(ctx, input, kernel, up, down, pad)
edits_sg/op/upfirdn2d.py:91
Method
forward
(ctx, input, weight, bias)
edits_sg/op/conv2d_gradfix.py:136
Method
forward
(ctx, grad_output, input)
edits_sg/op/conv2d_gradfix.py:179
Method
forward
(self)
edits_sg/lpips/base_model.py:19
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]
edits_sg/lpips/__init__.py:26
Method
forward
(self, X)
edits_sg/lpips/pretrained_networks.py:36
Method
forward
(self, X)
edits_sg/lpips/pretrained_networks.py:81
Method
forward
(self, X)
edits_sg/lpips/pretrained_networks.py:121
Method
forward
(self, X)
edits_sg/lpips/pretrained_networks.py:163
Method
forward
(self, in0, in1, retPerLayer=False)
edits_sg/lpips/networks_basic.py:64
Method
forward
(self, inp)
edits_sg/lpips/networks_basic.py:100
Method
forward
(self,d0,d1,eps=0.1)
edits_sg/lpips/networks_basic.py:128
Method
forward
(self, d0, d1, judge)
edits_sg/lpips/networks_basic.py:138
Method
forward
(self, in0, in1, retPerLayer=None)
edits_sg/lpips/networks_basic.py:169
Method
forward
(self, x: torch.Tensor)
clipmod/model.py:40
Method
forward
(self, x)
clipmod/model.py:66
Method
forward
(self, x)
clipmod/model.py:135
Method
forward
(self, x: torch.Tensor)
clipmod/model.py:156
Method
forward
(self, x: torch.Tensor)
clipmod/model.py:163
Method
forward
(self, x: torch.Tensor)
clipmod/model.py:185
Method
forward
(self, x: torch.Tensor)
clipmod/model.py:198
Method
forward
(self, x: torch.Tensor)
clipmod/model.py:219
Function
fused_bias_act
edits_sg/op/fused_bias_act.cpp:18
Function
gather_grad
(params)
edits_sg/distributed.py:57
Method
get_current_errors
(self)
edits_sg/lpips/dist_model.py:171
Method
get_current_errors
(self)
edits_sg/lpips/base_model.py:31
Method
get_current_visuals
(self)
edits_sg/lpips/dist_model.py:180
Method
get_current_visuals
(self)
edits_sg/lpips/base_model.py:28
Method
get_image_paths
(self)
edits_sg/lpips/base_model.py:22
Method
get_latent
(self, input)
edits_sg/swagan.py:252
Function
get_rank
()
edits_sg/distributed.py:9
Method
initialize
(self, use_gpu=True, gpu_ids=[0])
edits_sg/lpips/base_model.py:15
Function
iwt_init
(x)
edits_sg/swagan.py:53
Function
l2
(p0, p1, range=255.)
edits_sg/lpips/__init__.py:46
Method
load_network
(self, network, network_label, epoch_label)
edits_sg/lpips/base_model.py:44
Function
make_grid
(shape, x0, x1, y0, y1, device)
edits_sg/non_leaking.py:286
Method
make_noise
(self)
edits_sg/swagan.py:233
Method
mean_latent
(self, n_latent)
edits_sg/swagan.py:244
Method
name
(self)
edits_sg/lpips/base_model.py:12
Function
no_weight_gradients
()
edits_sg/op/conv2d_gradfix.py:13
Function
normalize_tensor
(in_feat,eps=1e-10)
edits_sg/lpips/__init__.py:42
Method
optimize_parameters
(self)
edits_sg/lpips/dist_model.py:120
Method
optimize_parameters
(self)
edits_sg/lpips/base_model.py:25
Function
print_network
(net)
edits_sg/lpips/networks_basic.py:182
Function
psnr
(p0, p1, peak=255.)
edits_sg/lpips/__init__.py:49
Function
reduce_loss_dict
(loss_dict)
edits_sg/distributed.py:104
Function
resize_worker
(img_file, sizes, resample)
edits_sg/prepare_data.py:34
Function
reverse_tokenize
(token)
clipmod/clip.py:228
Function
rgb2lab
(in_img,mean_cent=False)
edits_sg/lpips/__init__.py:55
Method
save_done
(self, flag=False)
edits_sg/lpips/base_model.py:56
Function
score_2afc_dataset
Function computes Two Alternative Forced Choice (2AFC) score using distance function 'func' in dataset 'data_loader' INPUTS data_
edits_sg/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 -
edits_sg/lpips/dist_model.py:247
Method
set_input
(self, data)
edits_sg/lpips/dist_model.py:132
Function
slerp
(a, b, t)
edits_sg/ppl.py:16
Method
stem
(x)
clipmod/model.py:136
Function
synchronize
()
edits_sg/distributed.py:19
Function
tensor2tensorlab
(image_tensor,to_norm=True,mc_only=False)
edits_sg/lpips/__init__.py:70
Function
tensor2vec
(vector_tensor)
edits_sg/lpips/__init__.py:115
Function
tensorlab2tensor
(lab_tensor,return_inbnd=False)
edits_sg/lpips/__init__.py:84
Function
tokenize
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]] An input s
clipmod/clip.py:189
Method
tune
(self, real_pred)
edits_sg/non_leaking.py:24
Method
update_learning_rate
(self,nepoch_decay)
edits_sg/lpips/dist_model.py:202
Method
update_learning_rate
()
edits_sg/lpips/base_model.py:50
Function
upfirdn2d
edits_sg/op/upfirdn2d.cpp:17
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
edits_sg/lpips/__init__.py:118
← previous
201–282 of 282, ranked by callers