MCPcopy Create free account

hub / github.com/XingangPan/DragGAN / functions

Functions1,199 in github.com/XingangPan/DragGAN

↓ 3 callersFunctionrecurse
(prefix, tf_net)
legacy.py:76
↓ 3 callersFunctionrecurse
(obj)
stylegan_human/torch_utils/persistence.py:238
↓ 3 callersFunctionrotate2d_inv
(theta, **kwargs)
stylegan_human/training/augment.py:111
↓ 3 callersFunctionrotate2d_inv
(theta, **kwargs)
training/augment.py:111
↓ 3 callersFunctionrun
Run the specified ops in the default session.
stylegan_human/dnnlib/tflib/tfutil.py:30
↓ 3 callersMethodrun_D
(self, img, c, blur_sigma=0, update_emas=False)
stylegan_human/training/loss.py:52
↓ 3 callersMethodrun_D
(self, img, c, blur_sigma=0, update_emas=False)
training/loss.py:52
↓ 3 callersMethodrun_G
(self, z, c, update_emas=False)
stylegan_human/training/loss.py:42
↓ 3 callersMethodrun_G
(self, z, c, update_emas=False)
training/loss.py:42
↓ 3 callersFunctionsave_image_grid
(img, fname, drange, grid_size)
stylegan_human/training/training_loop.py:70
↓ 3 callersFunctionsave_image_grid
(img, fname, drange, grid_size)
training/training_loop.py:70
↓ 3 callersFunctionscale2d
(sx, sy, **kwargs)
stylegan_human/training/augment.py:73
↓ 3 callersFunctionscale2d
(sx, sy, **kwargs)
training/augment.py:73
↓ 3 callersMethodstop_drag
(self)
viz/drag_widget.py:66
↓ 3 callersFunctiontoogle_grad
(model, flag=True)
stylegan_human/utils/models_utils.py:10
↓ 3 callersFunctiontranslate2d
(tx, ty, **kwargs)
stylegan_human/training/augment.py:58
↓ 3 callersFunctiontranslate2d
(tx, ty, **kwargs)
training/augment.py:58
↓ 3 callersFunctiontranslate2d_inv
(tx, ty, **kwargs)
stylegan_human/training/augment.py:105
↓ 3 callersFunctiontranslate2d_inv
(tx, ty, **kwargs)
training/augment.py:105
↓ 3 callersFunctionupfirdn2d
r"""Pad, upsample, filter, and downsample a batch of 2D images. Performs the following sequence of operations for each channel: 1. Upsample
torch_utils/ops/upfirdn2d.py:118
↓ 3 callersFunctionupfirdn2d
(input, kernel, up=1, down=1, pad=(0, 0))
stylegan_human/pti/pti_models/e4e/stylegan2/op/upfirdn2d.py:11
↓ 2 callersMethod__init__
(self, num_layers, mode='ir', opts=None)
stylegan_human/pti/pti_models/e4e/encoders/psp_encoders.py:125
↓ 2 callersMethod__init__
(self, channels, reduction)
stylegan_human/pti/pti_models/e4e/encoders/helpers.py:58
↓ 2 callersMethod__init__
(self, disable_timing=False)
viz/renderer.py:71
↓ 2 callersMethod__load_latent_avg
(self, ckpt, repeat=None)
stylegan_human/pti/pti_models/e4e/psp.py:93
↓ 2 callersMethod_adjust_font_size
(self)
visualizer_drag.py:98
↓ 2 callersMethod_attach_glfw_callbacks
(self)
gui_utils/glfw_window.py:218
↓ 2 callersFunction_collect_tf_params
(tf_net)
legacy.py:73
↓ 2 callersFunction_create_var
Internal helper for creating autosummary accumulators.
stylegan_human/dnnlib/tflib/autosummary.py:47
↓ 2 callersFunction_filtered_lrelu_cuda
Fast CUDA implementation of `filtered_lrelu()` using custom ops.
torch_utils/ops/filtered_lrelu.py:159
↓ 2 callersFunction_filtered_lrelu_cuda
Fast CUDA implementation of `filtered_lrelu()` using custom ops.
stylegan_human/torch_utils/ops/filtered_lrelu.py:167
↓ 2 callersFunction_find_compiler_bindir
()
stylegan_human/torch_utils/custom_ops.py:32
↓ 2 callersFunction_get_array_priv
( string: str, *, size: int = 32, max_width: Optional[int]=None, max_height: Optional[int]=Non
gui_utils/text_utils.py:45
↓ 2 callersMethod_get_device
Get internal state for the given TensorFlow device.
stylegan_human/dnnlib/tflib/optimizer.py:86
↓ 2 callersFunction_get_filter_size
(f)
torch_utils/ops/filtered_lrelu.py:35
↓ 2 callersFunction_get_filter_size
(f)
stylegan_human/torch_utils/ops/filtered_lrelu.py:43
↓ 2 callersMethod_get_pinned_buf
(self, ref)
viz/renderer.py:179
↓ 2 callersFunction_get_plugin
()
stylegan_human/dnnlib/tflib/ops/upfirdn_2d.py:16
↓ 2 callersFunction_get_weight_shape
(w)
torch_utils/ops/conv2d_resample.py:21
↓ 2 callersFunction_get_weight_shape
(w)
stylegan_human/torch_utils/ops/conv2d_resample.py:23
↓ 2 callersMethod_get_zipfile
(self)
stylegan_human/training/dataset.py:189
↓ 2 callersMethod_get_zipfile
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:207
↓ 2 callersMethod_get_zipfile
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:211
↓ 2 callersMethod_get_zipfile
(self)
training/dataset.py:189
↓ 2 callersMethod_ignore_timing
(self)
viz/renderer.py:193
↓ 2 callersMethod_open_file
(self, fname)
stylegan_human/training/dataset.py:195
↓ 2 callersMethod_open_file
(self, fname)
stylegan_human/training_scripts/sg2/training/dataset.py:213
↓ 2 callersMethod_open_file
(self, fname)
stylegan_human/training_scripts/sg3/training/dataset.py:217
↓ 2 callersMethod_open_file
(self, fname)
training/dataset.py:195
↓ 2 callersFunction_parse_padding
(padding)
torch_utils/ops/filtered_lrelu.py:42
↓ 2 callersFunction_parse_padding
(padding)
stylegan_human/torch_utils/ops/filtered_lrelu.py:50
↓ 2 callersFunction_populate_module_params
(module, *patterns)
legacy.py:86
↓ 2 callersFunction_prepare_nvcc_cli
(opts)
stylegan_human/dnnlib/tflib/custom_ops.py:65
↓ 2 callersFunction_run_cmd
(cmd)
stylegan_human/dnnlib/tflib/custom_ops.py:58
↓ 2 callersFunction_sanitize_tf_config
(config_dict: dict = None)
stylegan_human/dnnlib/tflib/tfutil.py:86
↓ 2 callersFunction_should_use_custom_op
(input)
torch_utils/ops/conv2d_gradfix.py:47
↓ 2 callersFunction_should_use_custom_op
(input)
stylegan_human/torch_utils/ops/conv2d_gradfix.py:49
↓ 2 callersFunction_upfirdn2d_cuda
Fast CUDA implementation of `upfirdn2d()` using custom ops.
torch_utils/ops/upfirdn2d.py:217
↓ 2 callersFunction_upfirdn2d_cuda
Fast CUDA implementation of `upfirdn2d()` using custom ops.
stylegan_human/torch_utils/ops/upfirdn2d.py:216
↓ 2 callersFunctionabsolute_name_scope
Forcefully enter the specified name scope, ignoring any surrounding scopes.
stylegan_human/dnnlib/tflib/tfutil.py:76
↓ 2 callersMethodadd_recent_pickle
(self, pkl, ignore_errors=False)
visualizer_drag.py:72
↓ 2 callersMethodbegin_frame
(self)
gui_utils/glfw_window.py:161
↓ 2 callersMethodbind
(self)
gui_utils/gl_utils.py:291
↓ 2 callersFunctionbutton
(label, width=0, enabled=True)
gui_utils/imgui_utils.py:90
↓ 2 callersMethodcalc_inversions
(self, image, image_name)
stylegan_human/pti/training/coaches/base_coach.py:85
↓ 2 callersMethodcalc_loss
(self, generated_images, real_images, log_name, new_G, use_ball_holder, w_batch)
stylegan_human/pti/training/coaches/base_coach.py:106
↓ 2 callersFunctioncalc_output_padding
(input_shape, output_shape)
torch_utils/ops/conv2d_gradfix.py:93
↓ 2 callersFunctioncalc_output_padding
(input_shape, output_shape)
stylegan_human/torch_utils/ops/conv2d_gradfix.py:97
↓ 2 callersMethodcapture_next_frame
(self)
gui_utils/glfw_window.py:139
↓ 2 callersMethodclear_result
(self)
visualizer_drag.py:87
↓ 2 callersMethodclose
(self)
stylegan_human/training/dataset.py:66
↓ 2 callersMethodclose
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:72
↓ 2 callersMethodclose
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:75
↓ 2 callersMethodclose
(self)
training/dataset.py:66
↓ 2 callersFunctionconvert_conv
(state_ros, state_nv, ros_name, nv_name)
stylegan_human/legacy.py:135
↓ 2 callersFunctionconvert_tf_generator
(tf_G)
legacy.py:107
↓ 2 callersFunctionconvert_to_rgb
(state_ros, state_nv, ros_name, nv_name)
stylegan_human/legacy.py:128
↓ 2 callersMethodcopy_vars_from
Copy the values of all variables from the given network, including sub-networks.
stylegan_human/dnnlib/tflib/network.py:323
↓ 2 callersMethoddefer_rendering
(self, num_frames=1)
visualizer_drag.py:84
↓ 2 callersMethoddesign_lowpass_filter
(numtaps, cutoff, width, fs, radial=False)
stylegan_human/training/networks_stylegan3.py:365
↓ 2 callersMethoddesign_lowpass_filter
(numtaps, cutoff, width, fs, radial=False)
stylegan_human/training_scripts/sg3/training/networks_stylegan3.py:379
↓ 2 callersMethoddesign_lowpass_filter
(numtaps, cutoff, width, fs, radial=False)
training/networks_stylegan3.py:365
↓ 2 callersFunctiondrag_previous_control
(enabled=True)
gui_utils/imgui_utils.py:137
↓ 2 callersFunctiondraw_shape
(vertices, *, mode=gl.GL_TRIANGLE_FAN, pos=0, size=1, color=1, alpha=1)
gui_utils/gl_utils.py:309
↓ 2 callersMethoddump_png
(self, image)
viz/capture_widget.py:30
↓ 2 callersFunctionencoder_ifg
(G, noise, attr_name, truncation=1, truncation_latent=None, latent_dir='latent_direction/ss
stylegan_human/edit/edit_helper.py:76
↓ 2 callersFunctionencoder_sefa
(G, noise, attr_name, truncation=1, truncation_latent=None, latent_dir='latent_direction/se
stylegan_human/edit/edit_helper.py:180
↓ 2 callersFunctionencoder_ss
(G, noise, attr_name, truncation=1, truncation_latent=None, statics_dir="latent_direction/ss_s
stylegan_human/edit/edit_helper.py:122
↓ 2 callersMethodforward
(self, w)
stylegan_human/pti/training/coaches/base_coach.py:127
↓ 2 callersFunctionfunc_y
(x, b)
stylegan_human/dnnlib/tflib/ops/fused_bias_act.py:128
↓ 2 callersFunctionfused_leaky_relu
(input, bias, negative_slope=0.2, scale=2 ** 0.5)
stylegan_human/pti/pti_models/e4e/stylegan2/op/fused_act.py:25
↓ 2 callersMethodget_body_mask
(A, crop, padding=4)
stylegan_human/insetgan.py:76
↓ 2 callersFunctionget_concat_h
(im1, im2)
stylegan_human/interpolation.py:58
↓ 2 callersFunctionget_keys
(d, name)
stylegan_human/pti/pti_models/e4e/psp.py:10
↓ 2 callersMethodget_label
(self, idx)
stylegan_human/training/dataset.py:97
↓ 2 callersMethodget_label
(self, idx)
training/dataset.py:97
↓ 2 callersFunctionget_landmark
get landmark with dlib :return: np.array shape=(68, 2)
stylegan_human/utils/face_alignment.py:12
↓ 2 callersMethodget_latent
(self, input)
stylegan_human/torch_utils/models.py:463
↓ 2 callersMethodget_loss_scaling_var
Get or create variable representing log2 of the current dynamic loss scaling factor.
stylegan_human/dnnlib/tflib/optimizer.py:273
↓ 2 callersFunctionget_module_from_obj_name
Searches for the underlying module behind the name to some python object. Returns the module and the object name (original name with module part r
stylegan_human/dnnlib/util.py:223
← previousnext →101–200 of 1,199, ranked by callers