MCPcopy Create free account

hub / github.com/NVlabs/stylegan3 / functions

Functions485 in github.com/NVlabs/stylegan3

↓ 2 callersFunctiongrayed_out
(cond=True)
gui_utils/imgui_utils.py:42
↓ 2 callersFunctionis_image_ext
(fname: Union[str, Path])
dataset_tool.py:63
↓ 2 callersFunctionis_persistent
r"""Test whether the given object or class is persistent, i.e., whether it will save its source code when pickled.
torch_utils/persistence.py:134
↓ 2 callersFunctionis_valid_metric
(metric)
metrics/metric_main.py:34
↓ 2 callersMethodload
(pkl_file)
metrics/metric_utils.py:142
↓ 2 callersFunctionmodulated_conv2d
( x, # Input tensor of shape [batch_size, in_channels, in_height, in_width].
training/networks_stylegan2.py:32
↓ 2 callersMethodnames
r"""Returns the names of all statistics broadcasted so far that match the regular expression specified at construction time.
torch_utils/training_stats.py:141
↓ 2 callersFunctionnormalize_2nd_moment
(x, dim=1, eps=1e-8)
training/networks_stylegan2.py:26
↓ 2 callersMethodresolve_pkl
(self, pattern)
viz/pickle_widget.py:148
↓ 2 callersMethodrun_synthesis_net
(net, *args, capture_layer=None, **kwargs)
viz/renderer.py:340
↓ 2 callersMethodset_position
(self, x, y)
gui_utils/glfw_window.py:112
↓ 2 callersMethodset_vsync
(self, vsync)
gui_utils/glfw_window.py:118
↓ 2 callersMethodset_window_size
(self, width, height)
gui_utils/glfw_window.py:99
↓ 2 callersFunctionslerp
(a, b, t)
metrics/perceptual_path_length.py:22
↓ 2 callersFunctionstream_source_images
(source, num, seed, device, data_loader_kwargs=None)
avg_spectra.py:29
↓ 2 callersFunctionsuppress_tracer_warnings
()
torch_utils/misc.py:71
↓ 2 callersMethodto_cpu
(self, buf)
viz/renderer.py:206
↓ 1 callersMethod__getstate__
(self)
training/dataset.py:75
↓ 1 callersMethod__init__
(self, name, # Name of the dataset. raw_shape, # Shape of the r
training/dataset.py:27
↓ 1 callersMethod__init__
(self, *, title='ImguiWindow', font=None, font_sizes=range(14,24), **glfw_kwargs)
gui_utils/imgui_window.py:20
↓ 1 callersMethod__reduce__
(self)
torch_utils/persistence.py:118
↓ 1 callersFunction_apply_affine_transformation
(x, mat, up=4, **filter_kwargs)
viz/renderer.py:87
↓ 1 callersMethod_apply_cmap
(self, x, name='viridis')
viz/renderer.py:212
↓ 1 callersFunction_bias_act_cuda
Fast CUDA implementation of `bias_act()` using custom ops.
torch_utils/ops/bias_act.py:126
↓ 1 callersFunction_bias_act_ref
Slow reference implementation of `bias_act()` using standard TensorFlow ops.
torch_utils/ops/bias_act.py:91
↓ 1 callersFunction_check_pickleable
r"""Check that the given object is pickleable, raising an exception if it is not. This function is expected to be considerably more efficient
torch_utils/persistence.py:231
↓ 1 callersFunction_construct_affine_bandlimit_filter
(mat, a=3, amax=16, aflt=64, up=4, cutoff_in=1, cutoff_out=1)
viz/renderer.py:55
↓ 1 callersFunction_filtered_lrelu_ref
Slow and memory-inefficient reference implementation of `filtered_lrelu()` using existing `upfirdn2n()` and `bias_act()` ops.
torch_utils/ops/filtered_lrelu.py:121
↓ 1 callersFunction_find_compiler_bindir
()
torch_utils/custom_ops.py:29
↓ 1 callersFunction_get_array_impl
(string, *, font=None, size=32, outline=0, outline_pad=3, outline_coef=3, outline_exp=2, line_pad: int=None)
gui_utils/text_utils.py:74
↓ 1 callersFunction_get_array_impl_dropshadow
(string, *, font=None, size=32, radius: int, offset_x: int, offset_y: int, line_pad: int=None, **kwargs)
gui_utils/text_utils.py:96
↓ 1 callersFunction_get_mangled_gpu_name
()
torch_utils/custom_ops.py:44
↓ 1 callersFunction_init
()
torch_utils/ops/filtered_lrelu.py:23
↓ 1 callersFunction_init
()
torch_utils/ops/bias_act.py:38
↓ 1 callersFunction_init
()
torch_utils/ops/upfirdn2d.py:23
↓ 1 callersMethod_load_raw_image
(self, raw_idx)
training/dataset.py:69
↓ 1 callersMethod_load_raw_image
(self, raw_idx)
training/dataset.py:212
↓ 1 callersMethod_load_raw_labels
(self)
training/dataset.py:72
↓ 1 callersFunction_locate_results
(pattern)
viz/pickle_widget.py:22
↓ 1 callersFunction_module_to_src
r"""Query the source code of a given Python module.
torch_utils/persistence.py:206
↓ 1 callersMethod_render_impl
(self, res, pkl = None, w0_seeds = [[0, 1]], stylemix_idx = [],
viz/renderer.py:224
↓ 1 callersMethod_set_args_async
(self, **args)
visualizer.py:215
↓ 1 callersMethod_set_args_sync
(self, **args)
visualizer.py:227
↓ 1 callersFunction_setup_circle
(hole)
gui_utils/gl_utils.py:368
↓ 1 callersFunction_setup_rect
(rx, ry)
gui_utils/gl_utils.py:352
↓ 1 callersFunction_should_use_custom_op
()
torch_utils/ops/grid_sample_gradfix.py:36
↓ 1 callersFunction_src_to_module
r"""Get or create a Python module for the given source code.
torch_utils/persistence.py:216
↓ 1 callersFunction_sync
r"""Synchronize the global cumulative counters across devices and processes. Called internally by `Collector.update()`.
torch_utils/training_stats.py:234
↓ 1 callersMethod_tweak_network
(self, net)
viz/renderer.py:184
↓ 1 callersFunction_upfirdn2d_ref
Slow reference implementation of `upfirdn2d()` using standard PyTorch ops.
torch_utils/ops/upfirdn2d.py:167
↓ 1 callersMethodaccumulate_gradients
(self, phase, real_img, real_c, gen_z, gen_c, gain, cur_nimg)
training/loss.py:20
↓ 1 callersMethodadd_recent
(self, pkl, ignore_errors=False)
viz/pickle_widget.py:38
↓ 1 callersFunctionapply_affine_transformation
(x, mat, up=4, **filter_kwargs)
metrics/equivariance.py:135
↓ 1 callersFunctionapply_fractional_pseudo_rotation
(x, angle, a=3, **filter_kwargs)
metrics/equivariance.py:179
↓ 1 callersFunctionapply_fractional_rotation
(x, angle, a=3, **filter_kwargs)
metrics/equivariance.py:169
↓ 1 callersFunctionapply_fractional_translation
(x, tx, ty, a=3)
metrics/equivariance.py:63
↓ 1 callersFunctionapply_integer_translation
(x, tx, ty)
metrics/equivariance.py:44
↓ 1 callersMethodas_dict
r"""Returns the averages accumulated between the last two calls to `update()` as an `dnnlib.EasyDict`. The contents are as follows:
torch_utils/training_stats.py:212
↓ 1 callersFunctioncalc_metrics
Calculate quality metrics for previous training run or pretrained network pickle. Examples: \b # Previous training run: look up options
calc_metrics.py:97
↓ 1 callersFunctioncall_func_by_name
Finds the python object with the given name and calls it as a function.
dnnlib/util.py:293
↓ 1 callersMethodcapture_next_frame
(self)
gui_utils/glfw_window.py:139
↓ 1 callersMethodclose
(self)
visualizer.py:68
↓ 1 callersMethodclose
(self)
gui_utils/glfw_window.py:45
↓ 1 callersFunctionconvert_dataset
Convert an image dataset into a dataset archive usable with StyleGAN2 ADA PyTorch. The input dataset format is guessed from the --source argument
dataset_tool.py:326
↓ 1 callersFunctionconvert_network_pickle
Convert legacy network pickle into the native PyTorch format. The tool is able to load the main network configurations exported using the TensorF
legacy.py:297
↓ 1 callersFunctionconvert_tf_discriminator
(tf_D)
legacy.py:208
↓ 1 callersMethoddelete
(self)
gui_utils/gl_utils.py:161
↓ 1 callersMethoddelete
(self)
gui_utils/gl_utils.py:272
↓ 1 callersMethoddraw_frame
(self)
visualizer.py:106
↓ 1 callersFunctiondraw_rect
(*, pos=0, pos2=None, size=None, align=0, rint=False, color=1, alpha=1, rounding=0)
gui_utils/gl_utils.py:335
↓ 1 callersFunctiongen_interp_video
(G, mp4: str, seeds, shuffle_seed=None, w_frames=60*4, kind='cubic', grid_dims=(1,1), num_keyframes=None, wrap
gen_video.py:46
↓ 1 callersFunctiongenerate_images
Render a latent vector interpolation video. Examples: \b # Render a 4x2 grid of interpolations for seeds 0 through 31. python gen_vi
gen_video.py:136
↓ 1 callersFunctiongenerate_images
Generate images using pretrained network pickle. Examples: \b # Generate an image using pre-trained AFHQv2 model ("Ours" in Figure 1, le
gen_images.py:80
↓ 1 callersFunctionget_array
(string, *, dropshadow_radius: int=None, **kwargs)
gui_utils/text_utils.py:36
↓ 1 callersFunctionget_default_font
()
gui_utils/text_utils.py:22
↓ 1 callersMethodget_details
(self, idx)
training/dataset.py:105
↓ 1 callersFunctionget_feature_detector_name
(url)
metrics/metric_utils.py:39
↓ 1 callersMethodget_network
(self, pkl, key, **tweak_kwargs)
viz/renderer.py:152
↓ 1 callersFunctionget_obj_by_name
Finds the python object with the given name.
dnnlib/util.py:287
↓ 1 callersMethodget_result
(self)
visualizer.py:232
↓ 1 callersFunctioninit_dataset_kwargs
(data)
train.py:102
↓ 1 callersMethodis_full
(self)
metrics/metric_utils.py:91
↓ 1 callersMethodis_skipping_frames
(self)
gui_utils/glfw_window.py:136
↓ 1 callersFunctionis_top_level_function
Determine whether the given object is a top-level function, i.e., defined at module scope using 'def'.
dnnlib/util.py:312
↓ 1 callersFunctionis_url
Determine whether the given object is a valid URL string.
dnnlib/util.py:378
↓ 1 callersFunctionitem_width
(width=None)
gui_utils/imgui_utils.py:70
↓ 1 callersFunctioniterate_random_labels
(opts, batch_size)
metrics/metric_utils.py:57
↓ 1 callersFunctionlaunch_training
(c, desc, outdir, dry_run)
train.py:51
↓ 1 callersFunctionlayout_grid
(img, grid_w=None, grid_h=1, float_to_uint8=True, chw_to_hwc=True, to_numpy=True)
gen_video.py:28
↓ 1 callersMethodlist_runs_and_pkls
(self, parents)
viz/pickle_widget.py:133
↓ 1 callersFunctionload_network_pkl
(f, force_fp16=False)
legacy.py:22
↓ 1 callersMethodload_pickle
(self, pkl, ignore_errors=False)
visualizer.py:77
↓ 1 callersFunctionmain
Train a GAN using the techniques described in the paper "Alias-Free Generative Adversarial Networks". Examples: \b # Train StyleGAN3
train.py:164
↓ 1 callersFunctionmain
Interactive model visualizer. Optional PATH argument can be used specify which .pkl file to load.
visualizer.py:270
↓ 1 callersFunctionmain
Compare average power spectra between real and generated images, or between multiple generators. Example: \b # Calculate dataset mea
avg_spectra.py:81
↓ 1 callersFunctionmake_cache_dir_path
(*paths: str)
dnnlib/util.py:124
↓ 1 callersFunctionmake_transform
( transform: Optional[str], output_width: Optional[int], output_height: Optional[int] )
dataset_tool.py:216
↓ 1 callersFunctionmake_transform
(translate: Tuple[float,float], angle: float)
gen_images.py:57
↓ 1 callersMethodmaximize
(self)
gui_utils/glfw_window.py:109
↓ 1 callersFunctionmodulated_conv2d
( x, # Input tensor: [batch_size, in_channels, in_height, in_width] w,
training/networks_stylegan3.py:25
← previousnext →101–200 of 485, ranked by callers