MCPcopy Create free account

hub / github.com/OpenGVLab/DragGAN / functions

Functions447 in github.com/OpenGVLab/DragGAN

Functionon_save_files
(image, state)
gradio_app.py:168
Functionon_save_files
(image, state)
draggan/web.py:169
Functionon_save_files
(image, state)
draggan/deprecated/web.py:171
Functionon_select_mask_tab
(state)
gradio_app.py:199
Functionon_select_mask_tab
(state)
draggan/web.py:200
Functionon_select_mask_tab
(state)
draggan/deprecated/web.py:202
Functionon_show_save
()
gradio_app.py:177
Functionon_show_save
()
draggan/web.py:178
Functionon_show_save
()
draggan/deprecated/web.py:180
Functionon_undo
(points, image, state, size)
gradio_app.py:106
Functionon_undo
(points, image, state, size)
draggan/web.py:107
Functionon_undo
(points, image, state, size)
draggan/deprecated/web.py:118
Functionopen_url
Download the given URL and return a binary-mode file object to access the data.
draggan/stylegan2/dnnlib/util.py:382
Methodoptimize_parameters
(self)
draggan/deprecated/stylegan2/lpips/dist_model.py:148
Methodoptimize_parameters
(self)
draggan/deprecated/stylegan2/lpips/base_model.py:25
Functionparams_and_buffers
(module)
draggan/stylegan2/torch_utils/misc.py:145
Functionpost_hook
(mod, _inputs, outputs)
draggan/stylegan2/torch_utils/misc.py:202
Functionpre_hook
(_mod, _inputs)
draggan/stylegan2/torch_utils/misc.py:200
Functionprint_module_summary
(module, inputs, max_nesting=3, skip_redundant=True)
draggan/stylegan2/torch_utils/misc.py:192
Functionprint_network
(net)
draggan/deprecated/stylegan2/lpips/networks_basic.py:183
Functionprofiled_function
(fn)
draggan/stylegan2/torch_utils/misc.py:98
Functionpsnr
(p0, p1, peak=255.)
draggan/deprecated/stylegan2/lpips/util.py:49
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
draggan/stylegan2/torch_utils/training_stats.py:103
Methodresolution
(self)
draggan/stylegan2/training/dataset.py:126
Functionrgb2lab
(in_img,mean_cent=False)
draggan/deprecated/stylegan2/lpips/util.py:55
Methodsave_done
(self, flag=False)
draggan/deprecated/stylegan2/lpips/base_model.py:56
Functionscore_2afc_dataset
Function computes Two Alternative Forced Choice (2AFC) score using distance function 'func' in dataset 'data_loader' INPUTS data_
draggan/deprecated/stylegan2/lpips/dist_model.py:241
Functionscore_jnd_dataset
Function computes JND score using distance function 'func' in dataset 'data_loader' INPUTS data_loader - CustomDatasetDataLoader object -
draggan/deprecated/stylegan2/lpips/dist_model.py:277
Functionset_cache_dir
(path: str)
draggan/stylegan2/dnnlib/util.py:120
Methodset_input
(self, data)
draggan/deprecated/stylegan2/lpips/dist_model.py:160
Functionsetup_filter
r"""Convenience function to setup 2D FIR filter for `upfirdn2d()`. Args: f: Torch tensor, numpy array, or python list of the sh
draggan/stylegan2/torch_utils/ops/upfirdn2d.py:72
Functiontensor2tensorlab
(image_tensor,to_norm=True,mc_only=False)
draggan/deprecated/stylegan2/lpips/util.py:70
Functiontensor2vec
(vector_tensor)
draggan/deprecated/stylegan2/lpips/util.py:115
Functiontensor_to_PIL
Converts a tensor image to a PIL Image. Args: img (torch.Tensor): The tensor image of shape [batch_size, num_channels, height, width
draggan/utils.py:48
Functiontensor_to_PIL
Converts a tensor image to a PIL Image. Args: img (torch.Tensor): The tensor image of shape [batch_size, num_channels, height, width
draggan/deprecated/utils.py:48
Functiontensorlab2tensor
(lab_tensor,return_inbnd=False)
draggan/deprecated/stylegan2/lpips/util.py:84
Methodtrainable_gen
()
draggan/stylegan2/training/networks.py:621
Functiontraining_loop
( run_dir = '.', # Output directory. training_set_kwargs = {}, # Option
draggan/stylegan2/training/training_loop.py:90
Functiontuple_product
Calculate the product of the tuple elements.
draggan/stylegan2/dnnlib/util.py:163
Methodupdate_learning_rate
(self, nepoch_decay)
draggan/deprecated/stylegan2/lpips/dist_model.py:230
Methodupdate_learning_rate
()
draggan/deprecated/stylegan2/lpips/base_model.py:50
Methodupdate_to
(self, b=1, bsize=1, tsize=None)
draggan/utils.py:24
Methodupdate_to
(self, b=1, bsize=1, tsize=None)
draggan/deprecated/utils.py:24
Methodupdate_to
(self, b=1, bsize=1, tsize=None)
draggan/deprecated/stylegan2/lpips/dist_model.py:27
Functionupfirdn2d_native
(input, kernel, up=1, down=1, pad=(0, 0))
draggan/deprecated/stylegan2/op/upfirdn2d.py:176
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.
draggan/stylegan2/torch_utils/ops/upfirdn2d.py:308
Functionvoc_ap
ap = voc_ap(rec, prec, [use_07_metric]) Compute VOC AP given precision and recall. If use_07_metric is true, uses the VOC 07 11 point met
draggan/deprecated/stylegan2/lpips/util.py:118
← previous401–447 of 447, ranked by callers