MCPcopy Create free account

hub / github.com/crazy-bot/VOGUE-Try-On-by-StyleGAN-Interpolation-Optimization / functions

Functions334 in github.com/crazy-bot/VOGUE-Try-On-by-StyleGAN-Interpolation-Optimization

Method_file_ext
(fname)
training/dataset.py:251
Method_load_raw_labels
(self)
training/dataset.py:222
Method_load_raw_labels
(self)
training/dataset.py:339
Function_reconstruct_persistent_obj
r"""Hook that is called internally by the `pickle` module to unpickle a persistent object.
torch_utils/persistence.py:179
Methodaccumulate_gradients
(self, phase, real_img, gen_z, gen_pose, sync, gain)
training/loss.py:59
Functionask_yes_no
Ask the user the question until the user inputs a valid answer.
dnnlib/util.py:153
Functionassert_shape
(tensor, ref_shape)
torch_utils/misc.py:87
Methodbackward
(ctx, grad_output)
torch_utils/ops/grid_sample_gradfix.py:54
Methodbackward
(ctx, grad2_grad_input, grad2_grad_grid)
torch_utils/ops/grid_sample_gradfix.py:70
Methodbackward
(ctx, d_dx)
torch_utils/ops/bias_act.py:189
Methodbackward
(ctx, dy)
torch_utils/ops/upfirdn2d.py:246
Methodbackward
(ctx, dout)
torch_utils/ops/fma.py:29
Methodbackward
(ctx, grad_output)
torch_utils/ops/conv2d_gradfix.py:119
Methodbackward
(ctx, grad2_grad_weight)
torch_utils/ops/conv2d_gradfix.py:151
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:55
Functionbias_act
torch_utils/ops/bias_act.cpp:32
Functioncalc_metric
(metric, **kwargs)
metrics/metric_main.py:39
Functioncenter_crop
(width, height, img)
dataset_tool.py:217
Functioncenter_crop_wide
(width, height, img)
dataset_tool.py:224
Functioncheck_ddp_consistency
(module, ignore_regex=None)
torch_utils/misc.py:185
Methodclose
(self)
training/dataset.py:200
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:180
Functioncompute_feature_stats_for_generator
(opts, detector_url, detector_kwargs, rel_lo=0, rel_hi=1, batch_size=64, batch_gen=None, jit=False, **stats_kw
metrics/metric_utils.py:236
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, jit=False)
metrics/perceptual_path_length.py:95
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:287
Functionconv2d
(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1)
torch_utils/ops/conv2d_gradfix.py:35
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:59
Functionconv_transpose2d
(input, weight, bias=None, stride=1, padding=0, output_padding=0, groups=1, dilation=1)
torch_utils/ops/conv2d_gradfix.py:40
Methodconvert
(self, value, param, ctx)
calc_metrics.py:79
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:348
Functioncopy_params_and_buffers
(src_module, dst_module, require_all=False)
torch_utils/misc.py:160
Functionddp_sync
(module, sync)
torch_utils/misc.py:174
Functiondecorator
(*args, **kwargs)
torch_utils/misc.py:106
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:347
Functionfid50k
(opts)
metrics/metric_main.py:115
Functionfid50k_full
(opts)
metrics/metric_main.py:83
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:272
Methodfind_class
(self, module, name)
legacy.py:68
Functionfma
(a, b, c)
torch_utils/ops/fma.py:15
Functionfolder_write_bytes
(fname: str, data: Union[bytes, str])
dataset_tool.py:294
Functionformat_time
Convert the seconds to human readable string with days, hours, minutes and seconds.
dnnlib/util.py:139
Methodforward
(ctx, input, grid)
torch_utils/ops/grid_sample_gradfix.py:46
Methodforward
(ctx, grad_output, input, grid)
torch_utils/ops/grid_sample_gradfix.py:63
Methodforward
(ctx, x, b)
torch_utils/ops/bias_act.py:147
Methodforward
(ctx, dy, x, b, y)
torch_utils/ops/bias_act.py:180
Methodforward
(ctx, x, f)
torch_utils/ops/upfirdn2d.py:230
Methodforward
(ctx, a, b, c)
torch_utils/ops/fma.py:22
Methodforward
(ctx, input, weight, bias)
torch_utils/ops/conv2d_gradfix.py:109
Methodforward
(ctx, grad_output, input)
torch_utils/ops/conv2d_gradfix.py:142
Methodforward
(self, c)
metrics/perceptual_path_length.py:49
Methodforward
(self, x)
training/networks.py:105
Methodforward
(self, x, gain=1)
training/networks.py:160
Methodforward
(self, z, truncation_psi=1, truncation_cutoff=None, skip_w_avg_update=False)
training/networks.py:215
Methodforward
(self, x)
training/networks.py:264
Methodforward
(self, x)
training/networks.py:299
Methodforward
(self, x, w, noise_mode='random', fused_modconv=True, gain=1)
training/networks.py:338
Methodforward
(self, x, w, fused_modconv=True)
training/networks.py:377
Methodforward
(self, x, img, ws, force_fp32=False, fused_modconv=None, **layer_kwargs)
training/networks.py:439
Methodforward
(self, ws, pose, **block_kwargs)
training/networks.py:532
Methodforward
(self, z, pose, truncation_psi=1, truncation_cutoff=None, **synthesis_kwargs)
training/networks.py:575
Methodforward
(self, x, img, force_fp32=False)
training/networks.py:635
Methodforward
(self, x)
training/networks.py:674
Methodforward
(self, x, img, force_fp32=False)
training/networks.py:722
Methodforward
(self, img, **block_kwargs)
training/networks.py:798
Methodforward
(self, images, debug_percentile=None)
training/augment.py:181
Methodforward
Apply gaussian filter to input. Arguments: input (torch.Tensor): Input to apply gaussian filter on. Returns:
Interpolation/identity_garment_loss_sup.py:78
Methodforward
(self, X)
Interpolation/vgg16.py:35
Methodforward
(self, w_p, w_g)
Interpolation/main_latent.py:23
Functiongarment_loss_using_tensors_
(s_g, s_t, I_g, I_t)
Interpolation/identity_garment_loss_sup.py:352
Functionget_M
(A, mask)
Interpolation/util_latent.py:98
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:187
Methodget_interpolated_style
(self, w_p, w_g, Q)
Interpolation/util_latent.py:161
Functionget_module_dir_by_obj_name
Get the directory path of the module containing the given object name.
dnnlib/util.py:292
Functionget_plugin
(module_name, sources, **build_kwargs)
torch_utils/custom_ops.py:46
Functionget_projection
(target)
Interpolation/util_latent.py:108
Functionget_top_level_function_name
Return the fully-qualified name of a top-level function.
dnnlib/util.py:303
Functiongrid_sample
(input, grid)
torch_utils/ops/grid_sample_gradfix.py:27
Methodhas_labels
(self)
training/dataset.py:145
Methodhas_onehot_labels
(self)
training/dataset.py:149
Functionidentity_loss
(s_g_path, s_t_path, I_g, I_t)
Interpolation/identity_garment_loss_sup.py:262
Methodimage_shape
(self)
training/dataset.py:115
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
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
Functionis50k
(opts)
metrics/metric_main.py:106
Functionis_pickleable
(obj: Any)
dnnlib/util.py:210
Functionkid50k
(opts)
metrics/metric_main.py:121
Functionkid50k_full
(opts)
metrics/metric_main.py:89
Methodlabel_dim
(self)
training/dataset.py:140
Methodlabel_shape
(self)
training/dataset.py:130
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:315
Functionlist_valid_metrics
()
metrics/metric_main.py:34
Functionlocalisation_loss_per_layer
(M_p, M_g)
Interpolation/util_latent.py:137
Functionlocalization_loss
(M_i, Q)
Interpolation/util_latent.py:126
← previousnext →201–300 of 334, ranked by callers