MCPcopy Create free account

hub / github.com/RameenAbdal/CLIP2StyleGAN / functions

Functions282 in github.com/RameenAbdal/CLIP2StyleGAN

↓ 1 callersFunctionreduce_sum
(tensor)
edits_sg/distributed.py:44
↓ 1 callersFunctionresize_and_convert
(img, size, resample, quality=100)
edits_sg/prepare_data.py:13
↓ 1 callersFunctionresize_multiple
( img, sizes=(128, 256, 512, 1024), resample=Image.LANCZOS, quality=100 )
edits_sg/prepare_data.py:23
↓ 1 callersFunctionrotate3d_mat
(axis, theta)
edits_sg/non_leaking.py:109
↓ 1 callersFunctionrun_disentanglement
(model, preprocess)
optimize_dir.py:12
↓ 1 callersFunctionrun_optimizer
(model, preprocess)
text_optimize.py:15
↓ 1 callersFunctionsample_affine
(p, size, height, width, device="cpu")
edits_sg/non_leaking.py:193
↓ 1 callersFunctionsample_color
(p, size)
edits_sg/non_leaking.py:252
↓ 1 callersFunctionsaturation_mat
(axis, i)
edits_sg/non_leaking.py:151
↓ 1 callersFunctionscale3d_mat
(s_x, s_y, s_z)
edits_sg/non_leaking.py:130
↓ 1 callersFunctiontensor2im
(image_tensor, imtype=np.uint8, cent=1., factor=255./2.)
edits_sg/lpips/__init__.py:106
↓ 1 callersFunctiontensor2np
(tensor_obj)
edits_sg/lpips/__init__.py:62
↓ 1 callersFunctiontranslate3d_mat
(t_x, t_y, t_z)
edits_sg/non_leaking.py:99
↓ 1 callersFunctiontry_sample_affine_and_pad
(img, p, kernel_size, G=None)
edits_sg/non_leaking.py:324
↓ 1 callersFunctionupfirdn2d_native
( input, kernel, up_x, up_y, down_x, down_y, pad_x0, pad_x1, pad_y0, pad_y1 )
edits_sg/op/upfirdn2d.py:168
↓ 1 callersFunctionwhitespace_clean
(text)
clipmod/simple_tokenizer.py:56
FunctionPYBIND11_MODULE
edits_sg/op/fused_bias_act.cpp:30
FunctionPYBIND11_MODULE
edits_sg/op/upfirdn2d.cpp:29
Method__getitem__
(self, index)
edits_sg/dataset.py:31
Method__init__
(self, in_channels)
edits_sg/swagan.py:79
Method__init__
(self, in_channels)
edits_sg/swagan.py:99
Method__init__
( self, size, style_dim, n_mlp, channel_multiplier=2, blur_ker
edits_sg/swagan.py:146
Method__init__
(self, in_channel, out_channel, blur_kernel=[1, 3, 3, 1])
edits_sg/swagan.py:330
Method__init__
(self, out_channel, downsample=True, blur_kernel=[1, 3, 3, 1])
edits_sg/swagan.py:344
Method__init__
(self, size, channel_multiplier=2, blur_kernel=[1, 3, 3, 1])
edits_sg/swagan.py:371
Method__init__
(self, ada_aug_target, ada_aug_len, update_every, device)
edits_sg/non_leaking.py:13
Method__init__
(self, path, transform, resolution=256)
edits_sg/dataset.py:9
Method__init__
(self, in_channels, pool_features)
edits_sg/inception.py:195
Method__init__
(self, in_channels, channels_7x7)
edits_sg/inception.py:220
Method__init__
(self, in_channels)
edits_sg/inception.py:248
Method__init__
(self, in_channels)
edits_sg/inception.py:281
Method__init__
(self)
edits_sg/model.py:15
Method__init__
(self, kernel, factor=2)
edits_sg/model.py:34
Method__init__
(self, kernel, factor=2)
edits_sg/model.py:55
Method__init__
( self, in_channel, out_channel, kernel_size, stride=1, padding=0, bias=True )
edits_sg/model.py:95
Method__init__
( self, in_dim, out_dim, bias=True, bias_init=0, lr_mul=1, activation=None )
edits_sg/model.py:133
Method__init__
( self, in_channel, out_channel, kernel_size, style_dim, demod
edits_sg/model.py:170
Method__init__
(self)
edits_sg/model.py:306
Method__init__
(self, channel, size=4)
edits_sg/model.py:320
Method__init__
( self, in_channel, out_channel, kernel_size, style_dim, upsam
edits_sg/model.py:333
Method__init__
(self, in_channel, style_dim, upsample=True, blur_kernel=[1, 3, 3, 1])
edits_sg/model.py:370
Method__init__
( self, size, style_dim, n_mlp, channel_multiplier=2, blur_ker
edits_sg/model.py:392
Method__init__
( self, in_channel, out_channel, kernel_size, downsample=False,
edits_sg/model.py:574
Method__init__
(self, in_channel, out_channel, blur_kernel=[1, 3, 3, 1])
edits_sg/model.py:619
Method__init__
(self, size, channel_multiplier=2, blur_kernel=[1, 3, 3, 1])
edits_sg/model.py:640
Method__init__
(self, channel, bias=True, negative_slope=0.2, scale=2 ** 0.5)
edits_sg/op/fused_act.py:94
Method__init__
(self)
edits_sg/lpips/base_model.py:9
Method__init__
(self, model='net-lin', net='alex', colorspace='rgb', spatial=False, use_gpu=True, gpu_ids=[0])
edits_sg/lpips/__init__.py:14
Method__init__
(self, requires_grad=False, pretrained=True)
edits_sg/lpips/pretrained_networks.py:7
Method__init__
(self, requires_grad=False, pretrained=True)
edits_sg/lpips/pretrained_networks.py:58
Method__init__
(self, requires_grad=False, pretrained=True, num=18)
edits_sg/lpips/pretrained_networks.py:140
Method__init__
(self)
edits_sg/lpips/networks_basic.py:95
Method__init__
(self, chn_in, chn_out=1, use_dropout=False)
edits_sg/lpips/networks_basic.py:106
Method__init__
(self, chn_mid=32, use_sigmoid=True)
edits_sg/lpips/networks_basic.py:116
Method__init__
(self, chn_mid=32)
edits_sg/lpips/networks_basic.py:132
Method__init__
(self, use_gpu=True, colorspace='Lab')
edits_sg/lpips/networks_basic.py:145
Method__init__
(self, bpe_path: str = default_bpe())
clipmod/simple_tokenizer.py:63
Method__init__
(self, inplanes, planes, stride=1)
clipmod/model.py:13
Method__init__
(self, spacial_dim: int, embed_dim: int, num_heads: int, output_dim: int = None)
clipmod/model.py:57
Method__init__
(self, layers, output_dim, heads, input_resolution=224, width=64)
clipmod/model.py:101
Method__init__
(self, d_model: int, n_head: int, attn_mask: torch.Tensor = None)
clipmod/model.py:168
Method__init__
(self, width: int, layers: int, heads: int, attn_mask: torch.Tensor = None)
clipmod/model.py:192
Method__init__
(self, input_resolution: int, patch_size: int, width: int, layers: int, heads: int, output_dim: int)
clipmod/model.py:203
Method__len__
(self)
edits_sg/dataset.py:28
Method__repr__
(self)
edits_sg/model.py:125
Method__repr__
(self)
edits_sg/model.py:163
Method__repr__
(self)
edits_sg/model.py:220
Function_convert_weights_to_fp16
(l)
clipmod/model.py:438
Functionaffine_grid
(grid, mat)
edits_sg/non_leaking.py:296
Functionall_gather
(data)
edits_sg/distributed.py:69
Functionaugment
(img, p, transform_matrix=(None, None))
edits_sg/non_leaking.py:461
Methodbackward
(ctx, grad_output)
edits_sg/non_leaking.py:350
Methodbackward
(ctx, grad_grad_input, grad_grad_grid)
edits_sg/non_leaking.py:367
Methodbackward
(ctx, gradgrad_input, gradgrad_bias)
edits_sg/op/fused_act.py:47
Methodbackward
(ctx, grad_output)
edits_sg/op/fused_act.py:80
Methodbackward
(ctx, gradgrad_input)
edits_sg/op/upfirdn2d.py:64
Methodbackward
(ctx, grad_output)
edits_sg/op/conv2d_gradfix.py:154
Methodbackward
(ctx, grad_grad_weight)
edits_sg/op/conv2d_gradfix.py:205
Methodcalc_entropy
(self,input_tensor)
clipmod/model.py:355
Functionconv2d
(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1)
edits_sg/op/conv2d_gradfix.py:22
Functionconv_transpose2d
( input, weight, bias=None, stride=1, padding=0, output_padding=0, groups=1
edits_sg/op/conv2d_gradfix.py:45
Functiondssim
(p0, p1, range=255.)
edits_sg/lpips/__init__.py:52
Methoddtype
(self)
clipmod/model.py:333
Functiondwt_init
(x)
edits_sg/swagan.py:38
Methodforward
(self, input)
edits_sg/swagan.py:89
Methodforward
(self, input)
edits_sg/swagan.py:109
Methodforward
(self, input, style, skip=None)
edits_sg/swagan.py:131
Methodforward
( self, styles, return_latents=False, inject_index=None, truncation=1,
edits_sg/swagan.py:255
Methodforward
(self, input)
edits_sg/swagan.py:336
Methodforward
(self, input, skip=None)
edits_sg/swagan.py:356
Methodforward
(self, input)
edits_sg/swagan.py:414
Methodforward
(ctx, input, grid)
edits_sg/non_leaking.py:341
Methodforward
(ctx, grad_output, input, grid)
edits_sg/non_leaking.py:359
Methodforward
(self, x)
edits_sg/calc_inception.py:19
Methodforward
Get Inception feature maps Parameters ---------- inp : torch.autograd.Variable Input tensor of shape Bx3xHxW. Val
edits_sg/inception.py:129
Methodforward
(self, x)
edits_sg/inception.py:198
Methodforward
(self, x)
edits_sg/inception.py:223
Methodforward
(self, x)
edits_sg/inception.py:251
Methodforward
(self, x)
edits_sg/inception.py:284
Methodforward
(self, input)
edits_sg/model.py:18
← previousnext →101–200 of 282, ranked by callers