Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XingangPan/DragGAN
/ functions
Functions
1,199 in github.com/XingangPan/DragGAN
⨍
Functions
1,199
◇
Types & classes
212
↳
Endpoints
11
Method
get_drag_info
(self)
visualizer_drag.py:125
Function
get_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
Function
get_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
Method
get_image_from_ws
(self, w_codes, G)
stylegan_human/pti/training/coaches/localitly_regulizer.py:28
Method
get_latent
(self, input)
stylegan_human/torch_utils/models_face.py:492
Method
get_latent
(self, input)
stylegan_human/pti/pti_models/e4e/stylegan2/model.py:470
Function
get_lr
(t, initial_lr, rampdown=0.25, rampup=0.05)
stylegan_human/utils/util.py:21
Function
get_module_dir_by_obj_name
Get the directory path of the module containing the given object name.
stylegan_human/dnnlib/util.py:294
Function
get_module_dir_by_obj_name
Get the directory path of the module containing the given object name.
dnnlib/util.py:306
Function
get_plugin
(module_name, sources, headers=None, source_dir=None, **build_kwargs)
torch_utils/custom_ops.py:59
Function
get_plugin
(module_name, sources, **build_kwargs)
stylegan_human/torch_utils/custom_ops.py:61
Function
get_plugin
(cuda_file)
stylegan_human/dnnlib/tflib/custom_ops.py:89
Function
get_plugin_v3
(module_name, sources, headers=None, source_dir=None, **build_kwargs)
stylegan_human/torch_utils/custom_ops.py:142
Function
get_texture
(string, bilinear=True, mipmap=True, **kwargs)
gui_utils/text_utils.py:120
Function
get_top_level_function_name
Return the fully-qualified name of a top-level function.
stylegan_human/dnnlib/util.py:305
Function
get_top_level_function_name
Return the fully-qualified name of a top-level function.
dnnlib/util.py:317
Method
get_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
Method
get_var_local_name
Get the local name of a given variable, without any surrounding name scopes.
stylegan_human/dnnlib/tflib/network.py:236
Function
grad
(dy)
stylegan_human/dnnlib/tflib/ops/upfirdn_2d.py:137
Function
grad
(dy)
stylegan_human/dnnlib/tflib/ops/fused_bias_act.py:167
Function
grad2
(d_dx, d_db)
stylegan_human/dnnlib/tflib/ops/fused_bias_act.py:170
Function
grad_wrap
(dy)
stylegan_human/dnnlib/tflib/ops/fused_bias_act.py:180
Function
grid_sample
(input, grid)
torch_utils/ops/grid_sample_gradfix.py:26
Function
grid_sample
(input, grid)
stylegan_human/torch_utils/ops/grid_sample_gradfix.py:29
Method
has_labels
(self)
stylegan_human/training/dataset.py:147
Method
has_labels
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:156
Method
has_labels
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:159
Method
has_labels
(self)
training/dataset.py:147
Method
has_onehot_labels
(self)
stylegan_human/training/dataset.py:151
Method
has_onehot_labels
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:160
Method
has_onehot_labels
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:163
Method
has_onehot_labels
(self)
training/dataset.py:151
Method
image_shape
(self)
stylegan_human/training/dataset.py:117
Method
image_shape
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:123
Method
image_shape
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:126
Method
image_shape
(self)
training/dataset.py:117
Function
import_handler
Function decorator for declaring custom import handlers.
stylegan_human/dnnlib/tflib/network.py:31
Function
import_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
Function
import_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
Method
init_args
(self)
torch_utils/persistence.py:111
Method
init_args
(self)
stylegan_human/torch_utils/persistence.py:113
Function
init_egl
()
gui_utils/gl_utils.py:20
Method
init_kwargs
(self)
torch_utils/persistence.py:115
Method
init_kwargs
(self)
stylegan_human/torch_utils/persistence.py:117
Function
init_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
Function
init_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
Function
init_tf
Initialize TensorFlow session using good default settings.
stylegan_human/dnnlib/tflib/tfutil.py:109
Function
init_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
Function
input_text
(label, value, buffer_length, flags, width=None, help_text='')
gui_utils/imgui_utils.py:120
Method
is_async
(self)
visualizer_drag.py:275
Function
is_pickleable
(obj: Any)
stylegan_human/dnnlib/util.py:211
Function
is_pickleable
(obj: Any)
dnnlib/util.py:224
Function
kaiming_init
(m)
stylegan_human/torch_utils/models_face.py:790
Function
kaiming_init
(m)
stylegan_human/torch_utils/models.py:737
Method
label_dim
(self)
stylegan_human/training/dataset.py:142
Method
label_dim
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:151
Method
label_dim
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:154
Method
label_dim
(self)
training/dataset.py:142
Method
label_shape
(self)
stylegan_human/training/dataset.py:132
Method
label_shape
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:141
Method
label_shape
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:144
Method
label_shape
(self)
training/dataset.py:132
Function
latent_noise
(latent, strength)
stylegan_human/utils/util.py:30
Function
lerp
Linear interpolation.
stylegan_human/dnnlib/tflib/tfutil.py:64
Function
lerp_clip
Linear interpolation with clip.
stylegan_human/dnnlib/tflib/tfutil.py:70
Function
list_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
Function
list_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
Method
load_points
(self, suffix)
viz/drag_widget.py:78
Function
load_tuned_G
(run_id, type)
stylegan_human/utils/models_utils.py:15
Function
log2
Logarithm in base 2.
stylegan_human/dnnlib/tflib/tfutil.py:52
Function
make_frame
(t)
stylegan_human/stylemixing_video.py:113
Method
make_noise
(self)
stylegan_human/torch_utils/models_face.py:473
Method
make_noise
(self)
stylegan_human/torch_utils/models.py:444
Method
make_noise
(self)
stylegan_human/pti/pti_models/e4e/stylegan2/model.py:451
Method
mean_latent
(self, n_latent)
stylegan_human/torch_utils/models_face.py:484
Method
mean_latent
(self, n_latent)
stylegan_human/pti/pti_models/e4e/stylegan2/model.py:462
Method
monitor_height
(self)
gui_utils/glfw_window.py:88
Method
monitor_width
(self)
gui_utils/glfw_window.py:83
Method
name
(self)
stylegan_human/training/dataset.py:113
Method
name
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:119
Method
name
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:122
Method
name
(self)
training/dataset.py:113
Function
no_weight_gradients
(disable=True)
torch_utils/ops/conv2d_gradfix.py:25
Function
no_weight_gradients
()
stylegan_human/torch_utils/ops/conv2d_gradfix.py:28
Function
noise_normalize_
(noises)
stylegan_human/utils/util.py:58
Function
noise_regularize_
(noises)
stylegan_human/utils/util.py:35
Function
normal_init
(m)
stylegan_human/torch_utils/models_face.py:801
Function
normal_init
(m)
stylegan_human/torch_utils/models.py:748
Function
npmax
(array)
stylegan_human/openpose/src/util.py:81
Function
npmax_with_score
(array)
stylegan_human/openpose/src/util.py:89
Method
num_channels
(self)
stylegan_human/training/dataset.py:121
Method
num_channels
(self)
stylegan_human/training_scripts/sg2/training/dataset.py:127
Method
num_channels
(self)
stylegan_human/training_scripts/sg3/training/dataset.py:130
Method
num_channels
(self)
training/dataset.py:121
Function
num_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
Function
on_change_lr
(lr, global_state)
visualizer_drag_gradio.py:428
Function
on_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
Function
on_change_single_global_state
(keys, value, global_state,
gradio_utils/utils.py:128
Function
on_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
Function
on_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
← previous
next →
1,001–1,100 of 1,199, ranked by callers