MCPcopy Create free account

hub / github.com/OpenGVLab/DragGAN / functions

Functions447 in github.com/OpenGVLab/DragGAN

Method__init__
(self, w_dim, # Intermediate latent (W) dimensionality. is_torgb,
draggan/stylegan2/training/networks_stylegan3.py:255
Method__init__
(self, w_dim, # Intermediate latent (W) dimensionality. img_resolutio
draggan/stylegan2/training/networks_stylegan3.py:401
Method__init__
(self, path, # Path to directory or zip. resolution = None, # Ensure sp
draggan/stylegan2/training/dataset.py:157
Method__init__
(self, in_features, # Number of input features. out_features, # N
draggan/stylegan2/training/networks.py:96
Method__init__
(self, in_channels, # Number of input channels. out_channels,
draggan/stylegan2/training/networks.py:135
Method__init__
(self, z_dim, # Input latent (Z) dimensionality, 0 = no latent. c_dim,
draggan/stylegan2/training/networks.py:193
Method__init__
(self, in_channels, # Number of input channels. out_channels,
draggan/stylegan2/training/networks.py:276
Method__init__
(self, in_channels, out_channels, w_dim, kernel_size=1, conv_clamp=None, channels_last=False)
draggan/stylegan2/training/networks.py:340
Method__init__
(self, in_channels, # Number of input channels, 0 = first block. ou
draggan/stylegan2/training/networks.py:365
Method__init__
(self, w_dim, # Intermediate latent (W) dimensionality. img_resolution,
draggan/stylegan2/training/networks.py:469
Method__init__
(self, in_channels, # Number of input channels, 0 = first block. tmp_ch
draggan/stylegan2/training/networks.py:593
Method__init__
(self, group_size, num_channels=1)
draggan/stylegan2/training/networks.py:682
Method__init__
(self, in_channels, # Number of input channels. cmap_dim,
draggan/stylegan2/training/networks.py:711
Method__init__
(self, c_dim, # Conditioning label (C) dimensionality. img_resolution
draggan/stylegan2/training/networks.py:772
Method__init__
(self, xflip=0, rotate90=0, xint=0, xint_max=0.125, scale=0, rotate=0, aniso=0, xfrac=0, scale
draggan/stylegan2/training/augment.py:123
Method__init__
(self, file_name: str = None, file_mode: str = "w", should_flush: bool = True)
draggan/stylegan2/dnnlib/util.py:59
Method__iter__
(self)
draggan/stylegan2/torch_utils/misc.py:123
Method__len__
(self)
draggan/stylegan2/training/dataset.py:84
Method__repr__
(self)
draggan/deprecated/stylegan2/model.py:140
Method__repr__
(self)
draggan/deprecated/stylegan2/model.py:178
Method__repr__
(self)
draggan/deprecated/stylegan2/model.py:235
Method_load_raw_labels
(self)
draggan/stylegan2/training/dataset.py:224
Function_reconstruct_persistent_obj
r"""Hook that is called internally by the `pickle` module to unpickle a persistent object.
draggan/stylegan2/torch_utils/persistence.py:179
Methodaccumulate_gradients
(self, phase, real_img, real_c, gen_z, gen_c, gain, cur_nimg)
draggan/stylegan2/training/loss.py:63
Functionask_yes_no
Ask the user the question until the user inputs a valid answer.
draggan/stylegan2/dnnlib/util.py:153
Functionassert_shape
(tensor, ref_shape)
draggan/stylegan2/torch_utils/misc.py:80
Methodbackward
(ctx, gradgrad_input, gradgrad_bias)
draggan/deprecated/stylegan2/op/fused_act.py:56
Methodbackward
(ctx, grad_output)
draggan/deprecated/stylegan2/op/fused_act.py:89
Methodbackward
(ctx, gradgrad_input)
draggan/deprecated/stylegan2/op/upfirdn2d.py:72
Methodbackward
(ctx, grad_output)
draggan/deprecated/stylegan2/op/conv2d_gradfix.py:156
Methodbackward
(ctx, grad_grad_weight)
draggan/deprecated/stylegan2/op/conv2d_gradfix.py:207
Methodbackward
(ctx, grad_output)
draggan/stylegan2/torch_utils/ops/grid_sample_gradfix.py:54
Methodbackward
(ctx, grad2_grad_input, grad2_grad_grid)
draggan/stylegan2/torch_utils/ops/grid_sample_gradfix.py:70
Methodbackward
(ctx, d_dx)
draggan/stylegan2/torch_utils/ops/bias_act.py:189
Methodbackward
(ctx, dy)
draggan/stylegan2/torch_utils/ops/upfirdn2d.py:246
Methodbackward
(ctx, dout)
draggan/stylegan2/torch_utils/ops/fma.py:29
Methodbackward
(ctx, grad_output)
draggan/stylegan2/torch_utils/ops/conv2d_gradfix.py:119
Methodbackward
(ctx, grad2_grad_weight)
draggan/stylegan2/torch_utils/ops/conv2d_gradfix.py:151
Functionbias_act
r"""Fused bias and activation function. Adds bias `b` to activation tensor `x`, evaluates activation function `act`, and scales the result by
draggan/stylegan2/torch_utils/ops/bias_act.py:55
Functioncheck_ddp_consistency
(module, ignore_regex=None)
draggan/stylegan2/torch_utils/misc.py:178
Methodclose
(self)
draggan/stylegan2/training/dataset.py:202
Functionconstant
(value, shape=None, dtype=None, device=None, memory_format=None)
draggan/stylegan2/torch_utils/misc.py:22
Functionconstruct_class_by_name
Finds the python class with the given name and constructs it with the given arguments.
draggan/stylegan2/dnnlib/util.py:287
Functionconv2d
(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1)
draggan/deprecated/stylegan2/op/conv2d_gradfix.py:22
Functionconv2d
(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1)
draggan/stylegan2/torch_utils/ops/conv2d_gradfix.py:35
Functionconv2d_resample
r"""2D convolution with optional up/downsampling. Padding is performed only once at the beginning, not between the operations. Args:
draggan/stylegan2/torch_utils/ops/conv2d_resample.py:59
Functionconv_transpose2d
( input, weight, bias=None, stride=1, padding=0, output_padding=0, groups=1
draggan/deprecated/stylegan2/op/conv2d_gradfix.py:45
Functionconv_transpose2d
(input, weight, bias=None, stride=1, padding=0, output_padding=0, groups=1, dilation=1)
draggan/stylegan2/torch_utils/ops/conv2d_gradfix.py:40
Functioncopy_files_and_create_dirs
Takes in a list of tuples of (src, dst) paths and copies files. Will create all necessary directories.
draggan/stylegan2/dnnlib/util.py:348
Functioncopy_params_and_buffers
(src_module, dst_module, require_all=False)
draggan/stylegan2/torch_utils/misc.py:153
Functioncreate_circular_mask
Create a circular mask tensor. Args: h (int): The height of the mask tensor. w (int): The width of the mask tensor.
draggan/utils.py:150
Functioncreate_circular_mask
Create a circular mask tensor. Args: h (int): The height of the mask tensor. w (int): The width of the mask tensor.
draggan/deprecated/utils.py:150
Functioncreate_square_mask
Create a square mask tensor. Args: height (int): The height of the mask. width (int): The width of the mask. center (list
draggan/utils.py:181
Functioncreate_square_mask
Create a square mask tensor. Args: height (int): The height of the mask. width (int): The width of the mask. center (list
draggan/deprecated/utils.py:181
Functionddp_sync
(module, sync)
draggan/stylegan2/torch_utils/misc.py:167
Functiondecorator
(*args, **kwargs)
draggan/stylegan2/torch_utils/misc.py:99
Functiondownsample2d
r"""Downsample a batch of 2D images using the given 2D FIR filter. By default, the result is padded so that its shape is a fraction of the input.
draggan/stylegan2/torch_utils/ops/upfirdn2d.py:347
Functiondraw_handle_target_points
Draws handle and target points with arrow pointing towards the target point. Args: img (PIL.Image.Image): The image to draw on.
draggan/utils.py:84
Functiondraw_handle_target_points
Draws handle and target points with arrow pointing towards the target point. Args: img (PIL.Image.Image): The image to draw on.
draggan/deprecated/utils.py:84
Functiondssim
(p0, p1, range=255.)
draggan/deprecated/stylegan2/lpips/util.py:52
Methodextra_repr
(self)
draggan/stylegan2/training/networks_stylegan3.py:104
Methodextra_repr
(self)
draggan/stylegan2/training/networks_stylegan3.py:164
Methodextra_repr
(self)
draggan/stylegan2/training/networks_stylegan3.py:246
Methodextra_repr
(self)
draggan/stylegan2/training/networks_stylegan3.py:387
Methodextra_repr
(self)
draggan/stylegan2/training/networks_stylegan3.py:486
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:128
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:184
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:269
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:331
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:358
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:462
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:524
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:675
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:704
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:765
Methodextra_repr
(self)
draggan/stylegan2/training/networks.py:828
Functionfilter2d
r"""Filter a batch of 2D images using the given 2D FIR filter. By default, the result is padded so that its shape matches the input. User-spe
draggan/stylegan2/torch_utils/ops/upfirdn2d.py:272
Methodfind_class
(self, module, name)
draggan/stylegan2/legacy.py:68
Functionfma
(a, b, c)
draggan/stylegan2/torch_utils/ops/fma.py:15
Functionformat_time
Convert the seconds to human readable string with days, hours, minutes and seconds.
draggan/stylegan2/dnnlib/util.py:139
Methodforward
(self, input)
draggan/deprecated/stylegan2/model.py:33
Methodforward
(self, input)
draggan/deprecated/stylegan2/model.py:63
Methodforward
(self, input)
draggan/deprecated/stylegan2/model.py:84
Methodforward
(self, input)
draggan/deprecated/stylegan2/model.py:103
Methodforward
(self, input)
draggan/deprecated/stylegan2/model.py:129
Methodforward
(self, input)
draggan/deprecated/stylegan2/model.py:166
Methodforward
(self, input, style)
draggan/deprecated/stylegan2/model.py:241
Methodforward
(self, image, noise=None)
draggan/deprecated/stylegan2/model.py:326
Methodforward
(self, input)
draggan/deprecated/stylegan2/model.py:340
Methodforward
(self, input, style, noise=None)
draggan/deprecated/stylegan2/model.py:375
Methodforward
(self, input, style, skip=None)
draggan/deprecated/stylegan2/model.py:394
Methodforward
( self, styles, return_latents=False, inject_index=None, truncation=1,
draggan/deprecated/stylegan2/model.py:515
Methodforward
(self, input)
draggan/deprecated/stylegan2/model.py:645
Methodforward
(self, input)
draggan/deprecated/stylegan2/model.py:695
Methodforward
(ctx, grad_output, out, bias, negative_slope, scale)
draggan/deprecated/stylegan2/op/fused_act.py:31
Methodforward
(ctx, input, bias, negative_slope, scale)
draggan/deprecated/stylegan2/op/fused_act.py:73
Methodforward
(self, input)
draggan/deprecated/stylegan2/op/fused_act.py:115
Methodforward
(self, input)
draggan/deprecated/stylegan2/op/fused_act.py:152
Methodforward
( ctx, grad_output, kernel, grad_kernel, up, down, pad, g_pad, in_size, out_size )
draggan/deprecated/stylegan2/op/upfirdn2d.py:30
Methodforward
(ctx, input, kernel, up, down, pad)
draggan/deprecated/stylegan2/op/upfirdn2d.py:99
← previousnext →201–300 of 447, ranked by callers