MCPcopy Create free account

hub / github.com/ladaapp/lada / functions

Functions1,651 in github.com/ladaapp/lada

Methodforward
Forward function. Args: x: Input feature, tensor size (B, C, D, H, W).
lada/models/dover/models/swin_backbone.py:662
Methodforward
Forward function.
lada/models/dover/models/swin_backbone.py:717
Methodforward
Forward function.
lada/models/dover/models/swin_backbone.py:1045
Methodforward
(self, input)
lada/models/deepmosaics/models/BVDNet.py:23
Methodforward
(self, input)
lada/models/deepmosaics/models/BVDNet.py:41
Methodforward
(self, input)
lada/models/deepmosaics/models/BVDNet.py:56
Methodforward
(self, stream, previous)
lada/models/deepmosaics/models/BVDNet.py:86
Methodforward
(self, input)
lada/models/deepmosaics/models/BVDNet.py:125
Methodforward
(self, input)
lada/models/deepmosaics/models/BVDNet.py:172
Methodforward
(self, dis_fake = None, dis_real = None)
lada/models/deepmosaics/models/BVDNet.py:184
Methodforward
(self, x)
lada/models/deepmosaics/models/model_util.py:128
Methodforward
(self, x)
lada/models/deepmosaics/models/model_util.py:169
Methodforward
(self, x)
lada/models/deepmosaics/models/model_util.py:204
Methodforward
(self, x)
lada/models/deepmosaics/models/model_util.py:280
Methodforward
(self, dis_fake, dis_real)
lada/models/deepmosaics/models/model_util.py:324
Methodforward
(self, dis_fake)
lada/models/deepmosaics/models/model_util.py:333
Methodforward
(self, x, y)
lada/models/deepmosaics/models/model_util.py:351
Methodforward
(self, X)
lada/models/deepmosaics/models/model_util.py:381
Methodforward
(self, img1, img2)
lada/models/deepmosaics/models/model_util.py:447
Methodforward_fuse
(self, x)
lada/models/bpjdet/models/common.py:48
Methodforward_head
( self, feats, inference=True, reduce_scores=False, pooled=False,
lada/models/dover/models/evaluator.py:180
Methodforward_inference
Forward inference. Returns predictions of validation, testing. Args: inputs (torch.Tensor): batch input tensor collated by
lada/models/basicvsrpp/mmagic/basicvsr.py:87
Methodforward_original
(self, image, text)
lada/models/dover/models/xclip_backbone.py:790
Methodforward_train
Forward training. Returns dict of losses of training. Args: inputs (torch.Tensor): batch input tensor collated by
lada/models/basicvsrpp/mmagic/basicvsr.py:55
Methodforward_with_attention
(self, vclip)
lada/models/dover/models/evaluator.py:39
Methodforward_with_attention
(self, image)
lada/models/dover/models/evaluator.py:278
Methodfp16_enabled
(self, value: bool)
lada/gui/frame_restorer_provider.py:75
Methodfraction
(self)
lada/gui/export/export_item_data.py:28
Methodframe_restorer_options
(self)
lada/gui/watch/watch_view.py:255
Methodframes_done
(self)
lada/gui/export/export_item_data.py:52
Methodframes_remaining
(self)
lada/gui/export/export_item_data.py:60
Methodfrom_json_file
(path: str)
lada/datasetcreation/restoration_dataset_metadata.py:59
Methodfrom_json_file
(path: str)
lada/datasetcreation/restoration_dataset_metadata.py:167
Methodfun
(obj: ExportItemData)
lada/gui/export/export_multiple_files_page.py:40
Methodgauss_arg
(x)
lada/models/basicvsrpp/mmagic/gan_loss.py:271
Functiongen_path_regularizer
Generator Path Regularization. Path regularization is proposed in StyleGAN2, which can help the improve the continuity of the latent space. M
lada/models/basicvsrpp/mmagic/gan_loss.py:498
Methodgenerate_thumbnail
(current_thread_id)
lada/gui/watch/watch_view.py:454
Methodget
(self, block=True, timeout=None)
lada/gui/frame_restorer_provider.py:191
Functionget_arp_fragment_video
( video, short_fragments=7, fsize=32, train=False, **kwargs, )
lada/models/dover/datasets/dover_datasets.py:177
Functionget_arp_resized_video
( video, short_edge=224, train=False, **kwargs, )
lada/models/dover/datasets/dover_datasets.py:155
Functionget_available_gpus
()
lada/gui/utils.py:40
Functionget_box
(mask: Mask)
lada/utils/mask_utils.py:11
Methodget_boxes
Location of cropped area in original image
lada/datasetcreation/nsfw_scene_detector.py:171
Functionget_cropped_video
( video, size_h=224, size_w=224, **kwargs, )
lada/models/dover/datasets/dover_datasets.py:202
Functionget_encoding_presets
()
lada/utils/video_utils.py:293
Methodget_frame_restoration_queue
(self)
lada/restorationpipeline/frame_restorer.py:361
Methodget_images
(self)
lada/datasetcreation/nsfw_scene_detector.py:165
Methodget_masks
(self)
lada/datasetcreation/nsfw_scene_detector.py:168
Methodget_metric_sampler
Get sampler for normal metrics. Directly returns the dataloader. Args: model (nn.Module): Model to evaluate. dataload
lada/models/basicvsrpp/mmagic/base_sample_wise_metric.py:130
Methodget_metric_sampler
Get sampler for generative metrics. Returns a dummy iterator, whose return value of each iteration is a dict containing batch size and
lada/models/basicvsrpp/mmagic/base_gen_metric.py:256
Functionget_module_device
Get the device of a module. Args: module (nn.Module): A module contains the parameters. Returns: torch.device: The device of
lada/models/basicvsrpp/mmagic/model_utils.py:52
Functionget_mosaic_block_size_v4
(mask_img, area_type='normal', random=True)
lada/utils/mosaic_utils.py:187
Functionget_next_custom_preset
(config: Config)
lada/gui/utils.py:193
Functionget_norm_layer
(norm_type='instance',mod = '2d')
lada/models/deepmosaics/models/model_util.py:50
Functionget_preset_by_name
(config: Config, name: str)
lada/gui/utils.py:207
Functionget_progressbar_text
(state: ExportItemState, progress: ExportItemDataProgress)
lada/gui/export/export_utils.py:76
Functionget_rngs
(repeatable)
lada/utils/random_utils.py:11
Functionget_selected_preset
(config: Config)
lada/gui/utils.py:198
Functionget_settings
()
lada/utils/ultralytics_utils.py:26
Functionget_subprocess_startup_info
()
lada/utils/os_utils.py:9
Functiongray2bgr
Convert a grayscale image to BGR image. Args: img (ndarray): The input image. Returns: ndarray: The converted BGR image.
lada/models/basicvsrpp/mmagic/colorspace.py:61
Functiongray2rgb
Convert a grayscale image to RGB image. Args: img (ndarray): The input image. Returns: ndarray: The converted RGB image.
lada/models/basicvsrpp/mmagic/colorspace.py:75
Methodgt_label
This the function to fetch gt label. Returns: LabelData: gt label.
lada/models/basicvsrpp/mmagic/data_sample.py:254
Methodhandle_exception
(e: Exception)
lada/gui/export/export_view.py:432
Methodhandle_queue_marker
(queue_marker)
lada/gui/export/export_view.py:423
Functionhas_intel_arc_gpu
()
lada/utils/os_utils.py:62
Functionhas_nvidia_gpu
()
lada/utils/os_utils.py:59
Functionim2tensor
(image_numpy, gray=False,bgr2rgb = True, reshape = True, gpu_id = '-1',is0_1 = False, dtype=torch.float32)
lada/models/deepmosaics/util/data.py:47
Methodimages
(self)
lada/datasetcreation/nsfw_scene_processor.py:104
Functionimconvert
Convert an image from the src colorspace to dst colorspace. Args: img (ndarray): The input image. src (str): The source colorspac
lada/models/basicvsrpp/mmagic/colorspace.py:11
Functionimg2tensor
Numpy array to tensor. HWC to CHW Args: imgs (list[ndarray] | ndarray): Input images. bgr2rgb (bool): Whether to change bgr to rg
lada/utils/image_utils.py:111
Functioninference
(model: BasicVSRPlusPlusGan | BasicVSR, video: list[Image], device)
lada/models/basicvsrpp/inference.py:58
Methodinflate_weights
(self, pretrained_path)
lada/models/dover/models/conv_backbone.py:490
Methodinit
(self, options)
lada/gui/frame_restorer_provider.py:94
Functioninit_func
(m)
lada/models/deepmosaics/models/model_util.py:69
Functioninit_seeds
(seed=0)
lada/models/bpjdet/utils/general.py:45
Functioninit_weights
(net, init_type='normal', gain=0.02)
lada/models/deepmosaics/models/model_util.py:68
Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
lada/models/dover/models/backbone_v0_1.py:805
Methodinit_weights
(self, pretrained=None)
lada/models/dover/models/backbone_get_attention.py:927
Methodinit_weights
(self)
lada/models/dover/models/xclip_backbone.py:428
Methodinitial_view
(self)
lada/gui/config/config.py:240
Functionis_device_available
(device: str)
lada/gui/utils.py:22
Methodis_error_or_stop_marker
(elem)
lada/gui/export/export_view.py:420
Functionis_image_file
(file_path)
lada/utils/image_utils.py:248
Functionis_preview_file_ready
(file_path: str | None, progress: ExportItemDataProgress)
lada/gui/export/export_utils.py:34
Functionis_unique_preset_description
(description)
lada/gui/utils.py:216
Functionis_video_file
(file_path)
lada/utils/video_utils.py:481
Methodlabel
(self)
lada/gui/export/spinner_button.py:27
Functionlabels_to_class_weights
(labels, nc=80)
lada/models/bpjdet/utils/general.py:112
Functionlabels_to_image_weights
(labels, nc=80, class_weights=np.ones(80))
lada/models/bpjdet/utils/general.py:131
Methodlerp
Does a linear interpolation of two parameters/ buffers. Args: a (torch.Tensor): Interpolation start point, refer to orig state.
lada/models/basicvsrpp/mmagic/ema.py:75
Methodmask
(self)
lada/datasetcreation/nsfw_scene_detector.py:52
Functionmasked_loss
Create a masked version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, targ
lada/models/basicvsrpp/mmagic/loss_wrapper.py:81
Methodmasks
(self)
lada/datasetcreation/nsfw_scene_processor.py:108
Methodmax_clip_duration
(self)
lada/gui/config/config.py:162
Functionmethods
(instance)
lada/models/bpjdet/utils/general.py:34
Methodmosaic_detection_model
(self)
lada/gui/config/config.py:129
Methodmosaic_restoration_model
(self)
lada/gui/config/config.py:107
Methodmp4_fast_start
(self)
lada/gui/config/config.py:118
Methodmute_audio
(self)
lada/gui/config/config.py:173
← previousnext →1,301–1,400 of 1,651, ranked by callers