Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternRobotics/EmbodiedScan
/ functions
Functions
577 in github.com/InternRobotics/EmbodiedScan
⨍
Functions
577
◇
Types & classes
81
↳
Endpoints
2
↓ 1 callers
Method
_focal_loss_cost
Args: cls_pred (Tensor): Predicted classification logits, shape (num_queries, num_class). gt_labels (
embodiedscan/models/losses/match_cost.py:217
↓ 1 callers
Method
_forward_single
Forward pass per level. Args: x (SparseTensor): Per level neck output tensor. Returns: tuple[Tensor]: Per le
embodiedscan/models/necks/mink_neck.py:187
↓ 1 callers
Method
_forward_single
Forward pass per level. Args: x (SparseTensor): Per level neck output tensor. scale (mmcv.cnn.Scale): Per level multi
embodiedscan/models/dense_heads/fcaf3d_head.py:302
↓ 1 callers
Method
_forward_single
Forward pass per level. Args: x (SparseTensor): Per level neck output tensor. scale (mmcv.cnn.Scale): Per level multi
embodiedscan/models/dense_heads/fcaf3d_head.py:1116
↓ 1 callers
Method
_get_axis_align_matrix
Get axis_align_matrix from info. If not exist, return identity mat. Args: info (dict): Info of a single sample data. Ret
embodiedscan/datasets/mv_3dvg_dataset.py:196
↓ 1 callers
Method
_get_axis_align_matrix
Get axis_align_matrix from info. If not exist, return identity mat. Args: info (dict): Info of a single sample data. Ret
embodiedscan/datasets/embodiedscan_dataset.py:263
↓ 1 callers
Method
_get_centerness
Compute point centerness w.r.t containing box. Args: face_distances (Tensor): Face distances of shape (B, N, 6),
embodiedscan/models/dense_heads/fcaf3d_head.py:659
↓ 1 callers
Method
_get_centerness
Compute point centerness w.r.t containing box. Args: face_distances (Tensor): Face distances of shape (B, N, 6),
embodiedscan/models/dense_heads/fcaf3d_head.py:1560
↓ 1 callers
Method
_get_face_distances
Calculate distances from point to box faces. Args: points (Tensor): Final locations of shape (N_points, N_boxes, 3).
embodiedscan/models/dense_heads/fcaf3d_head.py:627
↓ 1 callers
Method
_get_face_distances
Calculate distances from point to box faces. Args: points (Tensor): Final locations of shape (N_points, N_boxes, 3).
embodiedscan/models/dense_heads/fcaf3d_head.py:1528
↓ 1 callers
Method
_get_pad_shape
Get the pad_shape of each image based on data and pad_size_divisor.
embodiedscan/models/data_preprocessors/data_preprocessor.py:341
↓ 1 callers
Method
_ids2masks
Change visible_instance_ids to visible_instance_masks.
embodiedscan/datasets/embodiedscan_dataset.py:280
↓ 1 callers
Method
_init_layers
Initialize layers. Args: in_channels (tuple[int]): Number of channels in input tensors. out_channels (int): Number of
embodiedscan/models/necks/mink_neck.py:102
↓ 1 callers
Method
_init_layers
Initialize classification branch and regression branch of head.
embodiedscan/models/dense_heads/grounding_head.py:196
↓ 1 callers
Method
_init_layers
(self)
embodiedscan/models/dense_heads/imvoxel_occ_head.py:52
↓ 1 callers
Method
_init_layers
Initialize layers. Args: in_channels (tuple[int]): Number of channels in input tensors. out_channels (int): Number of
embodiedscan/models/dense_heads/fcaf3d_head.py:135
↓ 1 callers
Method
_init_layers
Initialize layers. Args: in_channels (tuple[int]): Number of channels in input tensors. out_channels (int): Number of
embodiedscan/models/dense_heads/fcaf3d_head.py:949
↓ 1 callers
Method
_init_layers
Initialize layers except for backbone, neck and bbox_head.
embodiedscan/models/detectors/sparse_featfusion_grounder.py:104
↓ 1 callers
Method
_init_layers
Initialize self_attn, cross-attn, ffn, and norms.
embodiedscan/models/layers/ground_transformer/decoder.py:89
↓ 1 callers
Method
_init_layers
Initialize decoder layers.
embodiedscan/models/layers/ground_transformer/decoder.py:210
↓ 1 callers
Method
_inside_box
Check if any points are in the box. Args: box (open3d.geometry.OrientedBoundingBox): Oriented Box. point (np.ndarray)
embodiedscan/visualization/img_drawer.py:150
↓ 1 callers
Method
_is_view_dep
Check whether to augment based on sr3d utterance.
embodiedscan/datasets/mv_3dvg_dataset.py:221
↓ 1 callers
Method
_load_attr_labels
Private function to load label annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. Returns
embodiedscan/datasets/transforms/loading.py:264
↓ 1 callers
Method
_load_bboxes_3d
Private function to move the 3D bounding box annotation from `ann_info` field to the root of `results`. Args: results (di
embodiedscan/datasets/transforms/loading.py:223
↓ 1 callers
Method
_load_bboxes_depth
Private function to load 2.5D bounding box annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`.
embodiedscan/datasets/transforms/loading.py:237
↓ 1 callers
Method
_load_depth_map
(self, results: dict)
embodiedscan/datasets/transforms/loading.py:276
↓ 1 callers
Method
_load_labels_3d
Private function to load label annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. Returns
embodiedscan/datasets/transforms/loading.py:251
↓ 1 callers
Method
_load_masks_3d
Private function to load 3D mask annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. Retur
embodiedscan/datasets/transforms/loading.py:302
↓ 1 callers
Method
_load_occupancy
Private function to move the 3D bounding box annotation from `ann_info` field to the root of `results`. Args: results (di
embodiedscan/datasets/transforms/loading.py:417
↓ 1 callers
Method
_load_panoptic_3d
Private function to load 3D panoptic segmentation annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset
embodiedscan/datasets/transforms/loading.py:362
↓ 1 callers
Method
_load_semantic_seg_3d
Private function to load 3D semantic segmentation annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset
embodiedscan/datasets/transforms/loading.py:328
↓ 1 callers
Method
_load_visible_instance_masks
Private function to move the 3D bounding box annotation from `ann_info` field to the root of `results`. Args: results (di
embodiedscan/datasets/transforms/loading.py:402
↓ 1 callers
Method
_load_visible_occupancy_masks
Private function to move the 3D bounding box annotation from `ann_info` field to the root of `results`. Args: results (di
embodiedscan/datasets/transforms/loading.py:431
↓ 1 callers
Method
_loss_by_feat_single
Loss function of single sample. Args: center_preds (list[Tensor]): Centerness predictions for all levels. bbox_preds
embodiedscan/models/dense_heads/fcaf3d_head.py:337
↓ 1 callers
Method
_loss_by_feat_single
Loss function of single sample. Args: center_preds (list[Tensor]): Centerness predictions for all levels. bbox_preds
embodiedscan/models/dense_heads/fcaf3d_head.py:1151
↓ 1 callers
Method
_make_block
Construct Conv-Norm-Act block. Args: in_channels (int): Number of input channels. out_channels (int): Number of outpu
embodiedscan/models/necks/mink_neck.py:61
↓ 1 callers
Method
_make_block
Make a convolutional block. Args: in_channels (int): Number of input channels. out_channels (int): Number of output c
embodiedscan/models/necks/imvoxel_neck.py:78
↓ 1 callers
Method
_make_block
Construct Conv-Norm-Act block. Args: in_channels (int): Number of input channels. out_channels (int): Number of outpu
embodiedscan/models/dense_heads/fcaf3d_head.py:94
↓ 1 callers
Method
_make_block
Construct Conv-Norm-Act block. Args: in_channels (int): Number of input channels. out_channels (int): Number of outpu
embodiedscan/models/dense_heads/fcaf3d_head.py:908
↓ 1 callers
Method
_make_conv_block
Construct DeConv-Norm-Act-Conv-Norm-Act block. Args: in_channels (int): Number of input channels. out_channels (int):
embodiedscan/models/necks/channel_mapper.py:68
↓ 1 callers
Method
_make_layer
Make a layer from several residual blocks. Args: stride (int): Stride of the first residual block. n_channels (int):
embodiedscan/models/necks/imvoxel_neck.py:57
↓ 1 callers
Method
_make_layer
Make single level of residual blocks. Args: block (BasicBlock | Bottleneck): Residual block class. planes (int): Numb
embodiedscan/models/backbones/mink_resnet.py:88
↓ 1 callers
Method
_make_up_block
Construct DeConv-Norm-Act-Conv-Norm-Act block. Args: in_channels (int): Number of input channels. out_channels (int):
embodiedscan/models/necks/mink_neck.py:79
↓ 1 callers
Method
_make_up_block
Make upsampling convolutional block. Args: in_channels (int): Number of input channels. out_channels (int): Number of
embodiedscan/models/necks/imvoxel_neck.py:93
↓ 1 callers
Method
_make_up_block
Construct DeConv-Norm-Act-Conv-Norm-Act block. Args: in_channels (int): Number of input channels. out_channels (int):
embodiedscan/models/dense_heads/fcaf3d_head.py:112
↓ 1 callers
Method
_make_up_block
Construct DeConv-Norm-Act-Conv-Norm-Act block. Args: in_channels (int): Number of input channels. out_channels (int):
embodiedscan/models/dense_heads/fcaf3d_head.py:926
↓ 1 callers
Method
_mask_focal_loss_cost
Args: cls_pred (Tensor): Predicted classification logits. in shape (num_queries, d1, ..., dn), dtype=torch.float3
embodiedscan/models/losses/match_cost.py:161
↓ 1 callers
Function
_points_in_convex_polygon_3d_jit
Args: points (np.ndarray): Input points with shape of (num_points, 3). polygon_surfaces (np.ndarray): Polygon surfaces with shape
embodiedscan/structures/ops/box_np_ops.py:654
↓ 1 callers
Method
_points_random_sampling
Points random sampling. Sample points to a certain number. Args: points (:obj:`BasePoints`): 3D Points. num_
embodiedscan/datasets/transforms/points.py:155
↓ 1 callers
Method
_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: cls_score (Tensor): Box score logits
embodiedscan/models/dense_heads/grounding_head.py:566
↓ 1 callers
Method
_predict_by_feat_single
Generate boxes for single sample. Args: center_preds (list[Tensor]): Centerness predictions for all levels. bbox_pred
embodiedscan/models/dense_heads/fcaf3d_head.py:461
↓ 1 callers
Method
_predict_by_feat_single
Generate boxes for single sample. Args: center_preds (list[Tensor]): Centerness predictions for all levels. bbox_pred
embodiedscan/models/dense_heads/fcaf3d_head.py:1352
↓ 1 callers
Method
_prune
Prunes the tensor by score thresholding. Args: x (SparseTensor): Tensor to be pruned. scores (SparseTensor): Scores f
embodiedscan/models/necks/mink_neck.py:162
↓ 1 callers
Method
_prune
Prunes the tensor by score thresholding. Args: x (SparseTensor): Tensor to be pruned. scores (SparseTensor): Scores f
embodiedscan/models/dense_heads/fcaf3d_head.py:277
↓ 1 callers
Method
_prune
Prunes the tensor by score thresholding. Args: x (SparseTensor): Tensor to be pruned. scores (SparseTensor): Scores f
embodiedscan/models/dense_heads/fcaf3d_head.py:1091
↓ 1 callers
Method
_random_scale
Private function to randomly set the scale factor. Args: input_dict (dict): Result dict from loading pipeline. Returns:
embodiedscan/datasets/transforms/augmentation.py:435
↓ 1 callers
Method
_rot_bbox_points
Private function to rotate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Return
embodiedscan/datasets/transforms/augmentation.py:369
↓ 1 callers
Method
_scale_bbox_points
Private function to scale bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Returns
embodiedscan/datasets/transforms/augmentation.py:409
↓ 1 callers
Method
_single_scene_multiclass_nms
Multi-class nms for a single scene. Args: bboxes (Tensor): Predicted boxes of shape (N_boxes, 6) or (N_boxes, 7).
embodiedscan/models/dense_heads/fcaf3d_head.py:765
↓ 1 callers
Method
_single_scene_multiclass_nms
Multi-class nms for a single scene. Args: bboxes (Tensor): Predicted boxes of shape (N_boxes, 6) or (N_boxes, 7).
embodiedscan/models/dense_heads/fcaf3d_head.py:1666
↓ 1 callers
Method
_trans_bbox_points
Private function to translate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Ret
embodiedscan/datasets/transforms/augmentation.py:350
↓ 1 callers
Method
_transform_lidar2cam
TODO.
embodiedscan/datasets/transforms/augmentation.py:230
↓ 1 callers
Method
_transform_lidar2cam
(self, input_dict: dict)
embodiedscan/datasets/transforms/augmentation.py:449
↓ 1 callers
Method
add_occupancy_to_data_sample
(self, data_samples: SampleList, pred)
embodiedscan/models/detectors/dense_fusion_occ.py:327
↓ 1 callers
Method
add_occupancy_to_data_sample
(self, data_samples: SampleList, pred)
embodiedscan/models/detectors/embodied_occ.py:315
↓ 1 callers
Method
add_pred_to_datasample
Convert results list to `Det3DDataSample`. Subclasses could override it to be compatible for some multi-modality 3D detectors.
embodiedscan/models/detectors/sparse_featfusion_single_stage.py:367
↓ 1 callers
Method
add_pred_to_datasample
Convert results list to `Det3DDataSample`. Subclasses could override it to be compatible for some multi-modality 3D detectors.
embodiedscan/models/detectors/embodied_det3d.py:358
↓ 1 callers
Function
align_vector_to_another
Aligns vector a to vector b with axis angle rotation.
embodiedscan/utils/line_mesh.py:24
↓ 1 callers
Function
align_vector_to_another
Aligns vector a to vector b with axis angle rotation.
embodiedscan/visualization/line_mesh.py:24
↓ 1 callers
Method
assign
Computes one-to-one matching based on the weighted costs. This method assign each query prediction to a ground truth or background. Th
embodiedscan/models/task_modules/assigners/hungarian_assigner.py:56
↓ 1 callers
Function
average_precision
Calculate average precision (for single or multiple scales). Args: recalls (np.ndarray): Recalls with shape of (num_scales, num_dets)
embodiedscan/eval/indoor_eval.py:8
↓ 1 callers
Function
axis_aligned_bbox_overlaps_3d
Calculate overlap between two set of axis aligned 3D bboxes. If ``is_aligned`` is ``False``, then calculate the overlaps between each bbox of
embodiedscan/structures/ops/iou3d_calculator.py:212
↓ 1 callers
Function
batch_points_cam2img
Project points in camera coordinates to image coordinates. Args: points_3d (torch.Tensor | np.ndarray): Points in shape (N, D, 3)
embodiedscan/structures/bbox_3d/utils.py:290
↓ 1 callers
Function
bbox_overlaps_3d
Calculate 3D IoU using cuda implementation. Note: This function calculates the IoU of 3D boxes based on their volumes. IoU calcul
embodiedscan/structures/ops/iou3d_calculator.py:150
↓ 1 callers
Function
bbox_overlaps_nearest_3d
Calculate nearest 3D IoU. Note: This function first finds the nearest 2D boxes in bird eye view (BEV), and then calculates the 2D
embodiedscan/structures/ops/iou3d_calculator.py:99
↓ 1 callers
Method
begin
Some preparations before starting the rendering.
embodiedscan/visualization/continuous_drawer.py:50
↓ 1 callers
Method
begin
Some preparations before starting the rendering.
embodiedscan/visualization/continuous_drawer.py:245
↓ 1 callers
Method
begin
Some preparations before starting the rendering.
embodiedscan/visualization/continuous_drawer.py:399
↓ 1 callers
Function
center_to_minmax_2d
Center to minmax. Args: centers (np.ndarray): Center points. dims (np.ndarray): Dimensions. origin (list or array or floa
embodiedscan/structures/ops/box_np_ops.py:458
↓ 1 callers
Method
collate_data
Copy data to the target device and perform normalization, padding and bgr2rgb conversion and stack based on ``BaseDataPreprocessor``.
embodiedscan/models/data_preprocessors/data_preprocessor.py:266
↓ 1 callers
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
embodiedscan/eval/metrics/occupancy_metric.py:64
↓ 1 callers
Method
compute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
embodiedscan/eval/metrics/det_metric.py:68
↓ 1 callers
Method
convert
Convert boxes or points from ``src`` mode to ``dst`` mode. Args: input (Sequence[float] or np.ndarray or Tensor or
embodiedscan/structures/bbox_3d/coord_3d_mode.py:68
↓ 1 callers
Method
convert_info_to_scan
(self)
embodiedscan/datasets/mv_3dvg_dataset.py:214
↓ 1 callers
Method
convert_to
Convert self to ``dst`` mode. Args: dst (int): The target Point mode. rt_mat (Tensor or np.ndarray, optional): The ro
embodiedscan/structures/points/base_points.py:287
↓ 1 callers
Method
convert_to_batch
Loss function about feature. Args: feats (list[list[Tensor]]): Feats for all scenes. The first list contains pred
embodiedscan/models/necks/mink_neck.py:215
↓ 1 callers
Function
corner_to_surfaces_3d
convert 3d box corners from corner function above to surfaces that normal vectors all direct to internal. Args: corners (np.ndarray):
embodiedscan/structures/ops/box_np_ops.py:333
↓ 1 callers
Function
corner_to_surfaces_3d_jit
Convert 3d box corners from corner function above to surfaces that normal vectors all direct to internal. Args: corners (np.ndarray):
embodiedscan/structures/ops/box_np_ops.py:256
↓ 1 callers
Method
cpu
Convert current boxes to cpu device. Returns: :obj:`BaseInstance3DBoxes`: A new boxes object on the cpu device.
embodiedscan/structures/bbox_3d/base_box3d.py:433
↓ 1 callers
Method
create_line_mesh
(self)
embodiedscan/utils/line_mesh.py:74
↓ 1 callers
Method
create_line_mesh
(self)
embodiedscan/visualization/line_mesh.py:74
↓ 1 callers
Method
create_positive_map
construct a map such that positive_map[i,j] = True if box i is associated to token j Args: tokenized: The tokenized input
embodiedscan/models/detectors/sparse_featfusion_grounder.py:570
↓ 1 callers
Method
decompress_color
Decompress the RGB image data.
embodiedscan/converter/generate_image_scannet.py:46
↓ 1 callers
Method
decompress_depth
Decompress the depth data.
embodiedscan/converter/generate_image_scannet.py:41
↓ 1 callers
Function
depth_to_points
Convert depth map to points. Args: depth (np.array, shape=[H, W]): Depth map which the row of [0~`trunc_pixel`] are truncated
embodiedscan/structures/ops/box_np_ops.py:123
↓ 1 callers
Method
draw_box3d
Draw 3D boxes on the image. Args: box (open3d.geometry.OrientedBoundingBox): Box to be drawn. color (tuple): Box colo
embodiedscan/visualization/img_drawer.py:81
↓ 1 callers
Method
draw_next
Render the next frame. Args: vis (open3d.visualization.VisualizerWithKeyCallback): Visualizer.
embodiedscan/visualization/continuous_drawer.py:99
↓ 1 callers
Method
draw_next
Render the next frame. Args: vis (open3d.visualization.VisualizerWithKeyCallback): Visualizer.
embodiedscan/visualization/continuous_drawer.py:295
↓ 1 callers
Method
draw_next
Render the next frame. Args: vis (open3d.visualization.VisualizerWithKeyCallback): Visualizer.
embodiedscan/visualization/continuous_drawer.py:479
↓ 1 callers
Method
draw_text
Draw the category text on the image. Args: text (str): Text to be drawn. font (cv2.FONT_TYPE): The font type to be us
embodiedscan/visualization/img_drawer.py:31
← previous
next →
101–200 of 577, ranked by callers