Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Visionary-Laboratory/holi-spatial
/ functions
Functions
1,270 in github.com/Visionary-Laboratory/holi-spatial
⨍
Functions
1,270
◇
Types & classes
127
↓ 1 callers
Function
get_abs_pos
Calculate absolute positional embeddings. If needed, resize embeddings and remove cls_token dimension for the original embeddings. Ar
sam3/model/vitdet.py:175
↓ 1 callers
Function
get_annot_df
(file_path: str)
sam3/visualization_utils.py:655
↓ 1 callers
Method
get_calib_matrix_nerf
(self, scale=1.0)
PGSR/scene/cameras.py:186
↓ 1 callers
Function
get_center_and_diag
(cam_centers)
PGSR/scene/dataset_readers.py:49
↓ 1 callers
Function
get_clean_fn
(type: str)
sam3/model/tokenizer_ve.py:95
↓ 1 callers
Method
get_covariance
(self, scaling_modifier = 1)
PGSR/scene/gaussian_model.py:163
↓ 1 callers
Function
get_img_grad_weight
(img, beta=2.0)
PGSR/utils/loss_utils.py:92
↓ 1 callers
Method
get_inv_k
(self, scale=1.0)
PGSR/scene/cameras.py:207
↓ 1 callers
Method
get_k
(self, scale=1.0)
PGSR/scene/cameras.py:201
↓ 1 callers
Function
get_media_dir
(media_dir: str, dataset: str)
sam3/visualization_utils.py:680
↓ 1 callers
Function
get_network
(net_type: str)
PGSR/lpipsPyTorch/modules/networks.py:12
↓ 1 callers
Method
get_normal
(self, view_cam)
PGSR/scene/gaussian_model.py:153
↓ 1 callers
Method
get_num_layers
(self)
sam3/model/vitdet.py:878
↓ 1 callers
Method
get_points_depth_in_depth_map
(self, fov_camera, depth, points_in_camera_space, scale=1)
PGSR/scene/gaussian_model.py:524
↓ 1 callers
Method
get_points_from_depth
(self, fov_camera, depth, scale=1)
PGSR/scene/gaussian_model.py:547
↓ 1 callers
Method
get_reference_points
(spatial_shapes, valid_ratios, device)
sam3/model/encoder.py:301
↓ 1 callers
Method
get_rotation_matrix
(self)
PGSR/scene/gaussian_model.py:160
↓ 1 callers
Method
get_smallest_axis
(self, return_idx=False)
PGSR/scene/gaussian_model.py:145
↓ 1 callers
Function
get_state_dict
(net_type: str = 'alex', version: str = '0.1')
PGSR/lpipsPyTorch/modules/utils.py:11
↓ 1 callers
Function
get_thread_client
(vllm_api_url: str)
qa_generation/filter_qa_repeat_descriptions.py:205
↓ 1 callers
Function
get_valid_ratio
(mask)
sam3/model/model_misc.py:228
↓ 1 callers
Method
handle_request
Dispatch a request based on its type.
sam3/model/sam3_video_predictor.py:56
↓ 1 callers
Method
handle_request
Dispatch a request based on its type.
sam3/model/sam3_video_predictor.py:333
↓ 1 callers
Method
handle_stream_request
Dispatch a stream request based on its type.
sam3/model/sam3_video_predictor.py:89
↓ 1 callers
Method
handle_stream_request
Dispatch a stream request based on its type.
sam3/model/sam3_video_predictor.py:356
↓ 1 callers
Function
image_to_base64
将 PIL Image 转换为 base64 编码的字符串
classic_region.py:80
↓ 1 callers
Function
image_to_base64
将 PIL Image 转换为 base64 编码的字符串
classic_vllm.py:83
↓ 1 callers
Function
image_to_base64
(image: Image.Image)
qa_generation/filter_qa_repeat_descriptions.py:255
↓ 1 callers
Function
image_to_base64
(image: Image.Image)
qa_generation/generate_3d_instance_description.py:234
↓ 1 callers
Function
infer_depth_path
根据 scannetppv2 路径推断对应的 DptV3 depth_da3 npy 路径。 例: /.../scannetppv2/data/<scene>/dslr/resized_undistorted_images/IMG.JPG -> /.../DptV3
PGSR/scene/cameras.py:53
↓ 1 callers
Function
infer_depth_path_dense
根据 dense 路径推断对应的 depth_da3 npy 路径。 例: /.../dense/rgb/IMG.png -> /.../dense/depth_da3/IMG.npy
PGSR/scene/cameras.py:92
↓ 1 callers
Function
infer_depth_path_scannet
根据 scannet 路径推断对应的 depth_da3 npy 路径。 例: /.../scannet/scans_test/scene0707_00/color/00000.jpg -> /.../scannet/scans_test/scene0707_00/
PGSR/scene/cameras.py:103
↓ 1 callers
Function
infer_depth_path_scannetppv2
根据 scannetppv2 路径推断对应的 DptV3 depth_da3 npy 路径。 例: /.../scannetppv2/data/<scene>/dslr/resized_undistorted_images/IMG.JPG -> /.../DptV3
PGSR/scene/cameras.py:70
↓ 1 callers
Function
init_t_xy
( end_x: int, end_y: int, scale: float = 1.0, offset: int = 0 )
sam3/model/vitdet.py:32
↓ 1 callers
Function
init_t_xy
(end_x: int, end_y: int, scale: float = 1.0, offset: int = 0, device=None)
sam3/sam/rope.py:17
↓ 1 callers
Function
init_vllm_client
(api_base: str)
classic_region.py:29
↓ 1 callers
Function
init_vllm_client
(api_base: str)
classic_vllm.py:29
↓ 1 callers
Function
init_vllm_client
(vllm_api_url: str)
qa_generation/filter_qa_repeat_descriptions.py:195
↓ 1 callers
Function
init_vllm_client
(vllm_api_url: str)
qa_generation/generate_3d_instance_description.py:43
↓ 1 callers
Method
instance_masks
(self)
sam3/agent/helpers/visualizer.py:236
↓ 1 callers
Function
instance_to_json_corners
(corners: np.ndarray)
postprocess_3d_bbox_aabb.py:291
↓ 1 callers
Function
instance_to_json_transform
(center: np.ndarray, R: np.ndarray)
postprocess_3d_bbox_aabb.py:295
↓ 1 callers
Function
interpolate
Equivalent to nn.functional.interpolate, but with support for empty channel sizes.
sam3/model/data_misc.py:18
↓ 1 callers
Function
is_image_type
(resource_path: str)
sam3/model/sam3_video_inference.py:1706
↓ 1 callers
Function
is_optional_field
(field)
sam3/model/data_misc.py:170
↓ 1 callers
Function
iter_json_files
(input_dir: Path)
postprocess_3d_bbox_aabb.py:427
↓ 1 callers
Function
iter_scene_ids
()
qa_generation/generate_two_view_qa_region.py:1174
↓ 1 callers
Function
iter_scene_ids
()
qa_generation/generate_two_view_qa.py:807
↓ 1 callers
Function
lncc
(ref, nea)
PGSR/utils/loss_utils.py:106
↓ 1 callers
Function
loadCam
(args, id, cam_info, resolution_scale)
PGSR/utils/camera_utils.py:19
↓ 1 callers
Function
load_colmap_poses
从 COLMAP 数据中加载相机 pose 和内参 Args: colmap_dir: COLMAP sparse 重建目录路径 (例如: "proxy-gs/berlin/sparse/0") Returns: imag
inference_da3_scannetppv2.py:214
↓ 1 callers
Function
load_covisibility
Load the covisibility matrix; return None if missing or ambiguous.
qa_generation/generate_two_view_qa_region.py:140
↓ 1 callers
Function
load_covisibility
Load the covisibility matrix; return None if missing or ambiguous.
qa_generation/generate_two_view_qa.py:207
↓ 1 callers
Function
load_da3_depths
加载 da3 深度图,替代高斯渲染。 DA3 预处理会在 scene_dir / "depth_da3" 下保存每帧深度;兼容旧的 dense/depth_da3。
3d_bounding_instance_gs_rerun_da3.py:715
↓ 1 callers
Function
load_dl3dv_poses
(dl3dv_dir, images_folder='rgb')
inference_da3_scannetppv2.py:76
↓ 1 callers
Function
load_dummy_video
Load a dummy video with random frames for testing and compilation warmup purposes.
sam3/model/io_utils.py:319
↓ 1 callers
Function
load_gaussian_cfg
(model_path: Path)
3d_bounding_instance_gs_rerun_da3.py:683
↓ 1 callers
Function
load_gaussian_cfg
(model_path: Path)
3d_bounding_instance_gs_region.py:765
↓ 1 callers
Function
load_image_as_single_frame_video
Load an image as a single-frame video.
sam3/model/io_utils.py:93
↓ 1 callers
Function
load_json_any
(path: Path)
postprocess_3d_bbox_aabb.py:375
↓ 1 callers
Function
load_mesh_ply_to_torch
(ply_path, device="cuda:0")
PGSR/Mesh2DepthHelper/Mesh2DepthHelper.py:34
↓ 1 callers
Function
load_resource_as_video_frames
Load video frames from either a video or an image (as a single-frame video). Alternatively, if input is a list of PIL images, convert its for
sam3/model/io_utils.py:29
↓ 1 callers
Function
load_scannet_poses
从 ScanNet v2 格式场景中加载相机 pose 和内参。 目录结构示例: scannetv2/scans/scene0000_00/ color/ # RGB 图像 cam/ # 每帧一
inference_da3_scannetppv2.py:139
↓ 1 callers
Function
load_scannetppv2_poses
(scannet_dir, images_folder="resized_undistorted_images")
inference_da3_scannetppv2.py:14
↓ 1 callers
Function
load_scene_json
(json_path: Path)
sam3.py:38
↓ 1 callers
Function
load_transforms
读取 nerfstudio transforms_undistorted.json,返回 intr_map[stem] = 3x3 K c2w_map[stem] = 4x4 camera-to-world scene_type: str s
3d_bounding_instance_gs_rerun_da3.py:220
↓ 1 callers
Function
load_transforms
读取相机与图像路径,返回 intr_map[stem] = 3x3 K c2w_map[stem] = 4x4 camera-to-world scene_type: str(scannetppv2 / dl3dv / scannet) si
3d_bounding_instance_gs_region.py:221
↓ 1 callers
Function
load_transforms_dl3dv
Load intrinsics/extrinsics and frame list for a DL3DV scene.
qa_generation/generate_two_view_qa_region.py:94
↓ 1 callers
Function
load_transforms_dl3dv
Load intrinsics/extrinsics and frame list for a DL3DV scene.
qa_generation/generate_two_view_qa.py:90
↓ 1 callers
Function
load_transforms_scannetppv2
Load intrinsics/extrinsics and frame list for a scannetppv2 scene.
qa_generation/generate_two_view_qa_region.py:55
↓ 1 callers
Function
load_transforms_scannetppv2
Load intrinsics/extrinsics and frame list for a scannetppv2 scene.
qa_generation/generate_two_view_qa.py:51
↓ 1 callers
Function
load_transforms_scannetv2
Load intrinsics/extrinsics and frame list for a ScanNetV2 scene. Scene structure: data_root/scene_id/ with color, intrinsic, pose folders. E.g
qa_generation/generate_two_view_qa.py:136
↓ 1 callers
Function
load_video_frames
Load the video frames from video_path. The frames are resized to image_size as in the model and are loaded to GPU if offload_video_to_cpu=Fal
sam3/model/io_utils.py:116
↓ 1 callers
Function
load_video_frames
Load the video frames from video_path. The frames are resized to image_size as in the model and are loaded to GPU if offload_video_to_cpu=Fal
sam3/model/utils/sam2_utils.py:96
↓ 1 callers
Function
load_video_frames_from_image_folder
Load the video frames from a directory of image files ("<frame_index>.<img_ext>" format)
sam3/model/io_utils.py:158
↓ 1 callers
Function
load_video_frames_from_jpg_images
Load the video frames from a directory of JPEG files ("<frame_index>.jpg" format). The frames are resized to image_size x image_size and are
sam3/model/utils/sam2_utils.py:137
↓ 1 callers
Function
load_video_frames_from_video_file
Load the video frames from a video file.
sam3/model/io_utils.py:213
↓ 1 callers
Function
load_video_frames_from_video_file
Load the video frames from a video file.
sam3/model/utils/sam2_utils.py:204
↓ 1 callers
Function
load_video_frames_from_video_file_using_cv2
Load video from path, convert to normalized tensor with specified preprocessing Args: video_path: Path to video file image_s
sam3/model/io_utils.py:255
↓ 1 callers
Function
load_vlm_model
初始化 vLLM 服务客户端。 Args: api_url: vLLM 服务的 API 地址,默认为 DEFAULT_VLLM_API_URL Returns: api_url: 返回 API URL 字符串(保持接口兼容性)
3d_bounding_instance_gs_rerun_da3.py:73
↓ 1 callers
Function
load_vlm_model
初始化 vLLM 服务客户端。 Args: api_url: vLLM 服务的 API 地址,默认为 DEFAULT_VLLM_API_URL Returns: api_url: 返回 API URL 字符串(保持接口兼容性)
3d_bounding_instance_gs_region.py:73
↓ 1 callers
Method
load_weights
(self, model_path, iteration=-1)
PGSR/scene/app_model.py:23
↓ 1 callers
Method
locate_label_position
(self, original_position, added_positions, binary_mask)
sam3/agent/helpers/visualizer.py:986
↓ 1 callers
Function
log_rerun_scene
将点云与 3D bbox 发往 rerun 0.24.1 进行可视化。
3d_bounding_instance_gs_rerun_da3.py:920
↓ 1 callers
Function
log_rerun_scene
将点云与 3D bbox 发往 rerun 0.24.1 进行可视化。
3d_bounding_instance_gs_region.py:951
↓ 1 callers
Function
main
()
3d_bounding_instance_gs_rerun_da3.py:1560
↓ 1 callers
Function
main
()
postprocess_3d_bbox_aabb.py:466
↓ 1 callers
Function
main
()
3d_bounding_instance_gs_region.py:1591
↓ 1 callers
Function
main
()
classic_region.py:266
↓ 1 callers
Function
main
()
classic_vllm.py:260
↓ 1 callers
Function
main
()
sam3.py:278
↓ 1 callers
Function
main
()
qa_generation/filter_qa_repeat_descriptions.py:436
↓ 1 callers
Function
main
()
qa_generation/convert_qa_to_llamafactory.py:879
↓ 1 callers
Function
main
()
qa_generation/generate_3d_instance_description.py:517
↓ 1 callers
Function
main
()
qa_generation/generate_two_view_qa_region.py:1092
↓ 1 callers
Function
main
()
qa_generation/generate_two_view_qa.py:731
↓ 1 callers
Function
main
()
PGSR/mesh2mask.py:173
↓ 1 callers
Function
make_mcq_random_3_of_7
Randomly pick 3 distractors from remaining 7, but if yaw is close to the sector boundary, forbid the adjacent sector on that boundary sid
qa_generation/templates_object_relpos.py:263
↓ 1 callers
Function
mask_depth_to_points
将 mask 内像素 + 深度投影到世界坐标,返回 (N,3)。
3d_bounding_instance_gs_rerun_da3.py:470
↓ 1 callers
Function
mask_depth_to_points
将 mask 内像素 + 深度投影到世界坐标,返回 (N,3)。
3d_bounding_instance_gs_region.py:552
← previous
next →
601–700 of 1,270, ranked by callers