MCPcopy Create free account

hub / github.com/NVlabs/stylegan3 / functions

Functions485 in github.com/NVlabs/stylegan3

Methodaccumulate_gradients
(self, phase, real_img, real_c, gen_z, gen_c, gain, cur_nimg)
training/loss.py:63
Functionask_yes_no
Ask the user the question until the user inputs a valid answer.
dnnlib/util.py:167
Functionassert_shape
(tensor, ref_shape)
torch_utils/misc.py:82
Methodbackward
(ctx, dy)
torch_utils/ops/filtered_lrelu.py:239
Methodbackward
(ctx, grad_output)
torch_utils/ops/grid_sample_gradfix.py:51
Methodbackward
(ctx, grad2_grad_input, grad2_grad_grid)
torch_utils/ops/grid_sample_gradfix.py:73
Methodbackward
(ctx, d_dx)
torch_utils/ops/bias_act.py:186
Methodbackward
(ctx, dy)
torch_utils/ops/upfirdn2d.py:251
Methodbackward
(ctx, dout)
torch_utils/ops/fma.py:29
Methodbackward
(ctx, grad_output)
torch_utils/ops/conv2d_gradfix.py:135
Methodbackward
(ctx, grad2_grad_weight)
torch_utils/ops/conv2d_gradfix.py:181
Methodbegin_frame
(self)
gui_utils/imgui_window.py:71
Functionbias_act
r"""Fused bias and activation function. Adds bias `b` to activation tensor `x`, evaluates activation function `act`, and scales the result by
torch_utils/ops/bias_act.py:52
Methodblit
(self, dst=None)
gui_utils/gl_utils.py:300
Functioncalc
Calculate average power spectrum and store it in .npz file.
avg_spectra.py:149
Functioncalc_metric
(metric, **kwargs)
metrics/metric_main.py:42
Methodcenter
(self)
gui_utils/glfw_window.py:115
Functioncenter_crop
(width, height, img)
dataset_tool.py:232
Functioncenter_crop_wide
(width, height, img)
dataset_tool.py:239
Functioncheck_ddp_consistency
(module, ignore_regex=None)
torch_utils/misc.py:180
Methodclear_result
(self)
visualizer.py:241
Methodclose
(self)
visualizer.py:190
Methodclose
(self)
training/dataset.py:202
Methodclose
(self)
gui_utils/imgui_window.py:45
Functioncollapsing_header
(text, visible=None, flags=0, default=False, enabled=True, show=True)
gui_utils/imgui_utils.py:98
Functioncompute_equivariance_metrics
(opts, num_samples, batch_size, translate_max=0.125, rotate_max=1, compute_eqt_int=False, compute_eqt_frac=Fal
metrics/equivariance.py:192
Functioncompute_feature_stats_for_dataset
(opts, detector_url, detector_kwargs, rel_lo=0, rel_hi=1, batch_size=64, data_loader_kwargs=None, max_items=No
metrics/metric_utils.py:196
Functioncompute_feature_stats_for_generator
(opts, detector_url, detector_kwargs, rel_lo=0, rel_hi=1, batch_size=64, batch_gen=None, **stats_kwargs)
metrics/metric_utils.py:248
Functioncompute_fid
(opts, max_real, num_gen)
metrics/frechet_inception_distance.py:20
Functioncompute_is
(opts, num_gen, num_splits)
metrics/inception_score.py:18
Functioncompute_kid
(opts, max_real, num_gen, num_subsets, max_subset_size)
metrics/kernel_inception_distance.py:18
Functioncompute_ppl
(opts, num_samples, epsilon, space, sampling, crop, batch_size)
metrics/perceptual_path_length.py:94
Functioncompute_pr
(opts, max_real, num_gen, nhood_size, row_batch_size, col_batch_size)
metrics/precision_recall.py:36
Functionconstant
(value, shape=None, dtype=None, device=None, memory_format=None)
torch_utils/misc.py:22
Functionconstruct_class_by_name
Finds the python class with the given name and constructs it with the given arguments.
dnnlib/util.py:301
Methodcontent_height
(self)
gui_utils/glfw_window.py:73
Methodcontent_width
(self)
gui_utils/glfw_window.py:68
Functionconv2d
(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1)
torch_utils/ops/conv2d_gradfix.py:37
Functionconv2d_resample
r"""2D convolution with optional up/downsampling. Padding is performed only once at the beginning, not between the operations. Args:
torch_utils/ops/conv2d_resample.py:46
Functionconv_transpose2d
(input, weight, bias=None, stride=1, padding=0, output_padding=0, groups=1, dilation=1)
torch_utils/ops/conv2d_gradfix.py:42
Functioncopy_files_and_create_dirs
Takes in a list of tuples of (src, dst) paths and copies files. Will create all necessary directories.
dnnlib/util.py:362
Functioncopy_params_and_buffers
(src_module, dst_module, require_all=False)
torch_utils/misc.py:155
Functionddp_sync
(module, sync)
torch_utils/misc.py:169
Functiondecorator
(*args, **kwargs)
torch_utils/misc.py:101
Functiondecorator
(self, *args, **kwargs)
gui_utils/imgui_utils.py:81
Functiondownsample2d
r"""Downsample a batch of 2D images using the given 2D FIR filter. By default, the result is padded so that its shape is a fraction of the input.
torch_utils/ops/upfirdn2d.py:352
Functiondrag_button
(label, width=0, enabled=True)
gui_utils/imgui_utils.py:151
Functiondrag_hidden_window
(label, x, y, width, height, enabled=True)
gui_utils/imgui_utils.py:158
Functiondraw_circle
(*, center=0, radius=100, hole=0, color=1, alpha=1)
gui_utils/gl_utils.py:362
Methoddraw_frame
(self)
gui_utils/glfw_window.py:152
Functiondraw_pixels
(image, *, pos=0, zoom=1, align=0, rint=True)
gui_utils/gl_utils.py:91
Methodend_frame
(self)
gui_utils/imgui_window.py:85
Functioneqr50k
(opts)
metrics/metric_main.py:121
Functioneqt50k_frac
(opts)
metrics/metric_main.py:115
Functioneqt50k_int
(opts)
metrics/metric_main.py:109
Methodextra_repr
(self)
training/networks_stylegan3.py:103
Methodextra_repr
(self)
training/networks_stylegan3.py:163
Methodextra_repr
(self)
training/networks_stylegan3.py:245
Methodextra_repr
(self)
training/networks_stylegan3.py:386
Methodextra_repr
(self)
training/networks_stylegan3.py:480
Methodextra_repr
(self)
training/networks_stylegan2.py:127
Methodextra_repr
(self)
training/networks_stylegan2.py:183
Methodextra_repr
(self)
training/networks_stylegan2.py:268
Methodextra_repr
(self)
training/networks_stylegan2.py:330
Methodextra_repr
(self)
training/networks_stylegan2.py:357
Methodextra_repr
(self)
training/networks_stylegan2.py:461
Methodextra_repr
(self)
training/networks_stylegan2.py:518
Methodextra_repr
(self)
training/networks_stylegan2.py:638
Methodextra_repr
(self)
training/networks_stylegan2.py:667
Methodextra_repr
(self)
training/networks_stylegan2.py:728
Methodextra_repr
(self)
training/networks_stylegan2.py:791
Functionfid50k
(opts)
metrics/metric_main.py:130
Functionfid50k_full
(opts)
metrics/metric_main.py:86
Functionfilter2d
r"""Filter a batch of 2D images using the given 2D FIR filter. By default, the result is padded so that its shape matches the input. User-spe
torch_utils/ops/upfirdn2d.py:277
Functionfiltered_lrelu
r"""Filtered leaky ReLU for a batch of 2D images. Performs the following sequence of operations for each channel: 1. Add channel-specific bi
torch_utils/ops/filtered_lrelu.py:56
Methodfind_class
(self, module, name)
legacy.py:66
Functionfma
(a, b, c)
torch_utils/ops/fma.py:15
Functionfolder_write_bytes
(fname: str, data: Union[bytes, str])
dataset_tool.py:309
Methodfont_size
(self)
gui_utils/imgui_window.py:61
Functionformat_time
Convert the seconds to human readable string with days, hours, minutes and seconds.
dnnlib/util.py:139
Functionformat_time_brief
Convert the seconds to human readable string with days, hours, minutes and seconds.
dnnlib/util.py:153
Methodforward
(ctx, x, fu, fd, b, si, sx, sy)
torch_utils/ops/filtered_lrelu.py:180
Methodforward
(ctx, input, grid)
torch_utils/ops/grid_sample_gradfix.py:43
Methodforward
(ctx, grad_output, input, grid)
torch_utils/ops/grid_sample_gradfix.py:60
Methodforward
(ctx, x, b)
torch_utils/ops/bias_act.py:144
Methodforward
(ctx, dy, x, b, y)
torch_utils/ops/bias_act.py:177
Methodforward
(ctx, x, f)
torch_utils/ops/upfirdn2d.py:233
Methodforward
(ctx, a, b, c)
torch_utils/ops/fma.py:22
Methodforward
(ctx, input, weight, bias)
torch_utils/ops/conv2d_gradfix.py:112
Methodforward
(ctx, grad_output, input)
torch_utils/ops/conv2d_gradfix.py:160
Methodforward
(self, c)
metrics/perceptual_path_length.py:48
Methodforward
(self, x)
training/networks_stylegan3.py:89
Methodforward
(self, z, c, truncation_psi=1, truncation_cutoff=None, update_emas=False)
training/networks_stylegan3.py:135
Methodforward
(self, w)
training/networks_stylegan3.py:198
Methodforward
(self, x, w, noise_mode='random', force_fp32=False, update_emas=False)
training/networks_stylegan3.py:329
Methodforward
(self, ws, **layer_kwargs)
training/networks_stylegan3.py:464
Methodforward
(self, z, c, truncation_psi=1, truncation_cutoff=None, update_emas=False, **synthesis_kwargs)
training/networks_stylegan3.py:510
Methodforward
(self, x)
training/networks_stylegan2.py:112
Methodforward
(self, x, gain=1)
training/networks_stylegan2.py:172
Methodforward
(self, z, c, truncation_psi=1, truncation_cutoff=None, update_emas=False)
training/networks_stylegan2.py:231
← previousnext →301–400 of 485, ranked by callers