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
Method
list_scenes
List all scenes in the dataset.
embodiedscan/explorer.py:145
Method
load_data_list
Load annotations from an annotation file named as ``self.ann_file`` If the annotation file does not follow `OpenMMLab 2.0 format dataset
embodiedscan/datasets/mv_3dvg_dataset.py:230
Method
load_data_list
Load annotations from an annotation file named as ``self.ann_file`` If the annotation file does not follow `OpenMMLab 2.0 format dataset
embodiedscan/datasets/embodiedscan_dataset.py:317
Method
loss
Perform forward propagation and loss calculation of the detection head on the queries of the upstream network. Args: hidd
embodiedscan/models/dense_heads/grounding_head.py:606
Method
loss
Loss function.. Args: x (Tuple[Tensor]): Multi-level features. batch_data_samples (`SampleList`): Batch of data sampl
embodiedscan/models/dense_heads/imvoxel_occ_head.py:110
Method
loss
Perform forward propagation and loss calculation of the detection head on the features of the upstream network. Args: x (
embodiedscan/models/dense_heads/fcaf3d_head.py:208
Method
loss
Perform forward propagation and loss calculation of the detection head on the features of the upstream network. Args: x (
embodiedscan/models/dense_heads/fcaf3d_head.py:1022
Method
loss_by_feat_single
Loss function for outputs from a single decoder layer of a single feature level. Args: cls_scores (Tensor): Box score log
embodiedscan/models/dense_heads/grounding_head.py:686
Function
minmax_to_corner_2d
Convert minmax box to corners2d. Args: minmax_box (np.ndarray, shape=[N, dims]): minmax boxes. Returns: np.ndarray: 2d corne
embodiedscan/structures/ops/box_np_ops.py:384
Function
mono_cam_box2vis
This is a post-processing function on the bboxes from Mono-3D task. If we want to perform projection visualization, we need to: 1. rotate
embodiedscan/structures/bbox_3d/utils.py:371
Method
nearest_bev
Tensor: A tensor of 2D BEV box of each box without rotation.
embodiedscan/structures/bbox_3d/base_box3d.py:161
Function
new_func
Inner wrapper for the arguments.
embodiedscan/utils/array_converter.py:83
Method
new_point
Create a new point object with data. The new point and its tensor has the similar properties as self and self.tensor, respectively.
embodiedscan/structures/points/base_points.py:501
Method
nonempty
Find boxes that are non-empty. A box is considered empty if either of its side is no larger than threshold. Args:
embodiedscan/structures/bbox_3d/base_box3d.py:327
Method
num_base_anchors
int: Total number of base anchors in a feature grid.
embodiedscan/models/task_modules/anchor/anchor_3d_generator.py:81
Method
num_levels
int: Number of feature levels that the generator is applied to.
embodiedscan/models/task_modules/anchor/anchor_3d_generator.py:88
Method
points_in_boxes_all
Find all boxes in which each point is. Args: points (torch.Tensor): Points in shape (1, M, 3) or (M, 3), 3 dimens
embodiedscan/structures/bbox_3d/euler_depth_box3d.py:132
Method
points_in_boxes_part
Find the box in which each point is. Args: points (torch.Tensor): Points in shape (1, M, 3) or (M, 3), 3 dimensio
embodiedscan/structures/bbox_3d/euler_depth_box3d.py:100
Function
points_in_convex_polygon_jit
Check points is in 2d convex polygons. True when point in polygon. Args: points (np.ndarray): Input points with the shape of [num_points,
embodiedscan/structures/ops/box_np_ops.py:720
Function
points_in_rbbox
Check points in rotated bbox and return indices. Note: This function is for counterclockwise boxes. Args: points (np.ndarray
embodiedscan/structures/ops/box_np_ops.py:355
Method
pred_instances_3d
(self)
embodiedscan/utils/typing_config.py:26
Method
predict
Perform forward propagation and loss calculation of the detection head on the queries of the upstream network. Args: hidd
embodiedscan/models/dense_heads/grounding_head.py:469
Method
predict
Predict/Inference function. Args: x (Tuple[Tensor]): Multi-level features. batch_data_samples (`SampleList`): Batch o
embodiedscan/models/dense_heads/imvoxel_occ_head.py:90
Method
predict
Perform forward propagation of the 3D detection head and predict detection results on the features of the upstream network. Args:
embodiedscan/models/dense_heads/fcaf3d_head.py:238
Method
predict
Perform forward propagation of the 3D detection head and predict detection results on the features of the upstream network. Args:
embodiedscan/models/dense_heads/fcaf3d_head.py:1052
Method
process
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to
embodiedscan/eval/metrics/occupancy_metric.py:42
Method
process
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to
embodiedscan/eval/metrics/det_metric.py:47
Method
process
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to
embodiedscan/eval/metrics/det_metric.py:189
Method
process
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to
embodiedscan/eval/metrics/grounding_metric.py:49
Function
process_scene
Process single ScanNet scene. Extract RGB images, poses and camera intrinsics.
embodiedscan/converter/generate_image_scannet.py:166
Function
process_scene
Process single 3Rscan scene.
embodiedscan/converter/generate_image_3rscan.py:9
Function
rbbox2d_to_near_bbox
convert rotated bbox to nearest 'standing' or 'lying' bbox. Args: rbboxes (np.ndarray): Rotated bboxes with shape of (N, 5(x,
embodiedscan/structures/ops/box_np_ops.py:477
Method
remove_line
Removes this line from the visualizer.
embodiedscan/utils/line_mesh.py:115
Method
remove_line
Removes this line from the visualizer.
embodiedscan/visualization/line_mesh.py:115
Function
remove_outside_points
Remove points which are outside of image. Note: This function is for KITTI only. Args: points (np.ndarray, shape=[N, 3+dims]
embodiedscan/structures/ops/box_np_ops.py:565
Method
render_continuous_occupancy
Render occupancy with continuous ego-centric observations. Args: scene_name (str): Scene name. start_cam (str, option
embodiedscan/explorer.py:346
Method
render_occupancy
Render the occupancy annotation of a given scene. Args: scene_name (str): Scene name.
embodiedscan/explorer.py:450
Method
render_scene
Render a given scene with open3d. Args: scene_name (str): Scene name. render_box (bool): Whether to render the box in
embodiedscan/explorer.py:233
Method
rotate
Rotate boxes with points (optional) with the given angle or rotation matrix. Args: angle (float | torch.Tensor | np.ndarr
embodiedscan/structures/bbox_3d/euler_box3d.py:216
Method
rotate
Rotate boxes with points (optional) with the given angle or rotation matrix. Args: angle (Tensor or np.ndarray or float):
embodiedscan/structures/bbox_3d/base_box3d.py:205
Function
rotation_points_single_angle
Rotate points with a single angle. Args: points (np.ndarray, shape=[N, 3]]): angle (np.ndarray, shape=[1]]): axis (int, o
embodiedscan/structures/ops/box_np_ops.py:279
Method
save
Save the colormap to the output path. Args: out_file (str): Output path for saving the colormap.
embodiedscan/visualization/color_selector.py:893
Method
scale
Scale the box with horizontal and vertical scaling factors. Args: scale_factors (float): Scale factors to scale the boxes.
embodiedscan/structures/bbox_3d/euler_box3d.py:208
Method
scale
Scale the box with horizontal and vertical scaling factors. Args: scale_factors (float): Scale factors to scale the boxes.
embodiedscan/structures/bbox_3d/base_box3d.py:309
Method
scene_info
Show the info of the given scene. Args: scene_name (str): Scene name. Returns: dict or None: Dict of scene i
embodiedscan/explorer.py:210
Method
shape
torch.Size: Shape of points.
embodiedscan/structures/points/base_points.py:154
Method
shape
torch.Size: Shape of boxes.
embodiedscan/structures/bbox_3d/base_box3d.py:82
Method
top_height
Tensor: A vector with top height of each box in shape (N, ).
embodiedscan/structures/bbox_3d/base_box3d.py:107
Method
transform
Call function to flip points, values in the ``bbox3d_fields`` and also flip 2D image and its annotations. Args: input_dic
embodiedscan/datasets/transforms/augmentation.py:87
Method
transform
Private function to rotate, scale and translate bounding boxes and points. Args: input_dict (dict): Result dict from load
embodiedscan/datasets/transforms/augmentation.py:322
Method
transform
Function to load multiple types annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. Return
embodiedscan/datasets/transforms/loading.py:472
Method
transform
Call function to normalize color of points. Args: input_dict (dict): Result dict containing point clouds data. Returns:
embodiedscan/datasets/transforms/points.py:30
Method
transform
Transform function to filter points by the range. Args: input_dict (dict): Result dict from loading pipeline. Returns:
embodiedscan/datasets/transforms/points.py:246
Method
transform
Transform function. Args: results (dict): Result dict from loading pipeline. Returns: dict: output dict afte
embodiedscan/datasets/transforms/multiview.py:34
Method
transform
(self, results: dict)
embodiedscan/datasets/transforms/multiview.py:139
Method
transform
(self, results: dict)
embodiedscan/datasets/transforms/multiview.py:179
Method
transform
Method to pack the input data. when the value in this dict is a list, it usually is in Augmentations Testing. Args: resul
embodiedscan/datasets/transforms/formatting.py:87
Method
translate
Translate boxes with the given translation vector. Args: trans_vector (Tensor or np.ndarray): Translation vector of size
embodiedscan/structures/bbox_3d/base_box3d.py:248
Method
visualize_scene
Visualize the 3D scene with 3D boxes. Args: data_samples (list[:obj:`Det3DDataSample`]): The output of the model.
embodiedscan/visualizer/base_visualizer.py:72
Method
volume
Tensor: A vector with volume of each box in shape (N, ).
embodiedscan/structures/bbox_3d/base_box3d.py:87
Function
voxel_sample
Obtain image features using points. Args: voxel_features (Tensor): 1 x C x Nx x Ny x Nz voxel features. voxel_range (List[float])
embodiedscan/models/layers/fusion_layers/point_fusion.py:529
Function
weighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, ta
embodiedscan/models/losses/reduce_loss.py:68
Method
with_neck
Whether the detector has a 2D backbone.
embodiedscan/models/detectors/sparse_featfusion_single_stage.py:358
Method
with_neck
Whether the detector has a 2D backbone.
embodiedscan/models/detectors/dense_fusion_occ.py:111
Method
with_neck
Whether the detector has a 2D backbone.
embodiedscan/models/detectors/sparse_featfusion_grounder.py:119
Method
with_neck
Whether the detector has a 2D backbone.
embodiedscan/models/detectors/embodied_det3d.py:344
Method
with_neck
Whether the detector has a 2D backbone.
embodiedscan/models/detectors/embodied_occ.py:109
Method
with_neck_3d
Whether the detector has a 3D neck.
embodiedscan/models/detectors/sparse_featfusion_single_stage.py:363
Method
with_neck_3d
Whether the detector has a 3D neck.
embodiedscan/models/detectors/dense_fusion_occ.py:116
Method
with_neck_3d
Whether the detector has a 3D neck.
embodiedscan/models/detectors/sparse_featfusion_grounder.py:124
Method
with_neck_3d
Whether the detector has a 3D neck.
embodiedscan/models/detectors/embodied_det3d.py:349
Method
with_neck_3d
Whether the detector has a 3D neck.
embodiedscan/models/detectors/embodied_occ.py:114
Method
with_neck_lidar
Whether the detector has a 2D backbone.
embodiedscan/models/detectors/embodied_det3d.py:354
Function
wrapper
Args: pred (Tensor): The prediction. target (Tensor): Target bboxes. weight (Optional[Tensor], optional):
embodiedscan/models/losses/reduce_loss.py:100
Function
xywhr2xyxyr
Convert a rotated boxes in XYWHR format to XYXYR format. Args: boxes_xywhr (Tensor or np.ndarray): Rotated boxes in XYWHR format. Re
embodiedscan/structures/bbox_3d/utils.py:186
Method
yaw
Tensor: A vector with yaw of each box in shape (N, ).
embodiedscan/structures/bbox_3d/base_box3d.py:97
Function
yaw2local
Transform global yaw to local yaw (alpha in kitti) in camera coordinates, ranges from -pi to pi. Args: yaw (Tensor): A vector with lo
embodiedscan/structures/bbox_3d/utils.py:434
← previous
501–577 of 577, ranked by callers