MCPcopy Create free account

hub / github.com/Visionary-Laboratory/holi-spatial / functions

Functions1,270 in github.com/Visionary-Laboratory/holi-spatial

↓ 1 callersFunctionsample2region_across
从图像对的两个图像中分别采样 region 对。
qa_generation/generate_two_view_qa_region.py:837
↓ 1 callersFunctionsample_object_region_across
从 image A 采样 object、从 image B 采样 region。
qa_generation/generate_two_view_qa_region.py:879
↓ 1 callersFunctionsample_one_point_from_error_center
Sample 1 random point (along with its label) from the center of each error region, that is, the point with the largest distance to the bounda
sam3/model/sam3_tracker_utils.py:136
↓ 1 callersFunctionsample_pairs
Sample k index pairs with covisibility above covis_threshold and both valid, without repeating images. Optional motion filters (if frames provide
qa_generation/generate_two_view_qa_region.py:338
↓ 1 callersFunctionsample_random_points_from_errors
Sample `num_pt` random points (along with their labels) independently from the error regions. Inputs: - gt_masks: [B, 1, H_im, W_im] mas
sam3/model/sam3_tracker_utils.py:86
↓ 1 callersFunctionsave_debug_messages
Save messages to debug jsonl file if debug is enabled
sam3/agent/agent_core.py:15
↓ 1 callersFunctionsave_json
(path: Path, obj: Any)
postprocess_3d_bbox_aabb.py:380
↓ 1 callersFunctionsave_mask
(mask: np.ndarray, path: Path)
sam3.py:132
↓ 1 callersMethodsave_ply
(self, path, mask=None)
PGSR/scene/gaussian_model.py:250
↓ 1 callersFunctionsave_pointcloud_ply
保存点云为 PLY 格式 Args: points: 点云坐标 (N, 3) colors: 点云颜色 (N, 3) filename: 输出文件名
inference_da3_scannetppv2.py:500
↓ 1 callersFunctionsave_scene_result
( scene_name: str, output_dir: Path, categories: Iterable[str], per_image: Dict[str, List[str]
classic_region.py:176
↓ 1 callersFunctionsave_scene_result
( scene_name: str, output_dir: Path, categories: Iterable[str], per_image: Dict[str, List[str]
classic_vllm.py:181
↓ 1 callersFunctionsave_scene_rrd
( scene_id: str, intrinsics: Dict[str, float], frames: List[FrameItem], images_dir: Path,
qa_generation/generate_two_view_qa_region.py:233
↓ 1 callersFunctionsave_scene_rrd
( scene_id: str, intrinsics: Dict[str, float], frames: List[FrameItem], images_dir: Path,
qa_generation/generate_two_view_qa.py:300
↓ 1 callersFunctionsearchForMaxIteration
(folder)
PGSR/scene/app_model.py:5
↓ 1 callersFunctionsearchForMaxIteration
(folder)
PGSR/utils/system_utils.py:26
↓ 1 callersFunctionselect_closest_cond_frames
Select up to `max_cond_frame_num` conditioning frames from `cond_frame_outputs` that are temporally closest to the current frame at `frame_id
sam3/model/sam3_tracker_utils.py:270
↓ 1 callersMethodsemantic_masks
(self)
sam3/agent/helpers/visualizer.py:228
↓ 1 callersMethodsetup_functions
(self)
PGSR/scene/gaussian_model.py:37
↓ 1 callersFunctionsetup_logger
()
classic_region.py:22
↓ 1 callersFunctionsetup_logger
()
classic_vllm.py:22
↓ 1 callersFunctionsetup_logger
()
sam3.py:25
↓ 1 callersFunctionsetup_seed
(seed)
PGSR/train.py:40
↓ 1 callersFunctionshape_logging_wrapper
Wraps a function and prints the shapes of all tensor inputs. Only prints when a new combination of shapes is seen. Thread-safe. Args
sam3/perflib/compile.py:53
↓ 1 callersFunctionshow_points
(coords, labels, ax, marker_size=375)
sam3/visualization_utils.py:909
↓ 1 callersMethodshutdown
Shutdown the predictor and clear all sessions.
sam3/model/sam3_video_predictor.py:285
↓ 1 callersFunctionslugify_label
(label: str)
sam3.py:32
↓ 1 callersFunctionssim
(img1, img2, window_size=11, size_average=True)
PGSR/utils/loss_utils.py:34
↓ 1 callersMethodstart_session
Start a new inference session on an image or a video. Here `resource_path` can be either a path to an image file (for image inference
sam3/model/sam3_video_predictor.py:102
↓ 1 callersFunctionstrip_lowerdiag
(L)
PGSR/utils/general_utils.py:66
↓ 1 callersFunctionstrip_symmetric
(sym)
PGSR/utils/general_utils.py:77
↓ 1 callersFunctiontext_global_pool
( x: torch.Tensor, text: Optional[torch.Tensor] = None, pool_type: str = "argmax" )
sam3/model/text_encoder_ve.py:148
↓ 1 callersMethodto
(self, device: torch.device, non_blocking: bool = False)
sam3/agent/helpers/rotated_boxes.py:256
↓ 1 callersMethodto_bitmasks
Args: see documentation of :func:`paste_masks_in_image`.
sam3/agent/helpers/masks.py:541
↓ 1 callersMethodto_hex
Convert a Color instance to a hex string. Args: color (Color): Color instance of color. Returns: Co
sam3/agent/helpers/som_utils.py:125
↓ 1 callersFunctiontraining
(dataset, opt, pipe, testing_iterations, saving_iterations, checkpoint_iterations, checkpoint, debug_from, ply
PGSR/train.py:91
↓ 1 callersFunctiontraining_report
(tb_writer, iteration, Ll1, loss, l1_loss, elapsed, testing_iterations, scene : Scene, renderFunc, renderArgs,
PGSR/train.py:472
↓ 1 callersFunctiontransformPoint4x3
PGSR/submodules/diff-plane-rasterization/cuda_rasterizer/auxiliary.h:58
↓ 1 callersFunctiontransformPoint4x4
PGSR/submodules/diff-plane-rasterization/cuda_rasterizer/auxiliary.h:68
↓ 1 callersMethodtransform_boxes
Expects a tensor of shape Bx4. The coordinates can be in absolute image or normalized coordinates, if the coords are in absolute imag
sam3/model/utils/sam1_utils.py:67
↓ 1 callersFunctionunion
(labels_ptr, a, b, process_mask)
sam3/perflib/triton/connected_components.py:75
↓ 1 callersMethodupdate_learning_rate
Learning rate scheduling per step
PGSR/scene/gaussian_model.py:228
↓ 1 callersMethodupdate_masklet_confirmation_status
( self, rank0_metadata: Dict[str, Any], obj_ids_all_gpu_prev: npt.NDArray, obj
sam3/model/sam3_video_base.py:1643
↓ 1 callersFunctionvalidate_images
Return a boolean mask for frames that have existing image files and are not marked bad.
qa_generation/generate_two_view_qa_region.py:324
↓ 1 callersFunctionvalidate_images
Return a boolean mask for frames that have existing image files and are not marked bad.
qa_generation/generate_two_view_qa.py:391
↓ 1 callersFunctionverify_label_with_vlm
使用 vLLM 服务验证标签是否正确。
3d_bounding_instance_gs_rerun_da3.py:107
↓ 1 callersFunctionverify_label_with_vlm
使用 vLLM 服务验证标签是否正确。
3d_bounding_instance_gs_region.py:107
↓ 1 callersFunctionwindow_partition
Partition into non-overlapping windows with padding if needed. Args: x (tensor): input tokens with [B, H, W, C]. window_size
sam3/model/vitdet.py:93
↓ 1 callersFunctionwindow_unpartition
Window unpartition into original sequences and removing padding. Args: x (tensor): input tokens with [B * num_windows, window_size, w
sam3/model/vitdet.py:116
↓ 1 callersMethodz_score
(self, x: torch.Tensor)
PGSR/lpipsPyTorch/modules/networks.py:50
FunctionBuild_Ply_Render_Camera_Parameters_colmap
(fx, fy, cx, cy, W, H, znear, zfar,R,T, device)
PGSR/Mesh2DepthHelper/Mesh2DepthHelper.py:176
FunctionBuild_Ply_Render_Camera_Parameters_default
(device)
PGSR/Mesh2DepthHelper/Mesh2DepthHelper.py:163
FunctionPYBIND11_MODULE
PGSR/submodules/diff-plane-rasterization/ext.cpp:15
FunctionPYBIND11_MODULE
PGSR/submodules/simple-knn/ext.cpp:15
Function_
(q, k, v, **kwargs)
sam3/perflib/fa3.py:21
Method__call__
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]]
sam3/model/tokenizer_ve.py:225
Method__call__
(self, x)
sam3/model/utils/sam1_utils.py:38
Method__enter__
(self)
sam3/model/model_misc.py:388
Method__exit__
(self, exc_type, exc_value, traceback)
sam3/model/model_misc.py:393
Method__exit__
(self, t, v, tb)
sam3/model/io_utils.py:482
Method__getitem__
Returns the item at the specified index. Args: index (int): The index of the item to return. Returns:
sam3/model/model_misc.py:354
Method__getitem__
(self, key: int)
sam3/model/io_utils.py:439
Method__getitem__
(self, index)
sam3/model/io_utils.py:666
Method__getitem__
Args: item: int, slice, or a BoolTensor Returns: Boxes: Create a new :class:`Boxes` by indexing. Th
sam3/agent/helpers/boxes.py:224
Method__getitem__
Create a new `Keypoints` by indexing on this `Keypoints`. The following usage are allowed: 1. `new_kpts = kpts[3]`: return
sam3/agent/helpers/keypoints.py:66
Method__getitem__
Returns: RotatedBoxes: Create a new :class:`RotatedBoxes` by indexing. The following usage are allowed: 1. `new
sam3/agent/helpers/rotated_boxes.py:346
Method__getitem__
Returns: BitMasks: Create a new :class:`BitMasks` by indexing. The following usage are allowed: 1. `new_masks =
sam3/agent/helpers/masks.py:125
Method__getitem__
Support indexing over the instances and return a `PolygonMasks` object. `item` can be: 1. An integer. It will return an obje
sam3/agent/helpers/masks.py:365
Method__getitem__
Returns: ROIMasks: Create a new :class:`ROIMasks` by indexing. The following usage are allowed: 1. `new_masks =
sam3/agent/helpers/masks.py:513
Method__getstate__
Remove a few attributes during pickling, so that this async video loader can be saved and loaded as a part of the model session.
sam3/model/io_utils.py:691
Method__init__
(self)
sam3/logger.py:17
Method__init__
Uses SAM-3 to calculate the image embedding for an image, and then allow repeated, efficient mask prediction given prompts.
sam3/model/sam1_task_predictor.py:23
Method__init__
( self, activation: str, d_model: int, dim_feedforward: int, dropout:
sam3/model/decoder.py:32
Method__init__
( self, d_model: int, frozen: bool, pos_enc_at_input: bool, layer,
sam3/model/decoder.py:615
Method__init__
( self, activation: str, cross_attention: nn.Module, d_model: int, dim
sam3/model/decoder.py:727
Method__init__
(self, cross_attention_first=False, *args: Any, **kwds: Any)
sam3/model/decoder.py:887
Method__init__
SimpleFPN neck a la ViTDet (From detectron2, very lightly adapted) It supports a "dual neck" setting, where we have two ident
sam3/model/necks.py:14
Method__init__
Args: kernel_size (Tuple): kernel size of the projection layer. stride (Tuple): stride of the projection layer.
sam3/model/vitdet.py:304
Method__init__
Args: dim (int): Number of input channels. num_heads (int): Number of attention heads. qkv_bias (bool: I
sam3/model/vitdet.py:342
Method__init__
Args: dim (int): Number of input channels. num_heads (int): Number of attention heads in each ViT block.
sam3/model/vitdet.py:521
Method__init__
( self, embed_dim=256, kernel_size=4, stride=4, padding=0, tot
sam3/model/memory.py:28
Method__init__
(self, layer, num_layers, dim=None, input_projection=False)
sam3/model/memory.py:141
Method__init__
( self, out_dim, mask_downsampler, fuser, position_encoding, i
sam3/model/memory.py:159
Method__init__
(self, d_model)
sam3/model/maskformer_segmentation.py:15
Method__init__
(self, hidden_dim, mask_dim)
sam3/model/maskformer_segmentation.py:24
Method__init__
( self, hidden_dim, upsampling_stages, use_encoder_inputs=False, aux_m
sam3/model/maskformer_segmentation.py:55
Method__init__
( self, hidden_dim, upsampling_stages, pixel_decoder, aux_masks=False,
sam3/model/maskformer_segmentation.py:225
Method__init__
( self, detector: nn.Module, tracker: nn.Module, # prob threshold for detectio
sam3/model/sam3_video_base.py:36
Method__init__
( self, mask_downsampler: nn.Module, position_encoding: nn.Module, )
sam3/model/geometry_encoders.py:420
Method__init__
( self, mask_downsampler: nn.Module, position_encoding: nn.Module, fuser: nn.M
sam3/model/geometry_encoders.py:443
Method__init__
( self, encode_boxes_as_points: bool, points_direct_project: bool, points_pool
sam3/model/geometry_encoders.py:502
Method__init__
(self, model, resolution=1008, device="cuda", confidence_threshold=0.5)
sam3/model/sam3_image_processor.py:17
Method__init__
Initialize the backbone combiner. :param visual: The vision backbone to use :param text: The text encoder to use
sam3/model/vl_combiner.py:24
Method__init__
( self, d_model, d_proj, prompt_mlp=None, clamp_logits=True, c
sam3/model/model_misc.py:38
Method__init__
( self, dim: int, init_values: Union[float, Tensor] = 1e-5, inplace: bool = Fa
sam3/model/model_misc.py:95
Method__init__
(self, num_channels: int, eps: float = 1e-6)
sam3/model/model_misc.py:110
Method__init__
( self, encoder, decoder, d_model: int, two_stage_type="none", # ["no
sam3/model/model_misc.py:125
Method__init__
( self, output: List[List[Dict]] = None, iter_mode: IterMode = IterMode.ALL_STEPS_PER_
sam3/model/model_misc.py:316
Method__init__
( self, model_output: "SAM3Output", iter_mode: "SAM3Output.IterMode" )
sam3/model/model_misc.py:380
Method__init__
( self, d_model: int, n_head: int, mlp_ratio: float = 4.0, ls_init_val
sam3/model/text_encoder_ve.py:14
← previousnext →801–900 of 1,270, ranked by callers