MCPcopy Create free account

hub / github.com/XingangPan/DragGAN / functions

Functions1,199 in github.com/XingangPan/DragGAN

Methodget_drag_info
(self)
visualizer_drag.py:125
Functionget_dtype_and_ctype
Given a type name string (or an object having a __name__ attribute), return matching Numpy and ctypes types that have the same size in bytes.
stylegan_human/dnnlib/util.py:188
Functionget_dtype_and_ctype
Given a type name string (or an object having a __name__ attribute), return matching Numpy and ctypes types that have the same size in bytes.
dnnlib/util.py:201
Methodget_image_from_ws
(self, w_codes, G)
stylegan_human/pti/training/coaches/localitly_regulizer.py:28
Methodget_latent
(self, input)
stylegan_human/torch_utils/models_face.py:492
Methodget_latent
(self, input)
stylegan_human/pti/pti_models/e4e/stylegan2/model.py:470
Functionget_lr
(t, initial_lr, rampdown=0.25, rampup=0.05)
stylegan_human/utils/util.py:21
Functionget_module_dir_by_obj_name
Get the directory path of the module containing the given object name.
stylegan_human/dnnlib/util.py:294
Functionget_module_dir_by_obj_name
Get the directory path of the module containing the given object name.
dnnlib/util.py:306
Functionget_plugin
(module_name, sources, headers=None, source_dir=None, **build_kwargs)
torch_utils/custom_ops.py:59
Functionget_plugin
(module_name, sources, **build_kwargs)
stylegan_human/torch_utils/custom_ops.py:61
Functionget_plugin
(cuda_file)
stylegan_human/dnnlib/tflib/custom_ops.py:89
Functionget_plugin_v3
(module_name, sources, headers=None, source_dir=None, **build_kwargs)
stylegan_human/torch_utils/custom_ops.py:142
Functionget_texture
(string, bilinear=True, mipmap=True, **kwargs)
gui_utils/text_utils.py:120
Functionget_top_level_function_name
Return the fully-qualified name of a top-level function.
stylegan_human/dnnlib/util.py:305
Functionget_top_level_function_name
Return the fully-qualified name of a top-level function.
dnnlib/util.py:317
Methodget_var
Get the value of a given variable as NumPy array. Note: This method is very inefficient -- prefer to use tflib.run(list_of_vars) whenever poss
stylegan_human/dnnlib/tflib/network.py:247
Methodget_var_local_name
Get the local name of a given variable, without any surrounding name scopes.
stylegan_human/dnnlib/tflib/network.py:236
Functiongrad
(dy)
stylegan_human/dnnlib/tflib/ops/upfirdn_2d.py:137
Functiongrad
(dy)
stylegan_human/dnnlib/tflib/ops/fused_bias_act.py:167
Functiongrad2
(d_dx, d_db)
stylegan_human/dnnlib/tflib/ops/fused_bias_act.py:170
Functiongrad_wrap
(dy)
stylegan_human/dnnlib/tflib/ops/fused_bias_act.py:180
Functiongrid_sample
(input, grid)
torch_utils/ops/grid_sample_gradfix.py:26
Functiongrid_sample
(input, grid)
stylegan_human/torch_utils/ops/grid_sample_gradfix.py:29
Methodhas_labels
(self)
stylegan_human/training/dataset.py:147
Methodhas_labels
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:156
Methodhas_labels
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:159
Methodhas_labels
(self)
training/dataset.py:147
Methodhas_onehot_labels
(self)
stylegan_human/training/dataset.py:151
Methodhas_onehot_labels
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:160
Methodhas_onehot_labels
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:163
Methodhas_onehot_labels
(self)
training/dataset.py:151
Methodimage_shape
(self)
stylegan_human/training/dataset.py:117
Methodimage_shape
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:123
Methodimage_shape
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:126
Methodimage_shape
(self)
training/dataset.py:117
Functionimport_handler
Function decorator for declaring custom import handlers.
stylegan_human/dnnlib/tflib/network.py:31
Functionimport_hook
r"""Register an import hook that is called whenever a persistent object is being unpickled. A typical use case is to patch the pickled source
torch_utils/persistence.py:147
Functionimport_hook
r"""Register an import hook that is called whenever a persistent object is being unpickled. A typical use case is to patch the pickled source
stylegan_human/torch_utils/persistence.py:149
Methodinit_args
(self)
torch_utils/persistence.py:111
Methodinit_args
(self)
stylegan_human/torch_utils/persistence.py:113
Functioninit_egl
()
gui_utils/gl_utils.py:20
Methodinit_kwargs
(self)
torch_utils/persistence.py:115
Methodinit_kwargs
(self)
stylegan_human/torch_utils/persistence.py:117
Functioninit_multiprocessing
r"""Initializes `torch_utils.training_stats` for collecting statistics across multiple processes. This function must be called after `tor
torch_utils/training_stats.py:34
Functioninit_multiprocessing
r"""Initializes `torch_utils.training_stats` for collecting statistics across multiple processes. This function must be called after `tor
stylegan_human/torch_utils/training_stats.py:36
Functioninit_tf
Initialize TensorFlow session using good default settings.
stylegan_human/dnnlib/tflib/tfutil.py:109
Functioninit_uninitialized_vars
Initialize all tf.Variables that have not already been initialized. Equivalent to the following, but more efficient and does not bloat the tf gra
stylegan_human/dnnlib/tflib/tfutil.py:166
Functioninput_text
(label, value, buffer_length, flags, width=None, help_text='')
gui_utils/imgui_utils.py:120
Methodis_async
(self)
visualizer_drag.py:275
Functionis_pickleable
(obj: Any)
stylegan_human/dnnlib/util.py:211
Functionis_pickleable
(obj: Any)
dnnlib/util.py:224
Functionkaiming_init
(m)
stylegan_human/torch_utils/models_face.py:790
Functionkaiming_init
(m)
stylegan_human/torch_utils/models.py:737
Methodlabel_dim
(self)
stylegan_human/training/dataset.py:142
Methodlabel_dim
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:151
Methodlabel_dim
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:154
Methodlabel_dim
(self)
training/dataset.py:142
Methodlabel_shape
(self)
stylegan_human/training/dataset.py:132
Methodlabel_shape
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:141
Methodlabel_shape
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:144
Methodlabel_shape
(self)
training/dataset.py:132
Functionlatent_noise
(latent, strength)
stylegan_human/utils/util.py:30
Functionlerp
Linear interpolation.
stylegan_human/dnnlib/tflib/tfutil.py:64
Functionlerp_clip
Linear interpolation with clip.
stylegan_human/dnnlib/tflib/tfutil.py:70
Functionlist_dir_recursively_with_ignore
List all files recursively in a given directory while ignoring given file and directory names. Returns list of tuples containing both absolute and
stylegan_human/dnnlib/util.py:317
Functionlist_dir_recursively_with_ignore
List all files recursively in a given directory while ignoring given file and directory names. Returns list of tuples containing both absolute and
dnnlib/util.py:329
Methodload_points
(self, suffix)
viz/drag_widget.py:78
Functionload_tuned_G
(run_id, type)
stylegan_human/utils/models_utils.py:15
Functionlog2
Logarithm in base 2.
stylegan_human/dnnlib/tflib/tfutil.py:52
Functionmake_frame
(t)
stylegan_human/stylemixing_video.py:113
Methodmake_noise
(self)
stylegan_human/torch_utils/models_face.py:473
Methodmake_noise
(self)
stylegan_human/torch_utils/models.py:444
Methodmake_noise
(self)
stylegan_human/pti/pti_models/e4e/stylegan2/model.py:451
Methodmean_latent
(self, n_latent)
stylegan_human/torch_utils/models_face.py:484
Methodmean_latent
(self, n_latent)
stylegan_human/pti/pti_models/e4e/stylegan2/model.py:462
Methodmonitor_height
(self)
gui_utils/glfw_window.py:88
Methodmonitor_width
(self)
gui_utils/glfw_window.py:83
Methodname
(self)
stylegan_human/training/dataset.py:113
Methodname
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:119
Methodname
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:122
Methodname
(self)
training/dataset.py:113
Functionno_weight_gradients
(disable=True)
torch_utils/ops/conv2d_gradfix.py:25
Functionno_weight_gradients
()
stylegan_human/torch_utils/ops/conv2d_gradfix.py:28
Functionnoise_normalize_
(noises)
stylegan_human/utils/util.py:58
Functionnoise_regularize_
(noises)
stylegan_human/utils/util.py:35
Functionnormal_init
(m)
stylegan_human/torch_utils/models_face.py:801
Functionnormal_init
(m)
stylegan_human/torch_utils/models.py:748
Functionnpmax
(array)
stylegan_human/openpose/src/util.py:81
Functionnpmax_with_score
(array)
stylegan_human/openpose/src/util.py:89
Methodnum_channels
(self)
stylegan_human/training/dataset.py:121
Methodnum_channels
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:127
Methodnum_channels
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:130
Methodnum_channels
(self)
training/dataset.py:121
Functionnum_range
Accept either a comma separated list of numbers 'a,b,c' or a range 'a-c' and return as a list of ints.
stylegan_human/legacy.py:86
Functionon_change_lr
(lr, global_state)
visualizer_drag_gradio.py:428
Functionon_change_pretrained_dropdown
Function to handle model change. 1. Set pretrained value to global_state 2. Re-init images and clear all states
visualizer_drag_gradio.py:350
Functionon_change_single_global_state
(keys, value, global_state,
gradio_utils/utils.py:128
Functionon_change_update_image_seed
Function to handle generation seed change. 1. Set seed to global_state 2. Re-init images and clear all states
visualizer_drag_gradio.py:386
Functionon_click_add_point
Function switch from add mask mode to add points mode. 1. Updaste mask buffer if need 2. Change global_state['editing_state'] to 'add_
visualizer_drag_gradio.py:768
← previousnext →1,001–1,100 of 1,199, ranked by callers