MCPcopy Index your code

hub / github.com/ladaapp/lada / functions

Functions1,651 in github.com/ladaapp/lada

↓ 90 callersMethodget
(self, block=True, timeout=None)
lada/utils/threading_utils.py:60
↓ 45 callersMethodinfo
(self, verbose=False, img_size=640)
lada/models/bpjdet/models/yolo.py:238
↓ 38 callersMethodsplit
Split a sequence of data sample in the first dimension. Args: allow_nonseq_value (bool): Whether allow non-sequential data in
lada/models/basicvsrpp/mmagic/data_sample.py:323
↓ 35 callersMethodstack
Stack a list of data samples to one. All tensor fields will be stacked at first dimension. Otherwise the values will be saved in a lis
lada/models/basicvsrpp/mmagic/data_sample.py:277
↓ 34 callersMethodpop
(self)
lada/restorationpipeline/mosaic_detector.py:139
↓ 31 callersMethodsave
(self)
lada/gui/config/config.py:316
↓ 27 callersMethodadd
(self, group_key, action_key, keyboard_trigger, action, action_title)
lada/gui/shortcuts.py:12
↓ 26 callersMethodclone
(self)
lada/utils/video_utils.py:283
↓ 23 callersMethodput
(self, item, block=True, timeout=None)
lada/utils/threading_utils.py:54
↓ 20 callersMethodset_text
(self, text: str)
lada/gui/watch/seek_preview_popover.py:25
↓ 19 callersMethod__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
lada/models/bpjdet/models/common.py:128
↓ 19 callersMethodadd_scalar
Record the scalar data to Pavi. Args: name (str): The scalar identifier. value (int, float, torch.Tensor, np.ndarray)
lada/models/basicvsrpp/mmagic/vis_backend.py:115
↓ 18 callersMethodbuild
(self)
lada/gui/frame_restorer_provider.py:83
↓ 18 callersMethodrepeat
(x, k=2)
lada/utils/jpeg_utils.py:388
↓ 17 callersMethodset_spinner_visible
(self, value: bool)
lada/gui/export/spinner_button.py:52
↓ 16 callersMethodstart
(self, start_ns=0)
lada/gui/frame_restorer_provider.py:172
↓ 15 callersMethoddevice
(self)
lada/gui/config/config.py:140
↓ 14 callersMethod__init__
(self)
lada/utils/jpeg_utils.py:159
↓ 14 callersMethodwrite
(self, frame, frame_pts=None, bgr2rgb=False)
lada/utils/video_utils.py:443
↓ 13 callersMethod__init__
( self, embed_dim: int, # vision image_resolution: int, vision_layers:
lada/models/dover/models/xclip_backbone.py:178
↓ 13 callersMethodtrain
Convert the model into training mode while keep layers freezed.
lada/models/dover/models/backbone_v0_1.py:863
↓ 12 callersMethod__init__
(self, kernel_range: list[int], kernel_list: list[str], kernel_prob: list[float], sinc_prob: float, blur_sigma
lada/utils/transforms.py:22
↓ 12 callersMethodopen
(self)
lada/utils/video_utils.py:548
↓ 12 callersMethodupdate
(self)
lada/cli/utils.py:207
↓ 11 callersMethodtolist
(self)
lada/models/bpjdet/models/common.py:389
↓ 10 callersMethodinit
(self, shortcut_controller: Gtk.ShortcutController)
lada/gui/shortcuts.py:20
↓ 9 callersMethod__init__
(self, dim)
lada/models/dover/models/conv_backbone.py:14
↓ 8 callersMethod__init__
(self, window_size = 11, size_average = True)
lada/models/deepmosaics/models/model_util.py:440
↓ 8 callersFunctionbox_overlap
(box1: Box, box2: Box)
lada/utils/box_utils.py:8
↓ 8 callersMethodget_boxes
(self)
lada/datasetcreation/nsfw_scene_detector.py:124
↓ 8 callersMethodrelease
(self)
lada/utils/video_utils.py:464
↓ 7 callersMethod__init__
(self, pretrained)
lada/models/basicvsrpp/mmagic/basicvsr_plusplus_net.py:383
↓ 7 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None, act_laye
lada/models/dover/models/swin_backbone.py:71
↓ 7 callersMethoddecode
(self, heatmap, scale, offset, landmark, size, threshold=0.1)
lada/models/centerface/centerface.py:125
↓ 7 callersMethodget
(self)
lada/gui/frame_restorer_provider.py:100
↓ 7 callersMethodget_images
(self)
lada/datasetcreation/nsfw_scene_detector.py:118
↓ 7 callersMethodpresent
(self, parent)
lada/gui/config/encoding_preset_dialog.py:108
↓ 7 callersMethodupdate_export_buttons
(self)
lada/gui/export/export_view.py:137
↓ 6 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None, act_laye
lada/models/dover/models/backbone_v0_1.py:20
↓ 6 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None, act_laye
lada/models/dover/models/backbone_get_attention.py:59
↓ 6 callersMethod__init__
(self, N=2, n_downsampling=3, n_blocks=4, input_nc=3, output_nc=3,activation=nn.LeakyReLU(0.2))
lada/models/deepmosaics/models/BVDNet.py:60
↓ 6 callersFunction_check_keys
Check whether target `key` is in the `sample_kwargs`.
lada/models/basicvsrpp/mmagic/sampler.py:13
↓ 6 callersFunctionconvert_color_factory
(src: str, dst: str)
lada/models/basicvsrpp/mmagic/colorspace.py:281
↓ 6 callersMethodget_default_value
(self, key)
lada/gui/config/config.py:411
↓ 6 callersMethodgrab_focus
(self)
lada/gui/watch/watch_view.py:579
↓ 6 callersFunctionpad_image
(img: Image | ImageTensor, max_height, max_width, mode='zero')
lada/utils/image_utils.py:32
↓ 6 callersMethodsave
(self, output_dir, scene, mosaic, save_as_images, save_flat, target_fps, io_executor)
lada/datasetcreation/nsfw_scene_processor.py:327
↓ 6 callersMethodset_label
(self, label: str)
lada/gui/export/spinner_button.py:46
↓ 6 callersFunctiontime_sync
()
lada/models/bpjdet/utils/torch_utils.py:35
↓ 6 callersMethodupdate
(self)
scripts/evaluation/view-yolo.py:56
↓ 6 callersFunctionwait_until_completed
(futures: list[concurrent_futures.Future])
lada/utils/threading_utils.py:125
↓ 5 callersMethod_do_conversion
Conduct channel order conversion for *a batch of inputs*, and return the converted inputs and order after conversion. inputs_order:
lada/models/basicvsrpp/mmagic/data_preprocessor.py:287
↓ 5 callersFunction_dump_table
(table)
lada/cli/utils.py:80
↓ 5 callersFunction_format_duration
(duration_s)
lada/gui/export/export_utils.py:15
↓ 5 callersMethodclose
(self)
lada/utils/video_utils.py:554
↓ 5 callersMethoddetect
(self, source: str | Image)
lada/datasetcreation/detectors/face_detector.py:68
↓ 5 callersMethodevaluate
Predict method to process video and output scores
lada/models/dover/evaluate.py:47
↓ 5 callersMethodget_detection_models
()
lada/__init__.py:144
↓ 5 callersMethodmedian_filter
(data, window=11)
lada/datasetcreation/nsfw_scene_detector.py:207
↓ 5 callersMethodpause
(self)
lada/gui/watch/gstreamer_pipeline_manager.py:95
↓ 5 callersMethodplay
()
lada/gui/watch/watch_view.py:549
↓ 5 callersFunctionread_video_frames
(path: str, float32: bool = True, start_idx: int = 0, end_idx: int | None = None, normalize_neg1_pos1 = False,
lada/utils/video_utils.py:30
↓ 5 callersMethodset_revealed
(self, value: bool)
lada/gui/config/no_gpu_banner.py:43
↓ 4 callersMethod__init__
(self, loss_weight: float = 1.0, reduction: str = 'mean', s
lada/models/basicvsrpp/mmagic/pixelwise_loss.py:86
↓ 4 callersFunction_convert_input_type_range
Convert the type and range of the input image. It converts the input image to np.float32 type and range of [0, 1]. It is mainly used for pre-
lada/models/basicvsrpp/mmagic/colorspace.py:89
↓ 4 callersFunction_convert_output_type_range
Convert the type and range of the image according to dst_type. It converts the image to desired type and range. If `dst_type` is np.uint8, im
lada/models/basicvsrpp/mmagic/colorspace.py:117
↓ 4 callersMethod_do_norm
(self, inputs: Tensor, do_norm: Optional[bool] = None)
lada/models/basicvsrpp/mmagic/data_preprocessor.py:332
↓ 4 callersMethod_get_io_path
(self, output_dir:pathlib.Path, scene_type: Literal['cropped_scaled', 'cropped_unscaled', 'uncropped'], scene:
lada/datasetcreation/nsfw_scene_processor.py:252
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, norm_layer=None)
lada/models/deepmosaics/models/model_util.py:262
↓ 4 callersMethodadd_datasample
Concatenate image and draw. Args: input (torch.Tensor): Single input tensor from data_batch. data_sample (DataSample)
lada/models/basicvsrpp/mmagic/concat_visualizer.py:59
↓ 4 callersFunctionadd_if_not_present
(class_name)
lada/gui/utils.py:70
↓ 4 callersMethodadd_image
Record the image to Pavi. Args: name (str): The image identifier. image (np.ndarray): The image to be saved. The form
lada/models/basicvsrpp/mmagic/vis_backend.py:97
↓ 4 callersFunctionclean_up_completed_futures
(completed_futures)
lada/utils/threading_utils.py:129
↓ 4 callersFunctioncreate_mosaic_img
()
lada/utils/mosaic_utils.py:288
↓ 4 callersMethoddetect_batch
(self, images:list[Image], boxes:Optional[list[Box]]=None)
lada/datasetcreation/detectors/mosaic_detector.py:20
↓ 4 callersFunctionfilter2D
PyTorch version of cv2.filter2D Args: img (Tensor): (b, c, h, w) kernel (Tensor): (b, k, k)
lada/utils/image_utils.py:255
↓ 4 callersFunctionflow_warp
Warp an image or a feature map with optical flow. Args: x (Tensor): Tensor with size (n, c, h, w). flow (Tensor): Tensor with siz
lada/models/basicvsrpp/mmagic/flow_warp.py:9
↓ 4 callersMethodget_next_queued_item_idx
(self)
lada/gui/export/export_view.py:259
↓ 4 callersMethodget_restoration_models
()
lada/__init__.py:149
↓ 4 callersMethodget_restored_file_path
(self, original_file: Gio.File, output_dir: str)
lada/gui/export/export_view.py:570
↓ 4 callersMethodget_time_label_text
(self, time_ns)
lada/gui/watch/watch_view.py:627
↓ 4 callersFunctionget_video_meta_data
(path: str)
lada/utils/video_utils.py:141
↓ 4 callersFunctionimg_transform
Image transform. Ref: https://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio Args: img (np.ndarray): Images with range [0, 255].
lada/models/basicvsrpp/mmagic/metrics_utils.py:77
↓ 4 callersMethodinit_sidebar_from_config
(self, config: Config)
lada/gui/config/config_sidebar.py:70
↓ 4 callersFunctionis_evaluator
Check whether the input is a valid evaluator config or Evaluator object. Args: evaluator (Any): The input to check. Returns:
lada/models/basicvsrpp/mmagic/loop_utils.py:54
↓ 4 callersFunctionmake_divisible
(x, divisor)
lada/models/bpjdet/utils/general.py:72
↓ 4 callersMethodplay_file
(self, idx)
lada/gui/watch/watch_view.py:472
↓ 4 callersFunctionregister_all_modules
()
lada/models/basicvsrpp/__init__.py:4
↓ 4 callersFunctionscale_coords
(img1_shape, coords, img0_shape, ratio_pad=None)
lada/models/bpjdet/utils/general.py:265
↓ 4 callersMethodshow
(self)
lada/models/bpjdet/models/common.py:373
↓ 4 callersFunctionupdate_and_check_evaluator
Check the whether the evaluator instance or dict config is Evaluator. If input is a dict config, attempt to set evaluator type as Evaluator and
lada/models/basicvsrpp/mmagic/loop_utils.py:14
↓ 4 callersMethodupdate_custom_command_visibility
(self, action: PostExportAction)
lada/gui/config/config_sidebar.py:540
↓ 4 callersMethodupsample
Compute the output image given the features. Args: lqs (tensor): Input low quality (LQ) sequence with shape (n, t
lada/models/basicvsrpp/mmagic/basicvsr_plusplus_net.py:189
↓ 4 callersFunctionwindow_partition
Args: x: (B, D, H, W, C) window_size (tuple[int]): window size Returns: windows: (B*num_windows, window_size*window_
lada/models/dover/models/backbone_get_attention.py:84
↓ 4 callersFunctionwindow_partition
Args: x: (B, D, H, W, C) window_size (tuple[int]): window size Returns: windows: (B*num_windows, window_size*window_
lada/models/dover/models/swin_backbone.py:96
↓ 3 callersMethod__init__
(self, gan_type: str, real_label_val: float = 1.0, fake_lab
lada/models/basicvsrpp/mmagic/gan_loss.py:33
↓ 3 callersMethod__init__
( self, backbone_size="divided", backbone_preserve_keys="fragments,resize", mu
lada/models/dover/models/evaluator.py:48
↓ 3 callersFunction_assert_ndim
(input, name, ndim, shape_hint)
lada/models/basicvsrpp/mmagic/metrics_utils.py:12
↓ 3 callersMethod_call_dbus_method
(self, service_name, object_path, interface_name, method_name, parameters=None)
lada/gui/export/shutdown_manager.py:15
↓ 3 callersMethod_cancel_timer
(self)
lada/gui/watch/overlay_elements_controller.py:95
next →1–100 of 1,651, ranked by callers