MCPcopy Create free account

hub / github.com/Tsinghua-MARS-Lab/futr3d / functions

Functions1,670 in github.com/Tsinghua-MARS-Lab/futr3d

↓ 1 callersMethodget_cat_ids
Get category distribution of single scene. Args: idx (int): Index of the data_info. Returns: dict[list
mmdet3d/datasets/nuscenes_dataset.py:154
↓ 1 callersFunctionget_centers2d_target
Function to get target centers2d. Args: centers2d (Tensor): Projected 3D centers onto 2D images. centers (Tensor): Centers of
mmdet3d/models/utils/handle_objs.py:39
↓ 1 callersMethodget_classes_and_palette
Get class names of current dataset. This function is taken from MMSegmentation. Args: classes (Sequence[str] | str)
mmdet3d/datasets/custom_3d_seg.py:190
↓ 1 callersFunctionget_classwise_aps
Returns an array with an average precision per class. Note: Ground truth and predictions should have the following format. .. code-block
mmdet3d/core/evaluation/lyft_eval.py:143
↓ 1 callersMethodget_corner_loss_lidar
Calculate corner loss of given boxes. Args: pred_bbox3d (torch.FloatTensor): Predicted boxes in shape (N, 7). gt_
mmdet3d/models/roi_heads/bbox_heads/point_rcnn_bbox_head.py:312
↓ 1 callersMethodget_corner_loss_lidar
Calculate corner loss of given boxes. Args: pred_bbox3d (torch.FloatTensor): Predicted boxes in shape (N, 7). gt_
mmdet3d/models/roi_heads/bbox_heads/parta2_bbox_head.py:469
↓ 1 callersMethodget_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns:
mmdet3d/datasets/scannet_dataset.py:77
↓ 1 callersMethodget_depth
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:109
↓ 1 callersFunctionget_edge_indices
Function to filter the objects label outside the image. The edge_indices are generated using numpy on cpu rather than on CUDA due to the lat
mmdet3d/models/utils/edge_indices.py:6
↓ 1 callersFunctionget_ellip_gaussian_2D
Generate 2D ellipse gaussian heatmap. Args: heatmap (Tensor): Input heatmap, the gaussian kernel will cover on it and mai
mmdet3d/core/utils/gaussian.py:89
↓ 1 callersMethodget_extrinsics
(self, idx)
tools/data_converter/scannet_data_utils.py:74
↓ 1 callersMethodget_file_names
Get file names of waymo raw data.
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:79
↓ 1 callersFunctionget_frustum
Get frustum corners in camera coordinates. Args: bbox_image (list[int]): box in image coordinates. C (np.ndarray): Intrinsics
mmdet3d/core/bbox/box_np_ops.py:584
↓ 1 callersMethodget_image
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:101
↓ 1 callersMethodget_image_shape
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:105
↓ 1 callersMethodget_images
(self, idx)
tools/data_converter/scannet_data_utils.py:66
↓ 1 callersFunctionget_img_annos
Get semantic segmentation map for an image. Args: nuim (obj:`NuImages`): NuImages dataset object img_info (dict): Meta inform
tools/data_converter/nuimage_converter.py:64
↓ 1 callersMethodget_infos
Get data infos. This method gets information from the raw data. Args: num_workers (int, optional): Number of thread
tools/data_converter/scannet_data_utils.py:88
↓ 1 callersMethodget_instance_verts
(mesh_vert_instances, instance_id)
mmdet3d/core/evaluation/scannet_utils/util_3d.py:34
↓ 1 callersMethodget_intrinsics
(self, idx)
tools/data_converter/scannet_data_utils.py:82
↓ 1 callersFunctionget_keypoints
Function to filter the objects label outside the image. Args: gt_bboxes_list (list[Tensor]): Ground truth bboxes of each image,
mmdet3d/models/utils/gen_keypoints.py:7
↓ 1 callersMethodget_label_id
(instance_id)
mmdet3d/core/evaluation/scannet_utils/util_3d.py:30
↓ 1 callersMethodget_label_objects
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:123
↓ 1 callersFunctionget_options
Set ScanNet evaluator options. Args: options (dict, optional): Not default options. Default: None. Returns: dict: Upda
mmdet3d/core/evaluation/scannet_utils/evaluate_semantic_instance.py:330
↓ 1 callersFunctionget_paddings_indicator
Create boolean mask by actually number of a padded tensor. Args: actual_num ([type]): [description] max_num ([type]): [descript
plugin/futr3d/models/backbone/radar_encoder.py:16
↓ 1 callersFunctionget_plane_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:66
↓ 1 callersMethodget_pos_predictions
Flatten predictions and get positive ones. Args: bbox_preds (list[Tensor]): Box energies / deltas for each scale
mmdet3d/models/dense_heads/pgd_head.py:443
↓ 1 callersMethodget_predictions
Prepare predictions for computing loss. Args: pred_reg (Tensor): Box regression map. shape (B, channel, H , W
mmdet3d/models/dense_heads/monoflex_head.py:421
↓ 1 callersMethodget_predictions
Prepare predictions for computing loss. Args: labels3d (Tensor): Labels of each 3D box. shape (B, max_objs, )
mmdet3d/models/dense_heads/smoke_mono3d_head.py:224
↓ 1 callersMethodget_primitive_center
Generate primitive center from predictions. Args: pred_flag (torch.Tensor): Scores of primitive center. center (t
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:783
↓ 1 callersMethodget_proposal_stage_loss
Compute loss for the aggregation module. Args: bbox_preds (dict): Predictions from forward of vote head. size_cla
mmdet3d/models/roi_heads/bbox_heads/h3d_bbox_head.py:545
↓ 1 callersMethodget_scene_idxs
Compute scene_idxs for data sampling. We sample more times for scenes with more points.
mmdet3d/datasets/custom_3d_seg.py:265
↓ 1 callersMethodget_scene_idxs_and_label_weight
Compute scene_idxs for data sampling and label weight for loss calculation. We sample more times for scenes with more points. Labe
tools/data_converter/s3dis_data_utils.py:215
↓ 1 callersMethodget_scene_idxs_and_label_weight
Compute scene_idxs for data sampling and label weight for loss calculation. We sample more times for scenes with more points. Labe
tools/data_converter/scannet_data_utils.py:267
↓ 1 callersMethodget_seg_infos
(self)
tools/data_converter/s3dis_data_utils.py:193
↓ 1 callersFunctionget_single_class_aps
Compute recall and precision for all iou thresholds. Adapted from LyftDatasetDevkit. Args: gt (list[dict]): list of dictionaries
mmdet3d/core/evaluation/lyft_eval.py:200
↓ 1 callersMethodget_targets
Generate targets of ssd3d head. Args: points (list[torch.Tensor]): Points of each batch. gt_bboxes_3d (list[:obj:
mmdet3d/models/dense_heads/ssd_3d_head.py:221
↓ 1 callersMethodget_targets
Get training targets for batch images. `` Args: gt_bboxes_list (list[Tensor]): Ground truth bboxes of each ima
mmdet3d/models/dense_heads/monoflex_head.py:460
↓ 1 callersMethodget_targets
Generate targets. How each output is transformed: Each nested list is transposed so that all same-index elements in
mmdet3d/models/dense_heads/centerpoint_head.py:388
↓ 1 callersMethodget_targets
Generate targets of vote head. Args: points (list[torch.Tensor]): Points of each batch. gt_bboxes_3d (list[:obj:`
mmdet3d/models/dense_heads/vote_head.py:350
↓ 1 callersMethodget_targets
Compute regression, classification and centerss targets for points in multiple images. Args: points (list[Tensor]): P
mmdet3d/models/dense_heads/fcos_mono3d_head.py:744
↓ 1 callersMethodget_targets
Get training targets for batch images. Args: gt_bboxes (list[Tensor]): Ground truth bboxes of each image, sha
mmdet3d/models/dense_heads/smoke_mono3d_head.py:294
↓ 1 callersMethodget_targets
Generate targets of PointRCNN RPN head. Args: points (list[torch.Tensor]): Points of each batch. gt_bboxes_3d (li
mmdet3d/models/dense_heads/point_rpn_head.py:172
↓ 1 callersMethodget_targets
Generate targets of GroupFree3D head. Args: points (list[torch.Tensor]): Points of each batch. gt_bboxes_3d (list
mmdet3d/models/dense_heads/groupfree3d_head.py:537
↓ 1 callersMethodget_targets
Compute regression, classification and centerss targets for points in multiple images. Args: points (list[Tensor]): P
mmdet3d/models/dense_heads/pgd_head.py:1111
↓ 1 callersMethodget_targets
Generate targets of primitive head. Args: points (list[torch.Tensor]): Points of each batch. gt_bboxes_3d (list[:
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:258
↓ 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.
plugin/futr3d/models/head/futr3d_head.py:381
↓ 1 callersMethodget_task_detections
Rotate nms for each task. Args: num_class_with_bg (int): Number of classes for the current task. batch_cls_preds
mmdet3d/models/dense_heads/centerpoint_head.py:735
↓ 1 callersFunctionget_thresholds
(scores: np.ndarray, num_gt, num_sample_pts=41)
mmdet3d/core/evaluation/kitti_utils/eval.py:10
↓ 1 callersMethodget_unaligned_box_label
(self, idx)
tools/data_converter/scannet_data_utils.py:54
↓ 1 callersFunctionget_version
()
setup.py:23
↓ 1 callersFunctionget_version
()
docs/zh_cn/conf.py:33
↓ 1 callersFunctionget_version
()
docs/en/conf.py:33
↓ 1 callersFunctionglobal_nusc_box_to_cam
Convert the box from global to camera coordinate. Args: info (dict): Info for a specific sample data, including the calib
mmdet3d/datasets/nuscenes_mono_dataset.py:773
↓ 1 callersFunctionhandle_proj_objs
Function to handle projected object centers2d, generate target centers2d. Args: gt_bboxes_list (list[Tensor]): Ground truth bboxe
mmdet3d/models/utils/handle_objs.py:83
↓ 1 callersFunctionheading2rotmat
(heading_angle)
mmdet3d/core/visualizer/show_result.py:45
↓ 1 callersMethodheight_overlaps
Calculate height overlaps of two boxes. Note: This function calculates the height overlaps between boxes1 and box
mmdet3d/core/bbox/structures/base_box3d.py:404
↓ 1 callersMethodin_range_bev
Check whether the points are in the given range. Args: point_range (list | torch.Tensor): The range of point
mmdet3d/core/points/base_points.py:232
↓ 1 callersFunctionindoor_eval
Indoor Evaluation. Evaluate the result of the detection. Args: gt_annos (list[dict]): Ground truth annotations. dt_ann
mmdet3d/core/evaluation/indoor_eval.py:203
↓ 1 callersFunctioninference_mono_3d_detector
Inference image with the monocular 3D detector. Args: model (nn.Module): The loaded detector. image (str): Image files.
mmdet3d/apis/inference.py:230
↓ 1 callersFunctioninference_multi_modality_detector
Inference point cloud with the multi-modality detector. Args: model (nn.Module): The loaded detector. pcd (str): Point cloud
mmdet3d/apis/inference.py:155
↓ 1 callersFunctioninference_segmentor
Inference point cloud with the segmentor. Args: model (nn.Module): The loaded segmentor. pcd (str): Point cloud files.
mmdet3d/apis/inference.py:289
↓ 1 callersMethodinit_acceleration
Pre-compute the necessary information in acceleration including the index of points in the final feature. Args: coor
mmdet3d/models/necks/view_transformer.py:269
↓ 1 callersMethodinit_assigner_sampler
Initialize assigner and sampler.
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:69
↓ 1 callersMethodinit_assigner_sampler
Initialize assigner and sampler.
mmdet3d/models/roi_heads/point_rcnn_roi_head.py:59
↓ 1 callersMethodinit_assigner_sampler
Initialize assigner and sampler.
mmdet3d/models/roi_heads/base_3droi_head.py:51
↓ 1 callersMethodinit_bbox_head
Initialize the box head.
mmdet3d/models/roi_heads/base_3droi_head.py:41
↓ 1 callersMethodinit_layers
Initialize layers of the DeformableDetrTransformer.
plugin/futr3d/models/utils/futr3d_transformer.py:184
↓ 1 callersMethodinit_mask_head
Initialize maek head.
mmdet3d/models/roi_heads/base_3droi_head.py:46
↓ 1 callersFunctioninit_random_seed
Initialize random seed. If the seed is not set, the seed will be automatically randomized, and then broadcast to all processes to prevent
mmdet3d/apis/train.py:27
↓ 1 callersMethodinit_weights
Initialize weights.
mmdet3d/models/dense_heads/centerpoint_head.py:87
↓ 1 callersMethodinit_weights
Initialize weights of the head. We currently still use the customized defined init_weights because the default init of DCN trigger
mmdet3d/models/dense_heads/pgd_head.py:159
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
plugin/futr3d/models/utils/futr3d_attention.py:161
↓ 1 callersFunctioninstance_seg_eval
Instance Segmentation Evaluation. Evaluate the result of the instance segmentation. Args: gt_semantic_masks (list[torch.Tensor]
mmdet3d/core/evaluation/instance_seg_eval.py:70
↓ 1 callersFunctioninter
Compute intersection of two rotated boxes. Args: rbox1 (np.ndarray, shape=[5]): Rotated 2d box. rbox2 (np.ndarray, shape=[5])
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:227
↓ 1 callersFunctionis_loading_function
Judge whether a transform function is a loading function. Note: `MultiScaleFlipAug3D` is a wrapper for multiple pipeline functions, so we
mmdet3d/datasets/utils.py:18
↓ 1 callersMethodjson2csv
Convert the json file to csv format for submission. Args: json_path (str): Path of the result json file. csv_save
mmdet3d/datasets/lyft_dataset.py:475
↓ 1 callersMethodkeep_arrays_by_name
Keep useful ground truths by name. Args: gt_names (list[str]): Names of ground truths. used_classes (list[str]):
mmdet3d/datasets/kitti2d_dataset.py:190
↓ 1 callersMethodkeypoints2depth
Decode depth form three groups of keypoints and geometry projection model. 2D keypoints inlucding 8 coreners and top/bottom centers will be
mmdet3d/core/bbox/coders/monoflex_bbox_coder.py:286
↓ 1 callersFunctionkitti_data_prep
Prepare data related to Kitti dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth databas
tools/create_data.py:13
↓ 1 callersFunctionkitti_result_line
(result_dict, precision=4)
tools/data_converter/kitti_data_utils.py:579
↓ 1 callersFunctionlidar_lyft_box_to_global
Convert the box from ego to global coordinate. Args: info (dict): Info for a specific sample data, including the calibrat
mmdet3d/datasets/lyft_dataset.py:546
↓ 1 callersFunctionlidar_nusc_box_to_global
Convert the box from ego to global coordinate. Args: info (dict): Info for a specific sample data, including the calibrat
mmdet3d/datasets/nuscenes_dataset.py:632
↓ 1 callersFunctionline_segment_intersection
(pts1, pts2, i, j, temp_pts)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:76
↓ 1 callersMethodload
(self, filename, limit)
data/scannet/extract_posed_images.py:59
↓ 1 callersMethodload_annotations
Load annotations from ann_file. Args: ann_file (str): Path of the annotation file. Returns: list[dict]
mmdet3d/datasets/lyft_dataset.py:112
↓ 1 callersFunctionload_json_logs
(json_logs)
tools/analysis_tools/analyze_logs.py:169
↓ 1 callersFunctionload_lyft_gts
Loads ground truth boxes from database. Args: lyft (:obj:`LyftDataset`): Lyft class in the sdk. data_root (str): Root of data
mmdet3d/core/evaluation/lyft_eval.py:15
↓ 1 callersFunctionload_lyft_predictions
Load Lyft predictions from json file. Args: res_path (str): Path of result json file recording detections. Returns: li
mmdet3d/core/evaluation/lyft_eval.py:74
↓ 1 callersMethodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level. shape (num_gt, 4)
mmdet3d/models/dense_heads/monoflex_head.py:639
↓ 1 callersMethodloss
Compute losses of the head.
mmdet3d/models/dense_heads/base_mono3d_dense_head.py:14
↓ 1 callersMethodlosses
Compute semantic segmentation loss. Args: seg_logit (torch.Tensor): Predicted per-point segmentation logits o
mmdet3d/models/decode_heads/decode_head.py:111
↓ 1 callersFunctionlyft_eval
Evaluation API for Lyft dataset. Args: lyft (:obj:`LyftDataset`): Lyft class in the sdk. data_root (str): Root of data for re
mmdet3d/core/evaluation/lyft_eval.py:91
↓ 1 callersFunctionmain
()
tools/train.py:116
↓ 1 callersFunctionmain
()
tools/test.py:130
↓ 1 callersFunctionmain
()
tools/measure_latency.py:91
↓ 1 callersFunctionmain
Convert keys in checkpoints for VoteNet. There can be some breaking changes during the development of mmdetection3d, and this tool is used
tools/model_converters/convert_votenet_checkpoints.py:71
↓ 1 callersFunctionmain
Convert keys in checkpoints for VoteNet. There can be some breaking changes during the development of mmdetection3d, and this tool is used
tools/model_converters/convert_h3dnet_checkpoints.py:95
↓ 1 callersFunctionmain
()
tools/model_converters/regnet2mmdet.py:81
↓ 1 callersFunctionmain
()
tools/model_converters/publish_model.py:30
← previousnext →601–700 of 1,670, ranked by callers