MCPcopy Create free account

hub / github.com/ladaapp/lada / functions

Functions1,651 in github.com/ladaapp/lada

↓ 1 callersFunctiongaussian
(window_size, sigma)
lada/models/deepmosaics/models/model_util.py:407
↓ 1 callersMethodgaussian
Gaussian function. Args: kernel_size (int): Kernel filter size in x or y direction. Should be odd
lada/models/basicvsrpp/mmagic/gan_loss.py:258
↓ 1 callersMethodgenerate_json_with_results
Generate JSON files with results obtained from YOLO model predictions. Args: results (list): List of results obtained fr
scripts/dataset_creation/convert-dataset-yolo-to-labelme.py:77
↓ 1 callersFunctiongenerate_random_japanese_string
(length: int)
lada/utils/watermark_creation_utils.py:22
↓ 1 callersFunctiongenerate_random_string
Generate a random string of a given length Args: length (int): The length of the string Returns: str: The random string
lada/utils/watermark_creation_utils.py:33
↓ 1 callersMethodget_2d_gaussian_kernel
Get the two-dimensional Gaussian filter matrix coefficients. Args: kernel_size (tuple[int]): Kernel filter size in the x and y
lada/models/basicvsrpp/mmagic/gan_loss.py:199
↓ 1 callersMethodget_action_row_for_add_new_preset
(self)
lada/gui/config/config_sidebar.py:491
↓ 1 callersMethodget_action_rows_for_detection_model
(self, selected_model: str)
lada/gui/config/config_sidebar.py:452
↓ 1 callersMethodget_action_rows_for_restoration_model
(self, selected_model: str)
lada/gui/config/config_sidebar.py:443
↓ 1 callersFunctionget_adaptive_window_size
( base_window_size, input_x_size, base_x_size, )
lada/models/dover/models/swin_backbone.py:58
↓ 1 callersFunctionget_audio_codec
(file_path: str)
lada/utils/audio_utils.py:40
↓ 1 callersFunctionget_compatible_wheels
(wheels: list[dict], glib_major: int, glib_minor: int, python_major: int, python_minor: int)
packaging/flatpak/convert-pylock-to-flatpak.py:120
↓ 1 callersMethodget_cond
(self)
lada/models/basicvsrpp/mmagic/base_gen_metric.py:297
↓ 1 callersFunctionget_default_gan_inference_config
()
lada/models/basicvsrpp/inference.py:20
↓ 1 callersFunctionget_default_preset_name
()
lada/utils/video_utils.py:285
↓ 1 callersFunctionget_default_torch_device
()
lada/utils/os_utils.py:52
↓ 1 callersMethodget_detection_model_by_path
(model_path: str)
lada/__init__.py:167
↓ 1 callersFunctionget_direction_anchor_from_position
Returns the direction and anchor for the text Args: position (dict): The position of the text Returns: str: The directi
lada/utils/watermark_creation_utils.py:130
↓ 1 callersMethodget_end_frame_index
(self, meta)
lada/models/basicvsrpp/mosaic_video_dataset.py:77
↓ 1 callersFunctionget_files
(dir, filter_func)
scripts/dataset_creation/create-mosaic-detection-dataset.py:263
↓ 1 callersMethodget_frame_indices
(self, num_frames, train=False)
lada/models/dover/datasets/dover_datasets.py:286
↓ 1 callersFunctionget_gnome_runtime_glib_version
(gnome_runtime_version: int)
packaging/flatpak/convert-pylock-to-flatpak.py:78
↓ 1 callersFunctionget_gnome_runtime_python_version
(gnome_runtime_version: int)
packaging/flatpak/convert-pylock-to-flatpak.py:83
↓ 1 callersFunctionget_human_readable_hardware_device_name
(device_type_name: str)
lada/utils/video_utils.py:497
↓ 1 callersMethodget_label
(self)
lada/gui/export/spinner_button.py:49
↓ 1 callersFunctionget_mask_area
(mask: Mask)
lada/utils/mask_utils.py:63
↓ 1 callersMethodget_masks
(self)
lada/datasetcreation/nsfw_scene_detector.py:121
↓ 1 callersMethodget_max_width_height
(self)
lada/datasetcreation/nsfw_scene_detector.py:177
↓ 1 callersMethodget_max_width_height
(self)
lada/restorationpipeline/mosaic_detector.py:127
↓ 1 callersMethodget_metric_sampler
Get sampler for normal metrics. Directly returns the dataloader. Args: model (nn.Module): Model to evaluate. dataload
lada/models/basicvsrpp/mmagic/base_gen_metric.py:148
↓ 1 callersFunctionget_model
(device: str)
lada/models/bpjdet/inference.py:118
↓ 1 callersFunctionget_mosaic_block_size_v2
(mask)
lada/utils/mosaic_utils.py:149
↓ 1 callersFunctionget_mosaic_block_size_v3
(uncropped_scene_shape)
lada/utils/mosaic_utils.py:163
↓ 1 callersMethodget_mosaic_params
(self, meta: RestorationDatasetMetadataV2)
lada/models/basicvsrpp/mosaic_video_dataset.py:70
↓ 1 callersFunctionget_nsfw_frame
(dets: list[Box], frame: Image, random_extend_masks: bool)
lada/datasetcreation/detectors/face_detector.py:43
↓ 1 callersFunctionget_nsfw_frames
(yolo_results: UltralyticsResults, random_extend_masks: bool)
lada/datasetcreation/detectors/nsfw_frame_detector.py:10
↓ 1 callersMethodget_padded_width
(width)
lada/gui/watch/gstreamer_pipeline_appsrc.py:287
↓ 1 callersMethodget_position_ns
(self)
lada/gui/watch/gstreamer_pipeline_manager.py:98
↓ 1 callersFunctionget_resize_function
(size_h, size_w, target_ratio=1, random_crop=False)
lada/models/dover/datasets/dover_datasets.py:130
↓ 1 callersMethodget_resume_timestamp_ns
(self)
lada/gui/export/export_utils.py:148
↓ 1 callersFunctionget_sampler
Get a sampler to loop input data. Args: sample_kwargs (dict): _description_ runner (Optional[Runner]): _description_ Returns
lada/models/basicvsrpp/mmagic/sampler.py:20
↓ 1 callersFunctionget_single_view
( video, sample_type="aesthetic", **kwargs, )
lada/models/dover/datasets/dover_datasets.py:210
↓ 1 callersMethodget_thumbnail
(self, timestamp_ns: int)
lada/utils/video_utils.py:594
↓ 1 callersMethodget_timeline_colors
(self)
lada/gui/watch/timeline.py:161
↓ 1 callersFunctionget_video_metadata_string
(file: Gio.File)
lada/gui/export/export_utils.py:27
↓ 1 callersFunctionget_wheel_or_sdist
(compatible_wheels: list, package: dict)
packaging/flatpak/convert-pylock-to-flatpak.py:172
↓ 1 callersFunctionget_yolo_box
(contour, img_width, img_height)
lada/utils/ultralytics_utils.py:125
↓ 1 callersFunctionget_yolo_segment_polygon
(contour, img_width, img_height)
lada/utils/ultralytics_utils.py:133
↓ 1 callersFunctionglobal_position_index
( D, H, W, fragments=(1, 7, 7), window_size=(8, 7, 7), shift_size=(0, 0, 0), devic
lada/models/dover/models/backbone_get_attention.py:25
↓ 1 callersFunctionglobal_position_index
( D, H, W, fragments=(1, 7, 7), window_size=(8, 7, 7), shift_size=(0, 0, 0), devic
lada/models/dover/models/swin_backbone.py:26
↓ 1 callersFunctiongpu_has_fp16_acceleration
(device: torch.device = None)
lada/utils/os_utils.py:37
↓ 1 callersFunctiongradient_penalty_loss
Calculate gradient penalty for wgan-gp. Args: discriminator (nn.Module): Network for the discriminator. real_data (Tensor): Real
lada/models/basicvsrpp/mmagic/gan_loss.py:302
↓ 1 callersMethodhide_spinner
(self)
lada/gui/watch/seek_preview_popover.py:32
↓ 1 callersMethodhide_subtitle
(self, hide: bool)
lada/gui/watch/gstreamer_pipeline_manager.py:383
↓ 1 callersMethodif_run_d
Calculates whether need to run the discriminator step.
lada/models/basicvsrpp/mmagic/real_basicvsr.py:364
↓ 1 callersMethodif_run_g
Calculates whether need to run the generator step.
lada/models/basicvsrpp/mmagic/real_basicvsr.py:358
↓ 1 callersMethodinference
(self, image_batch: torch.Tensor)
lada/models/yolo/yolo11_segmentation_model.py:65
↓ 1 callersMethodinference_and_postprocess
(self, imgs: torch.Tensor, orig_imgs: list[ImageTensor])
lada/models/yolo/yolo11_segmentation_model.py:68
↓ 1 callersMethodinflate_weights
Inflate the swin2d parameters to swin3d. The differences between swin3d and swin2d mainly lie in an extra axis. To utilize the pretra
lada/models/dover/models/backbone_v0_1.py:708
↓ 1 callersMethodinflate_weights
Inflate the swin2d parameters to swin3d. The differences between swin3d and swin2d mainly lie in an extra axis. To utilize the pretra
lada/models/dover/models/backbone_get_attention.py:822
↓ 1 callersMethodinflate_weights
Inflate the swin2d parameters to swin3d. The differences between swin3d and swin2d mainly lie in an extra axis. To utilize the pretra
lada/models/dover/models/swin_backbone.py:860
↓ 1 callersMethodinit_offset
Init constant offset.
lada/models/basicvsrpp/mmagic/basicvsr_plusplus_net.py:302
↓ 1 callersFunctioninit_torch_seeds
(seed=0)
lada/models/bpjdet/utils/torch_utils.py:27
↓ 1 callersMethodinit_weights
(self)
lada/models/basicvsrpp/deformconv.py:43
↓ 1 callersMethodinit_weights
Initialize weights for ResidualBlockNoBN. Initialization methods like `kaiming_init` are for VGG-style modules. For modules with resi
lada/models/basicvsrpp/mmagic/basicvsr_plusplus_net.py:606
↓ 1 callersMethodinit_weights
Initialize weights for PixelShufflePack.
lada/models/basicvsrpp/mmagic/basicvsr_plusplus_net.py:659
↓ 1 callersMethodinit_weights
Init weights. Args: model (nn.Module): Models to be inited. pretrained (str): Path for pretrained weights.
lada/models/basicvsrpp/mmagic/perceptual_loss.py:94
↓ 1 callersMethodinit_weights
(self, pretrained=None)
lada/models/dover/models/swin_backbone.py:1009
↓ 1 callersMethodinitialize_parameters
(self)
lada/models/dover/models/xclip_backbone.py:224
↓ 1 callersFunctioninitialize_weights
(model)
lada/models/bpjdet/utils/torch_utils.py:41
↓ 1 callersFunctionis_ascii
(s='')
lada/models/bpjdet/utils/general.py:52
↓ 1 callersFunctionis_compatible_wheel
(parsed_wheel, glib_major: int, glib_minor: int, python_major: int, python_minor: int)
packaging/flatpak/convert-pylock-to-flatpak.py:133
↓ 1 callersFunctionis_output_container_compatible_with_input_audio_codec
(audio_codec: str, output_path: str)
lada/utils/audio_utils.py:47
↓ 1 callersMethodis_service_registered
(self, service_name: str)
lada/gui/export/shutdown_manager.py:72
↓ 1 callersFunctionis_srt_file
(file: Gio.File)
lada/gui/utils.py:116
↓ 1 callersFunctionis_video_file
(file: Gio.File)
lada/gui/utils.py:105
↓ 1 callersFunctionl1_loss
L1 loss. Args: pred (Tensor): Prediction Tensor with shape (n, c, h, w). target ([type]): Target Tensor with shape (n, c, h, w).
lada/models/basicvsrpp/mmagic/pixelwise_loss.py:18
↓ 1 callersMethodload_checkpoint
(self, load_path, strict=False)
lada/models/dover/models/backbone_v0_1.py:783
↓ 1 callersMethodload_checkpoint
(self, load_path, strict=False)
lada/models/dover/models/backbone_get_attention.py:897
↓ 1 callersMethodload_config
(self)
lada/gui/config/config.py:329
↓ 1 callersMethodload_input
(self)
scripts/evaluation/view-yolo.py:32
↓ 1 callersMethodload_swin
(self, load_path, strict=False)
lada/models/dover/models/swin_backbone.py:935
↓ 1 callersFunctionmain
()
scripts/dataset_creation/extract-video-frames.py:58
↓ 1 callersFunctionmain
()
scripts/dataset_creation/create-watermark-detection-dataset.py:78
↓ 1 callersFunctionmain
()
scripts/dataset_creation/convert-dataset-yolo-to-labelme.py:100
↓ 1 callersFunctionmain
()
scripts/dataset_creation/create-mosaic-restoration-dataset.py:92
↓ 1 callersFunctionmain
(input_json_dir, output_text_dir, output_images_dir)
scripts/dataset_creation/convert-dataset-labelme-to-yolo.py:31
↓ 1 callersFunctionmain
()
scripts/dataset_creation/create-mosaic-detection-dataset.py:306
↓ 1 callersFunctionmain
()
scripts/training/train-mosaic-restoration-basicvsrpp.py:56
↓ 1 callersFunctionmain
(pylock_toml_path: str, gnome_runtime_version: int, flatpak_module_yaml_path: str)
packaging/flatpak/convert-pylock-to-flatpak.py:201
↓ 1 callersFunctionmain
()
lada/cli/main.py:138
↓ 1 callersFunctionmain
()
lada/gui/main.py:24
↓ 1 callersFunctionmake_layer
Make layers by stacking the same blocks. Args: block (nn.module): nn.module class for basic block. num_blocks (int): number of bl
lada/models/basicvsrpp/mmagic/model_utils.py:36
↓ 1 callersFunctionmask_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Tensor): Element-wise weights. Default
lada/models/basicvsrpp/mmagic/loss_wrapper.py:33
↓ 1 callersMethodmax_clip_length
(self, value: int)
lada/gui/frame_restorer_provider.py:63
↓ 1 callersMethodmax_length_reached
(self)
lada/datasetcreation/nsfw_scene_detector.py:82
↓ 1 callersMethodmean_filter
(data, window=11)
lada/datasetcreation/nsfw_scene_detector.py:220
↓ 1 callersMethodmerge_mask_box
(self, mask: MaskTensor, box: Box)
lada/restorationpipeline/mosaic_detector.py:51
↓ 1 callersMethodmin_length_reached
(self)
lada/datasetcreation/nsfw_scene_detector.py:79
↓ 1 callersMethodmin_max_filter
(data, window, mode)
lada/datasetcreation/nsfw_scene_detector.py:232
← previousnext →501–600 of 1,651, ranked by callers