MCPcopy Create free account

hub / github.com/XingangPan/DragGAN / functions

Functions1,199 in github.com/XingangPan/DragGAN

Functionask_yes_no
Ask the user the question until the user inputs a valid answer.
dnnlib/util.py:167
Functionassert_shape
(tensor, ref_shape)
torch_utils/misc.py:82
Functionassert_shape
(tensor, ref_shape)
stylegan_human/torch_utils/misc.py:82
Functionautosummary
Create a new autosummary. Args: name: Name to use in TensorBoard value: TensorFlow expression or python value to track
stylegan_human/dnnlib/tflib/autosummary.py:79
Methodbackward
(ctx, dy)
torch_utils/ops/filtered_lrelu.py:239
Methodbackward
(ctx, grad_output)
torch_utils/ops/grid_sample_gradfix.py:48
Methodbackward
(ctx, grad2_grad_input, grad2_grad_grid)
torch_utils/ops/grid_sample_gradfix.py:64
Methodbackward
(ctx, d_dx)
torch_utils/ops/bias_act.py:186
Methodbackward
(ctx, dy)
torch_utils/ops/upfirdn2d.py:251
Methodbackward
(ctx, dout)
torch_utils/ops/fma.py:29
Methodbackward
(ctx, grad_output)
torch_utils/ops/conv2d_gradfix.py:130
Methodbackward
(ctx, grad2_grad_weight)
torch_utils/ops/conv2d_gradfix.py:176
Methodbackward
(ctx, dy)
stylegan_human/torch_utils/ops/filtered_lrelu.py:247
Methodbackward
(ctx, grad_output)
stylegan_human/torch_utils/ops/grid_sample_gradfix.py:56
Methodbackward
(ctx, grad2_grad_input, grad2_grad_grid)
stylegan_human/torch_utils/ops/grid_sample_gradfix.py:72
Methodbackward
(ctx, d_dx)
stylegan_human/torch_utils/ops/bias_act.py:191
Methodbackward
(ctx, dy)
stylegan_human/torch_utils/ops/upfirdn2d.py:248
Methodbackward
(ctx, dout)
stylegan_human/torch_utils/ops/fma.py:31
Methodbackward
(ctx, grad_output)
stylegan_human/torch_utils/ops/conv2d_gradfix.py:121
Methodbackward
(ctx, grad2_grad_weight)
stylegan_human/torch_utils/ops/conv2d_gradfix.py:153
Methodbackward
(ctx, gradgrad_input, gradgrad_bias)
stylegan_human/torch_utils/op_edit/fused_act.py:45
Methodbackward
(ctx, grad_output)
stylegan_human/torch_utils/op_edit/fused_act.py:66
Methodbackward
(ctx, gradgrad_input)
stylegan_human/torch_utils/op_edit/upfirdn2d.py:65
Methodbackward
(ctx, grad_output)
stylegan_human/torch_utils/op_edit/upfirdn2d.py:129
Methodbegin_frame
(self)
gui_utils/imgui_window.py:71
Functionbias_act
r"""Fused bias and activation function. Adds bias `b` to activation tensor `x`, evaluates activation function `act`, and scales the result by
torch_utils/ops/bias_act.py:52
Functionbias_act
r"""Fused bias and activation function. Adds bias `b` to activation tensor `x`, evaluates activation function `act`, and scales the result by
stylegan_human/torch_utils/ops/bias_act.py:57
Methodblit
(self, dst=None)
gui_utils/gl_utils.py:301
Methodcapture_image_frame
(self)
visualizer_drag.py:116
Methodcenter
(self)
gui_utils/glfw_window.py:115
Functioncheck_ddp_consistency
(module, ignore_regex=None)
torch_utils/misc.py:180
Functioncheck_ddp_consistency
(module, ignore_regex=None)
stylegan_human/torch_utils/misc.py:180
Methodclear_result
(self)
visualizer_drag.py:324
Functionclick_hidden_window
(label, x, y, width, height, img_w, img_h, enabled=True)
gui_utils/imgui_utils.py:171
Methodclose
(self)
visualizer_drag.py:265
Methodclose
(self)
stylegan_human/training/dataset.py:202
Methodclose
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:220
Methodclose
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:224
Methodclose
(self)
training/dataset.py:202
Methodclose
(self)
gui_utils/imgui_window.py:45
Functioncollapsing_header
(text, visible=None, flags=0, default=False, enabled=True, show=True)
gui_utils/imgui_utils.py:98
Functionconstant
(value, shape=None, dtype=None, device=None, memory_format=None)
torch_utils/misc.py:22
Functionconstant
(value, shape=None, dtype=None, device=None, memory_format=None)
stylegan_human/torch_utils/misc.py:24
Functionconstruct_class_by_name
Finds the python class with the given name and constructs it with the given arguments.
stylegan_human/dnnlib/util.py:289
Functionconstruct_class_by_name
Finds the python class with the given name and constructs it with the given arguments.
dnnlib/util.py:301
Methodcontent_height
(self)
gui_utils/glfw_window.py:73
Methodcontent_width
(self)
gui_utils/glfw_window.py:68
Functionconv2d
(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1)
torch_utils/ops/conv2d_gradfix.py:35
Functionconv2d
(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1)
stylegan_human/torch_utils/ops/conv2d_gradfix.py:37
Functionconv2d_resample
r"""2D convolution with optional up/downsampling. Padding is performed only once at the beginning, not between the operations. Args:
torch_utils/ops/conv2d_resample.py:46
Functionconv2d_resample
r"""2D convolution with optional up/downsampling. Padding is performed only once at the beginning, not between the operations. Args:
stylegan_human/torch_utils/ops/conv2d_resample.py:61
Functionconv_downsample_2d
r"""Fused `tf.nn.conv2d()` followed by `downsample_2d()`. Padding is performed only once at the beginning, not between the operations. The fu
stylegan_human/dnnlib/tflib/ops/upfirdn_2d.py:298
Functionconv_transpose2d
(input, weight, bias=None, stride=1, padding=0, output_padding=0, groups=1, dilation=1)
torch_utils/ops/conv2d_gradfix.py:40
Functionconv_transpose2d
(input, weight, bias=None, stride=1, padding=0, output_padding=0, groups=1, dilation=1)
stylegan_human/torch_utils/ops/conv2d_gradfix.py:42
Functionconvert
(network_pkl, output_file, G_only=False)
stylegan_human/legacy.py:161
Methodconvert
(self, value, param, ctx)
stylegan_human/training_scripts/sg2/train.py:406
Functionconvert_images_from_uint8
Convert a minibatch of images from uint8 to float32 with configurable dynamic range. Can be used as an input transformation for Network.run().
stylegan_human/dnnlib/tflib/tfutil.py:232
Functionconvert_images_to_uint8
Convert a minibatch of images from float32 to uint8 with configurable dynamic range. Can be used as an output transformation for Network.run().
stylegan_human/dnnlib/tflib/tfutil.py:242
Functioncopy_files_and_create_dirs
Takes in a list of tuples of (src, dst) paths and copies files. Will create all necessary directories.
stylegan_human/dnnlib/util.py:350
Functioncopy_files_and_create_dirs
Takes in a list of tuples of (src, dst) paths and copies files. Will create all necessary directories.
dnnlib/util.py:362
Methodcopy_own_vars_from
Copy the values of all variables from the given network, excluding sub-networks.
stylegan_human/dnnlib/tflib/network.py:318
Functioncopy_params_and_buffers
(src_module, dst_module, require_all=False)
torch_utils/misc.py:155
Functioncopy_params_and_buffers
(src_module, dst_module, require_all=False)
stylegan_human/torch_utils/misc.py:155
Methodcopy_trainables_from
Copy the values of all trainable variables from the given network, including sub-networks.
stylegan_human/dnnlib/tflib/network.py:328
Functioncreate_var_with_large_initial_value
Create tf.Variable with large initial value without bloating the tf graph.
stylegan_human/dnnlib/tflib/tfutil.py:222
Functionddp_sync
(module, sync)
torch_utils/misc.py:169
Functionddp_sync
(module, sync)
stylegan_human/torch_utils/misc.py:169
Functiondecorator
(*args, **kwargs)
torch_utils/misc.py:101
Functiondecorator
(*args, **kwargs)
stylegan_human/torch_utils/misc.py:101
Functiondecorator
(self, *args, **kwargs)
gui_utils/imgui_utils.py:81
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.
torch_utils/ops/upfirdn2d.py:352
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.
stylegan_human/torch_utils/ops/upfirdn2d.py:349
Functiondownsample_2d
r"""Downsample a batch of 2D images with the given filter. Accepts a batch of 2D images of the shape `[N, C, H, W]` or `[N, H, W, C]` and dow
stylegan_human/dnnlib/tflib/ops/upfirdn_2d.py:204
Functiondrag_button
(label, width=0, enabled=True)
gui_utils/imgui_utils.py:151
Functiondrag_hidden_window
(label, x, y, width, height, enabled=True)
gui_utils/imgui_utils.py:158
Functiondraw_arrow
(x1, y1, x2, y2, l=10, width=1.0)
gui_utils/gl_utils.py:336
Functiondraw_bodypose
(canvas, candidate, subset,show_number=False)
stylegan_human/openpose/src/util.py:42
Functiondraw_circle
(*, center=0, radius=100, hole=0, color=1, alpha=1)
gui_utils/gl_utils.py:404
Methoddraw_frame
(self)
gui_utils/glfw_window.py:152
Functiondraw_pixels
(image, *, pos=0, zoom=1, align=0, rint=True)
gui_utils/gl_utils.py:92
Methodend_frame
(self)
gui_utils/imgui_window.py:85
Functionexp2
Exponent in base 2.
stylegan_human/dnnlib/tflib/tfutil.py:58
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan3.py:104
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan3.py:164
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan3.py:246
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan3.py:387
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan3.py:481
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:128
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:184
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:269
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:331
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:358
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:462
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:524
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:668
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:697
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:758
Methodextra_repr
(self)
stylegan_human/training/networks_stylegan2.py:821
Methodextra_repr
(self)
stylegan_human/training_scripts/sg3/training/networks_stylegan3.py:105
Methodextra_repr
(self)
stylegan_human/training_scripts/sg3/training/networks_stylegan3.py:165
← previousnext →701–800 of 1,199, ranked by callers