MCPcopy Create free account

hub / github.com/NVlabs/stylegan3 / functions

Functions485 in github.com/NVlabs/stylegan3

Methodforward
(self, x, w, noise_mode='random', fused_modconv=True, gain=1)
training/networks_stylegan2.py:309
Methodforward
(self, x, w, fused_modconv=True)
training/networks_stylegan2.py:351
Methodforward
(self, x, img, ws, force_fp32=False, fused_modconv=None, update_emas=False, **layer_kwargs)
training/networks_stylegan2.py:415
Methodforward
(self, ws, **block_kwargs)
training/networks_stylegan2.py:501
Methodforward
(self, z, c, truncation_psi=1, truncation_cutoff=None, update_emas=False, **synthesis_kwargs)
training/networks_stylegan2.py:547
Methodforward
(self, x, img, force_fp32=False)
training/networks_stylegan2.py:606
Methodforward
(self, x)
training/networks_stylegan2.py:650
Methodforward
(self, x, img, cmap, force_fp32=False)
training/networks_stylegan2.py:700
Methodforward
(self, img, c, update_emas=False, **block_kwargs)
training/networks_stylegan2.py:778
Methodforward
(self, images, debug_percentile=None)
training/augment.py:186
Methodframe_delta
(self)
gui_utils/glfw_window.py:93
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
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_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.
dnnlib/util.py:317
Functiongrid_sample
(input, grid)
torch_utils/ops/grid_sample_gradfix.py:29
Methodhas_labels
(self)
training/dataset.py:147
Methodhas_onehot_labels
(self)
training/dataset.py:151
Functionheatmap
Visualize 2D heatmap based on the given .npz file.
avg_spectra.py:181
Methodimage_shape
(self)
training/dataset.py:117
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
Methodinit_args
(self)
torch_utils/persistence.py:111
Functioninit_egl
()
gui_utils/gl_utils.py:19
Methodinit_kwargs
(self)
torch_utils/persistence.py:115
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
Functioninput_text
(label, value, buffer_length, flags, width=None, help_text='')
gui_utils/imgui_utils.py:120
Functionis50k
(opts)
metrics/metric_main.py:148
Methodis_async
(self)
visualizer.py:200
Functionis_pickleable
(obj: Any)
dnnlib/util.py:224
Functionkid50k
(opts)
metrics/metric_main.py:136
Functionkid50k_full
(opts)
metrics/metric_main.py:92
Methodlabel_dim
(self)
training/dataset.py:142
Methodlabel_shape
(self)
training/dataset.py:132
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
Functionlist_valid_metrics
()
metrics/metric_main.py:37
Methodmodule_hook
(module, _inputs, outputs)
viz/renderer.py:345
Methodmonitor_height
(self)
gui_utils/glfw_window.py:88
Methodmonitor_width
(self)
gui_utils/glfw_window.py:83
Methodname
(self)
training/dataset.py:113
Functionno_weight_gradients
(disable=True)
torch_utils/ops/conv2d_gradfix.py:27
Methodnum_channels
(self)
training/dataset.py:121
Functionopen_url
Download the given URL and return a binary-mode file object to access the data.
dnnlib/util.py:396
Functionparams_and_buffers
(module)
torch_utils/misc.py:147
Functionparse_comma_separated_list
(s)
train.py:115
Functionparse_comma_separated_list
(s)
calc_metrics.py:79
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
gen_video.py:94
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
gen_images.py:25
Functionparse_tuple
Parse a 'M,N' or 'MxN' integer tuple. Example: '4x2' returns (4,2) '0,1' returns (0,1)
dataset_tool.py:37
Functionparse_tuple
Parse a 'M,N' or 'MxN' integer tuple. Example: '4x2' returns (4,2) '0,1' returns (0,1)
gen_video.py:112
Functionparse_vec2
Parse a floating point 2-vector of syntax 'a,b'. Example: '0,1' returns (0,1)
gen_images.py:43
Functionpopup_button
(label, width=0, enabled=True)
gui_utils/imgui_utils.py:112
Functionpost_hook
(mod, _inputs, outputs)
torch_utils/misc.py:206
Functionppl2_wend
(opts)
metrics/metric_main.py:104
Functionpr50k3
(opts)
metrics/metric_main.py:142
Functionpr50k3_full
(opts)
metrics/metric_main.py:98
Functionpre_hook
(_mod, _inputs)
torch_utils/misc.py:204
Functionprint_module_summary
(module, inputs, max_nesting=3, skip_redundant=True)
torch_utils/misc.py:196
Functionprofiled_function
(fn)
torch_utils/misc.py:100
Functionread_pixels
(width, height, *, pos=0, dtype='uint8', channels=3)
gui_utils/gl_utils.py:114
Methodrecurse
(parents)
viz/pickle_widget.py:103
Functionregister_metric
(fn)
metrics/metric_main.py:29
Functionreport0
r"""Broadcasts the given set of scalars by the first process (`rank = 0`), but ignores any scalars provided by the other processes. See `repor
torch_utils/training_stats.py:103
Functionreport_metric
(result_dict, run_dir=None, snapshot_pkl=None)
metrics/metric_main.py:70
Methodresolution
(self)
training/dataset.py:126
Functionscale
(width, height, img)
dataset_tool.py:221
Functionscoped_by_object_id
(method)
gui_utils/imgui_utils.py:80
Methodscroll_callback
(self, window, x_offset, y_offset)
gui_utils/imgui_window.py:100
Methodset_async
(self, is_async)
visualizer.py:203
Functionset_cache_dir
(path: str)
dnnlib/util.py:120
Methodset_content_size
(self, width, height)
gui_utils/glfw_window.py:106
Functionset_default_style
(color_scheme='dark', spacing=9, indent=23, scrollbar=27)
gui_utils/imgui_utils.py:14
Methodset_title
(self, title)
gui_utils/glfw_window.py:96
Functionsetup_filter
r"""Convenience function to setup 2D FIR filter for `upfirdn2d()`. Args: f: Torch tensor, numpy array, or python list of the sh
torch_utils/ops/upfirdn2d.py:70
Functionslices
Visualize 1D slices based on the given .npz files.
avg_spectra.py:216
Methodspacing
(self)
gui_utils/imgui_window.py:65
Functionstats
Calculate dataset mean and standard deviation needed by 'calc'.
avg_spectra.py:121
Methodtitle_bar_height
(self)
gui_utils/glfw_window.py:78
Methodtrainable_gen
()
training/networks_stylegan2.py:584
Functiontraining_loop
( run_dir = '.', # Output directory. training_set_kwargs = {}, # Option
training/training_loop.py:90
Functiontuple_product
Calculate the product of the tuple elements.
dnnlib/util.py:177
Functionupsample2d
r"""Upsample a batch of 2D images using the given 2D FIR filter. By default, the result is padded so that its shape is a multiple of the input.
torch_utils/ops/upfirdn2d.py:313
Methodwindow_height
(self)
gui_utils/glfw_window.py:64
Methodwindow_width
(self)
gui_utils/glfw_window.py:60
Functionzip_write_bytes
(fname: str, data: Union[bytes, str])
dataset_tool.py:294
← previous401–485 of 485, ranked by callers