MCPcopy Create free account

hub / github.com/InternRobotics/EmbodiedScan / functions

Functions577 in github.com/InternRobotics/EmbodiedScan

↓ 1 callersFunctioneval_det_cls
Generic functions to compute precision/recall for object detection for a single class. Args: pred (dict): Predictions mapping from im
embodiedscan/eval/indoor_eval.py:56
↓ 1 callersFunctioneval_map_recall
Evaluate mAP and recall. Generic functions to compute precision/recall for object detection for multiple classes. Args: pred
embodiedscan/eval/indoor_eval.py:185
↓ 1 callersMethodexport_color_images
Export RGB images to the output path.
embodiedscan/converter/generate_image_scannet.py:118
↓ 1 callersMethodexport_depth_images
Export depth images to the output path.
embodiedscan/converter/generate_image_scannet.py:105
↓ 1 callersMethodexport_depth_intrinsics
Export the depth intrinsic matrix to the output path.
embodiedscan/converter/generate_image_scannet.py:158
↓ 1 callersMethodexport_intrinsics
Export the intrinsic matrix to the output path.
embodiedscan/converter/generate_image_scannet.py:151
↓ 1 callersMethodexport_poses
Export camera poses to the output path.
embodiedscan/converter/generate_image_scannet.py:141
↓ 1 callersFunctionextract_occupancy
Extract occupancy annotations of a single dataset to dataset root.
embodiedscan/converter/extract_occupancy_ann.py:8
↓ 1 callersMethodforward
The unified entry for a forward process in both training and test. The method should accept three modes: "tensor", "predict" and "loss":
embodiedscan/models/detectors/sparse_featfusion_single_stage.py:282
↓ 1 callersMethodforward
The unified entry for a forward process in both training and test. The method should accept three modes: "tensor", "predict" and "loss":
embodiedscan/models/detectors/dense_fusion_occ.py:358
↓ 1 callersMethodforward
The unified entry for a forward process in both training and test. The method should accept three modes: "tensor", "predict" and "loss":
embodiedscan/models/detectors/sparse_featfusion_grounder.py:632
↓ 1 callersMethodforward
The unified entry for a forward process in both training and test. The method should accept three modes: "tensor", "predict" and "loss":
embodiedscan/models/detectors/embodied_det3d.py:268
↓ 1 callersMethodforward
The unified entry for a forward process in both training and test. The method should accept three modes: "tensor", "predict" and "loss":
embodiedscan/models/detectors/embodied_occ.py:346
↓ 1 callersMethodforward_decoder
Forward with Transformer decoder. The forward procedure of the transformer is defined as: 'pre_transformer' -> 'encoder' -> 'pre_deco
embodiedscan/models/detectors/sparse_featfusion_grounder.py:408
↓ 1 callersFunctionfrom_depth_to_point
(rgb, depth, mask, intrinsic, depth_intrinsic, extrinsic)
embodiedscan/visualization/utils.py:9
↓ 1 callersFunctiongen_packages_items
()
setup.py:62
↓ 1 callersFunctionget_frustum
Get frustum corners in camera coordinates. Args: bbox_image (list[int]): box in image coordinates. C (np.ndarray): Intrinsics.
embodiedscan/structures/ops/box_np_ops.py:596
↓ 1 callersMethodget_ply
Get the path of the ply file.
embodiedscan/visualizer/base_visualizer.py:52
↓ 1 callersMethodget_root_dir
Get the root directory of the dataset.
embodiedscan/visualizer/base_visualizer.py:41
↓ 1 callersMethodget_targets
Compute regression and classification targets for a batch image. Outputs from a single decoder layer of a single feature level are used.
embodiedscan/models/dense_heads/grounding_head.py:226
↓ 1 callersMethodget_targets
Compute targets for final locations for a single scene. Args: points (list[Tensor]): Final locations for all levels.
embodiedscan/models/dense_heads/fcaf3d_head.py:678
↓ 1 callersMethodget_targets
Compute targets for final locations for a single scene. Args: points (list[Tensor]): Final locations for all levels.
embodiedscan/models/dense_heads/fcaf3d_head.py:1579
↓ 1 callersMethodget_voxel_seg
Get voxel-wise segmentation label and point2voxel map. Args: res_coors (Tensor): The voxel coordinates of points, Nx3.
embodiedscan/models/data_preprocessors/data_preprocessor.py:510
↓ 1 callersFunctionground_eval
(gt_annos, det_annos, iou_thr)
tools/eval_script_portable.py:278
↓ 1 callersFunctionground_eval
(gt_annos, det_annos, iou_thr)
tools/eval_script.py:26
↓ 1 callersMethodground_eval
(self, gt_annos, det_annos, logger=None)
embodiedscan/eval/metrics/grounding_metric.py:70
↓ 1 callersMethodin_range_3d
Check whether the points are in the given range. Args: point_range (Tensor or np.ndarray or Sequence[float]): The range of
embodiedscan/structures/points/base_points.py:236
↓ 1 callersFunctionindoor_eval
Indoor Evaluation. Evaluate the result of the detection. Args: gt_annos (list[dict]): Ground truth annotations. dt_annos (li
embodiedscan/eval/indoor_eval.py:224
↓ 1 callersFunctioninit_model
Initialize a model from config file, which could be a 3D detector or a 3D segmentor. Args: config (str, :obj:`Path`, or :obj:`mmengin
demo/demo.py:22
↓ 1 callersFunctioninstall_package
(line)
install.py:74
↓ 1 callersMethodlines_from_ordered_points
(points)
embodiedscan/utils/line_mesh.py:70
↓ 1 callersMethodlines_from_ordered_points
(points)
embodiedscan/visualization/line_mesh.py:70
↓ 1 callersMethodload
Load a single scene data with multiple RGBD frames.
embodiedscan/converter/generate_image_scannet.py:62
↓ 1 callersMethodload_language_data
(self)
embodiedscan/datasets/mv_3dvg_dataset.py:287
↓ 1 callersMethodloss
Calculate losses from a batch of inputs dict and data samples. Args: batch_inputs_dict (dict): The model input dict which include
embodiedscan/models/detectors/sparse_featfusion_single_stage.py:223
↓ 1 callersMethodloss
Calculate losses from a batch of inputs and data samples. Args: batch_inputs_dict (dict): The model input dict which include
embodiedscan/models/detectors/dense_fusion_occ.py:261
↓ 1 callersMethodloss
Calculate losses from a batch of inputs dict and data samples. Args: batch_inputs_dict (dict): The model input dict which include
embodiedscan/models/detectors/sparse_featfusion_grounder.py:449
↓ 1 callersMethodloss
Calculate losses from a batch of inputs dict and data samples. Args: batch_inputs_dict (dict): The model input dict which include
embodiedscan/models/detectors/embodied_det3d.py:209
↓ 1 callersMethodloss
Calculate losses from a batch of inputs and data samples. Args: batch_inputs_dict (dict): The model input dict which include
embodiedscan/models/detectors/embodied_occ.py:249
↓ 1 callersMethodloss_by_feat
Loss function. Args: all_layers_cls_scores (Tensor): Classification scores of all decoder layers, has shape (num_
embodiedscan/models/dense_heads/grounding_head.py:640
↓ 1 callersMethodloss_by_feat
Loss function about feature. Args: center_preds (list[list[Tensor]]): Centerness predictions for all scenes. The
embodiedscan/models/dense_heads/fcaf3d_head.py:407
↓ 1 callersMethodloss_by_feat
Loss function about feature. Args: center_preds (list[list[Tensor]]): Centerness predictions for all scenes. The
embodiedscan/models/dense_heads/fcaf3d_head.py:1296
↓ 1 callersFunctionmain
()
tools/eval_script_portable.py:362
↓ 1 callersFunctionmain
()
tools/train.py:60
↓ 1 callersFunctionmain
()
tools/test.py:105
↓ 1 callersFunctionmain
()
tools/eval_script.py:110
↓ 1 callersFunctionmain
()
embodiedscan/utils/line_mesh.py:123
↓ 1 callersFunctionmain
()
embodiedscan/visualization/line_mesh.py:123
↓ 1 callersFunctionmain
(args)
demo/demo.py:133
↓ 1 callersFunctionmmcv_links
()
install.py:56
↓ 1 callersFunctionmultiview_img_stack_batch
Compared to the ``stack_batch`` in `mmengine.model.utils`, multiview_img_stack_batch further handle the multiview images. See diff of padded_
embodiedscan/models/data_preprocessors/utils.py:9
↓ 1 callersFunctionnms_filter
Non-Maximum Suppression for 3D Euler boxes. Additionally, only the top-k boxes will be kept for each category to avoid redundant boxes in the
embodiedscan/visualization/utils.py:79
↓ 1 callersFunctionnms_filter
Non-Maximum Suppression for 3D Euler boxes. Additionally, only the top-k boxes will be kept for each category to avoid redundant boxes in the
demo/demo.py:84
↓ 1 callersFunctionnormalized
Normalizes a numpy array of points.
embodiedscan/utils/line_mesh.py:35
↓ 1 callersFunctionnormalized
Normalizes a numpy array of points.
embodiedscan/visualization/line_mesh.py:35
↓ 1 callersMethodobtain_mlvl_feats
Obtain multi-level features for each point. Args: img_feats (List[Tensor]): Multi-scale image features produced b
embodiedscan/models/layers/fusion_layers/point_fusion.py:458
↓ 1 callersFunctionparse_args
()
tools/eval_script_portable.py:263
↓ 1 callersFunctionparse_args
()
tools/train.py:13
↓ 1 callersFunctionparse_args
()
tools/test.py:14
↓ 1 callersFunctionparse_args
()
tools/eval_script.py:11
↓ 1 callersMethodparse_data_info
Process the raw data info. The only difference with it in `Det3DDataset` is the specific process for `axis_align_matrix'. Ar
embodiedscan/datasets/mv_3dvg_dataset.py:407
↓ 1 callersMethodparse_data_info
Process the raw data info. The only difference with it in `Det3DDataset` is the specific process for `axis_align_matrix'. Ar
embodiedscan/datasets/embodiedscan_dataset.py:93
↓ 1 callersFunctionparse_line
Parse information from a line in a requirements text file.
setup.py:23
↓ 1 callersMethodpre_decoder
( self, feats_list: List[Tensor], scores_list: List[Tensor], xyz_list: List[Te
embodiedscan/models/detectors/sparse_featfusion_grounder.py:324
↓ 1 callersMethodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs_dict (dict): The model
embodiedscan/models/detectors/sparse_featfusion_single_stage.py:245
↓ 1 callersMethodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs_dict (dict): The model
embodiedscan/models/detectors/dense_fusion_occ.py:287
↓ 1 callersMethodpredict
(self, batch_inputs_dict, batch_data_samples)
embodiedscan/models/detectors/sparse_featfusion_grounder.py:512
↓ 1 callersMethodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs_dict (dict): The model
embodiedscan/models/detectors/embodied_det3d.py:231
↓ 1 callersMethodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs_dict (dict): The model
embodiedscan/models/detectors/embodied_occ.py:275
↓ 1 callersMethodpredict_by_feat
Transform a batch of output features extracted from the head into bbox results. Args: all_layers_cls_scores (Tensor): Cl
embodiedscan/models/dense_heads/grounding_head.py:524
↓ 1 callersMethodpredict_by_feat
Generate boxes for all scenes. Args: center_preds (list[list[Tensor]]): Centerness predictions for all scenes.
embodiedscan/models/dense_heads/fcaf3d_head.py:510
↓ 1 callersMethodpredict_by_feat
Generate boxes for all scenes. Args: center_preds (list[list[Tensor]]): Centerness predictions for all scenes.
embodiedscan/models/dense_heads/fcaf3d_head.py:1401
↓ 1 callersFunctionprocess_directory
Process the files in a directory with parallel support.
embodiedscan/converter/generate_image_scannet.py:180
↓ 1 callersMethodprocess_metainfo
This function will be processed after metainfos from ann_file and config are combined.
embodiedscan/datasets/mv_3dvg_dataset.py:168
↓ 1 callersMethodprocess_metainfo
This function will be processed after metainfos from ann_file and config are combined.
embodiedscan/datasets/embodiedscan_dataset.py:66
↓ 1 callersFunctionprojection_matrix_to_CRT_kitti
Split projection matrix of KITTI. Note: This function is for KITTI only. P = C @ [R|T] C is upper triangular matrix, so we need
embodiedscan/structures/ops/box_np_ops.py:538
↓ 1 callersFunctionpytorch3d_links
()
install.py:35
↓ 1 callersMethodrandom_flip_data_2d
(self, input_dict: dict, direction: str = 'horizontal'
embodiedscan/datasets/transforms/augmentation.py:173
↓ 1 callersMethodravel_hash
Get voxel coordinates hash for np.unique. Args: x (np.ndarray): The voxel coordinates of points, Nx3. Returns:
embodiedscan/models/data_preprocessors/data_preprocessor.py:534
↓ 1 callersMethodrecover
Recover input type to original array type. Args: input_array (np.ndarray or torch.Tensor): Input array. Returns:
embodiedscan/utils/array_converter.py:326
↓ 1 callersFunctionrecursive_recover
(input_data)
embodiedscan/utils/array_converter.py:177
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
embodiedscan/models/losses/reduce_loss.py:10
↓ 1 callersMethodrender_continuous_occupancy_prediction
Render occupancy prediction with continuous ego-centric observations. Args: scene_name (str): Scene name. sta
embodiedscan/explorer.py:397
↓ 1 callersMethodrender_continuous_scene
Render a scene with continuous ego-centric observations. Args: scene_name (str): Scene name. start_cam (str, optional
embodiedscan/explorer.py:288
↓ 1 callersFunctionrotated_iou_3d_loss
Calculate the IoU loss (1-IoU) of two sets of rotated bounding boxes. Note that predictions and targets are one-to-one corresponded. Args:
embodiedscan/models/losses/rotated_iou_loss.py:15
↓ 1 callersFunctionrotation_3d_in_euler
Rotate points by angles according to axis. Args: points (np.ndarray | torch.Tensor | list | tuple ): Points of shape (N, M, 3
tools/eval_script_portable.py:14
↓ 1 callersMethodsample_single
Sample features from single level image feature map. Args: img_feats (Tensor): Image feature map in shape (1, C, H, W).
embodiedscan/models/layers/fusion_layers/point_fusion.py:492
↓ 1 callersFunctionsem_scal_loss
Semantic scene-class affinity loss. Consider probabilities for different categories. Args: pred (Tensor): Prediction maps. s
embodiedscan/models/losses/occ_loss.py:82
↓ 1 callersMethodshow
Show the image on the screen.
embodiedscan/visualization/img_drawer.py:144
↓ 1 callersMethodshow_image
Render an ego-centric image view with annotations. Args: scene_name (str): Scene name. camera_name (str): The name of
embodiedscan/explorer.py:507
↓ 1 callersMethodshuffle
Shuffle the points. Returns: Tensor: The shuffled index.
embodiedscan/structures/points/base_points.py:158
↓ 1 callersMethodsingle_level_grid_anchors
Generate grid anchors of a single level feature map. This function is usually called by method ``self.grid_anchors``. Args:
embodiedscan/models/task_modules/anchor/anchor_3d_generator.py:122
↓ 1 callersMethodsparse_quantize
Sparse Quantization for voxel coordinates used in Minkunet. Args: coords (np.ndarray): The voxel coordinates of points, Nx3.
embodiedscan/models/data_preprocessors/data_preprocessor.py:556
↓ 1 callersFunctionsurface_equ_3d
Args: polygon_surfaces (np.ndarray): Polygon surfaces with shape of [num_polygon, max_num_surfaces, max_num_points_of_surfac
embodiedscan/structures/ops/box_np_ops.py:629
↓ 1 callersMethodtransform
(self, matrix)
embodiedscan/structures/bbox_3d/euler_box3d.py:186
↓ 1 callersMethodtransform
Functions to load image. Args: results (dict): Result dict from :class:`mmengine.dataset.BaseDataset`. R
embodiedscan/datasets/transforms/loading.py:53
↓ 1 callersFunctiontrigger_visualization_hook
(cfg, args)
tools/test.py:76
↓ 1 callersMethodvoxelize
Apply voxelization to point cloud. Args: points (List[Tensor]): Point cloud in one data batch. data_samples: (list[:o
embodiedscan/models/data_preprocessors/data_preprocessor.py:379
↓ 1 callersFunctionweight_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Optional[Tensor], optional): Element-w
embodiedscan/models/losses/reduce_loss.py:30
Method__call__
Calculate nearest 3D IoU. Note: If ``is_aligned`` is ``False``, then it calculates the ious between each bbox of bbox
embodiedscan/structures/ops/iou3d_calculator.py:25
← previousnext →201–300 of 577, ranked by callers