MCPcopy Create free account

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

Functions2,489 in github.com/Tsinghua-MARS-Lab/GeoMAE

↓ 1 callersFunctiondraw_heatmap_gaussian
Get gaussian masked heatmap. Args: heatmap (torch.Tensor): Heatmap to be masked. center (torch.Tensor): Center coord of the heatm
mmdet3d/core/utils/gaussian.py:24
↓ 1 callersMethoddrop_and_partition
(self, batching_info, key)
mmdet3d/ops/sst/sst_ops.py:484
↓ 1 callersMethoddrop_arrays_by_name
Drop irrelevant ground truths by name. Args: gt_names (list[str]): Names of ground truths. used_classes (list[str]):
mmdet3d/datasets/kitti_dataset.py:195
↓ 1 callersMethoddrop_voxel
To make it clear and easy to follow, we do not use loop to process two shifts.
mmdet3d/models/middle_encoders/sst_input_layer_v2.py:125
↓ 1 callersFunctiondynamic_point_to_voxel_backward
mmdet3d/ops/voxel/src/voxelization.h:136
↓ 1 callersFunctiondynamic_point_to_voxel_forward
mmdet3d/ops/voxel/src/voxelization.h:122
↓ 1 callersFunctiondynamic_voxelize_cpu
mmdet3d/ops/voxel/src/voxelization_cpu.cpp:143
↓ 1 callersMethodend
mmdet3d/ops/spconv/include/tensorview/tensorview.h:254
↓ 1 callersFunctioneval_det_cls
Generic functions to compute precision/recall for object detection for a single class. Args: pred (dict): Predictions mapping from im
mmdet3d/core/evaluation/indoor_eval.py:55
↓ 1 callersFunctioneval_map_recall
Evaluate mAP and recall. Generic functions to compute precision/recall for object detection for multiple classes. Args: pred
mmdet3d/core/evaluation/indoor_eval.py:163
↓ 1 callersMethodevaluate
Evaluation in KITTI protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str]): M
mmdet3d/datasets/kitti_dataset.py:297
↓ 1 callersMethodevaluate
Evaluation in KITTI protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str]): M
mmdet3d/datasets/kitti_mono_dataset.py:200
↓ 1 callersMethodevaluate
Evaluate. Evaluation in indoor protocol. Args: results (list[dict]): List of results. metric (str | list[str
mmdet3d/datasets/sunrgbd_dataset.py:226
↓ 1 callersFunctionexport_nuim_to_coco
(nuim, data_root, out_dir, extra_tag, version, nproc)
tools/data_converter/nuimage_converter.py:149
↓ 1 callersMethodextract_feat
Directly extract features from the backbone+neck. Args: points (torch.Tensor): Input points.
mmdet3d/models/detectors/single_stage.py:42
↓ 1 callersMethodextract_feats
Directly extract features from the backbone+neck.
mmdet3d/models/detectors/single_stage_mono3d.py:21
↓ 1 callersMethodextract_feats
Extract point and image features of multiple samples.
mmdet3d/models/detectors/mvx_two_stage.py:429
↓ 1 callersMethodextract_img_feat
Extract features of images.
mmdet3d/models/detectors/mvx_two_stage.py:170
↓ 1 callersMethodextract_img_feats
Extract features from multiple images. Args: imgs (list[torch.Tensor]): A list of images. The images are augmente
mmdet3d/models/detectors/imvotenet.py:276
↓ 1 callersMethodextract_pts_feat
Extract features of points.
mmdet3d/models/detectors/mvx_two_stage.py:190
↓ 1 callersMethodextract_pts_feats
Extract features of points from multiple samples.
mmdet3d/models/detectors/imvotenet.py:302
↓ 1 callersFunctionfast_hist
Compute the confusion matrix for every batch. Args: preds (np.ndarray): Prediction labels of points with shape of (num_points, )
mmdet3d/core/evaluation/seg_eval.py:6
↓ 1 callersMethodfinal_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tor
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_spconv_final.py:436
↓ 1 callersMethodfinal_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tor
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_spconv.py:336
↓ 1 callersMethodfind_indice_pair
(self, key)
mmdet3d/ops/spconv/structure.py:47
↓ 1 callersFunctionfix_lyft
(root_folder='./data/lyft', version='v1.01')
tools/data_converter/lyft_data_fixer.py:6
↓ 1 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[dict]): Testing results of the dataset.
mmdet3d/datasets/nuscenes_ssl_dataset.py:444
↓ 1 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[dict]): Testing results of the dataset.
mmdet3d/datasets/nuscenes_dataset.py:424
↓ 1 callersMethodformat_results
r"""Format the results to txt file. Refer to `ScanNet documentation <http://kaldir.vc.in.tum.de/scannet_benchmark/documentation>`_. A
mmdet3d/datasets/scannet_dataset.py:368
↓ 1 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[dict]): Testing results of the dataset.
mmdet3d/datasets/nuscenes_ssl_dataset_oppsite.py:451
↓ 1 callersMethodforward
forward. Args: xyz (Tensor): (B, N, 3) xyz coordinates of the features. new_xyz (Tensor): Ignored. featur
mmdet3d/ops/group_points/group_points.py:144
↓ 1 callersMethodforward
RoIAwarePool3d module forward. Args: rois (torch.Tensor): [N, 7],in LiDAR coordinate, (x, y, z) is the bottom cen
mmdet3d/ops/roiaware_pool3d/roiaware_pool3d.py:26
↓ 1 callersMethodforward
Forward function. Args: x (torch.Tensor): of shape (N, C, N_x, N_y, N_z). Returns: torch.Tensor: 5d feature
mmdet3d/models/necks/imvoxel_neck.py:95
↓ 1 callersMethodforward_batch
Scatter features of single sample. Args: voxel_features (torch.Tensor): Voxel features in shape (N, M, C). coors (tor
mmdet3d/models/middle_encoders/pillar_scatter.py:61
↓ 1 callersMethodforward_decoder
mmdet3d/models/backbones/multi_mae_sst_spearate_top_only.py:236
↓ 1 callersMethodforward_decoder
mmdet3d/models/backbones/multi_mae_sst_density_top_only.py:218
↓ 1 callersMethodforward_decoder
mmdet3d/models/backbones/multi_mae_sst_surface.py:219
↓ 1 callersMethodforward_decoder
mmdet3d/models/backbones/multi_mae_sst_spearate_top_only_both.py:233
↓ 1 callersMethodforward_decoder
mmdet3d/models/backbones/multi_mae_sst_choose.py:226
↓ 1 callersMethodforward_decoder
mmdet3d/models/backbones/multi_mae_sst_v1.py:216
↓ 1 callersMethodforward_decoder
mmdet3d/models/backbones/multi_mae_sst_v2.py:216
↓ 1 callersMethodforward_decoder
mmdet3d/models/backbones/multi_mae_sst_density_spearate.py:227
↓ 1 callersMethodforward_decoder
mmdet3d/models/backbones/multi_mae_sst_choose_v1.py:226
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/multi_mae_sst_spearate_top_only.py:199
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/multi_mae_sst_density_top_only.py:181
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/multi_mae_sst_surface.py:182
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/multi_mae_sst_spearate_top_only_both.py:196
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/multi_mae_sst_choose.py:189
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/multi_mae_sst_v1.py:179
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/mae_sst_v1.py:177
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/multi_mae_sst_v2.py:179
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/multi_mae_sst_density_spearate.py:190
↓ 1 callersMethodforward_encoder
mmdet3d/models/backbones/multi_mae_sst_choose_v1.py:189
↓ 1 callersMethodforward_img_train
Forward function for image branch. This function works similar to the forward function of Faster R-CNN. Args: x (list[to
mmdet3d/models/detectors/mvx_two_stage.py:318
↓ 1 callersMethodforward_loss
(self,x,centroid_target)
mmdet3d/models/detectors/voxel_dynamic_voxelnet.py:358
↓ 1 callersMethodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bbox
mmdet3d/models/detectors/mvx_two_stage.py:291
↓ 1 callersMethodforward_single
Scatter features of single sample. Args: voxel_features (torch.Tensor): Voxel features in shape (N, M, C). coors (tor
mmdet3d/models/middle_encoders/pillar_scatter.py:37
↓ 1 callersMethodforward_test
Args: points (list[torch.Tensor]): the outer list indicates test-time augmentations and inner torch.Tensor should
mmdet3d/models/detectors/base.py:15
↓ 1 callersMethodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None.
mmdet3d/models/detectors/mvx_two_stage.py:237
↓ 1 callersMethodfreeze_img_branch_params
Freeze all image branch parameters.
mmdet3d/models/detectors/imvotenet.py:169
↓ 1 callersFunctionfused_compute_statistics
(overlaps, pr, gt_nums,
mmdet3d/core/evaluation/kitti_utils/eval.py:292
↓ 1 callersMethodfusion_with_mask
Fuse image and point features with mask. Args: features (torch.Tensor): Features of voxel, usually it is the valu
mmdet3d/models/voxel_encoders/voxel_encoder.py:587
↓ 1 callersFunctiongaussian_2d
Generate gaussian map. Args: shape (list[int]): Shape of the map. sigma (float): Sigma to generate gaussian map. Defa
mmdet3d/core/utils/gaussian.py:5
↓ 1 callersFunctiongen_packages_items
()
setup.py:120
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various informations on top of the 2D bounding box coordinates. Args: ann_rec (dict): Origina
tools/data_converter/kitti_converter.py:490
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various informations on top of the 2D bounding box coordinates. Args: ann_rec (dict): Origina
tools/data_converter/nuscenes_converter.py:557
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various information on top of the 2D bounding box coordinates. Args: ann_rec (dict): Original
tools/data_converter/nuscenes_ssl_converter.py:569
↓ 1 callersFunctiongetSize
mmdet3d/ops/spconv/include/paramsgrid.h:31
↓ 1 callersFunctiongetTotalSize
mmdet3d/ops/spconv/include/paramsgrid.h:22
↓ 1 callersFunctionget_2d_boxes
Get the 2D annotation records for a given `sample_data_token`. Args: sample_data_token (str): Sample data token belonging to a camera \
tools/data_converter/nuscenes_converter.py:397
↓ 1 callersFunctionget_2d_boxes
Get the 2D annotation records for a given `sample_data_token`. Args: sample_data_token (str): Sample data token belonging to a camera
tools/data_converter/nuscenes_ssl_converter.py:404
↓ 1 callersFunctionget_acc
Compute the overall accuracy. Args: hist(np.ndarray): Overall confusion martix (num_classes, num_classes ). Returns:
mmdet3d/core/evaluation/seg_eval.py:41
↓ 1 callersFunctionget_acc_cls
Compute the class average accuracy. Args: hist(np.ndarray): Overall confusion martix (num_classes, num_classes ). Returns:
mmdet3d/core/evaluation/seg_eval.py:55
↓ 1 callersMethodget_aligned_box_label
(self, idx)
tools/data_converter/scannet_data_utils.py:45
↓ 1 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/nuscenes_ssl_dataset.py:269
↓ 1 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/kitti2d_dataset.py:103
↓ 1 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/scannet_dataset.py:70
↓ 1 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/nuscenes_ssl_dataset_oppsite.py:276
↓ 1 callersMethodget_attr_name
Get attribute from predicted index. This is a workaround to predict attribute when the predicted velocity is not reliable. We map the
mmdet3d/datasets/nuscenes_mono_dataset.py:236
↓ 1 callersFunctionget_available_scenes
Get available scenes from the input nuscenes class. Given the raw data, get the information of available scenes for further info generation.
tools/data_converter/nuscenes_ssl_converter.py:107
↓ 1 callersMethodget_axis_align_matrix
(self, idx)
tools/data_converter/scannet_data_utils.py:57
↓ 1 callersMethodget_bboxes
Transform network output for a batch into bbox predictions.
mmdet3d/models/dense_heads/base_mono3d_dense_head.py:17
↓ 1 callersMethodget_bboxes_single
Get bboxes of single branch. Args: cls_scores (torch.Tensor): Class score in single batch. bbox_preds (torch.Tensor):
mmdet3d/models/dense_heads/shape_aware_head.py:427
↓ 1 callersMethodget_bboxes_single
Get bboxes of single branch. Args: cls_scores (torch.Tensor): Class score in single batch. bbox_preds (torch.Tensor):
mmdet3d/models/dense_heads/anchor3d_head.py:432
↓ 1 callersMethodget_calibration
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:110
↓ 1 callersMethodget_cat_ids
Get category distribution of single scene. Args: idx (int): Index of the data_info. Returns: dict[list]: for
mmdet3d/datasets/nuscenes_dataset.py:151
↓ 1 callersMethodget_centroid_per_voxel
Args: points: (N, 3 + (f)) [bxyz + (f)] voxel_idxs: (N, 4) [bxyz] num_points_in_voxel: (N) Return
mmdet3d/models/detectors/voxel_dynamic_voxelnet.py:313
↓ 1 callersMethodget_classes
Get class names of current dataset. Args: classes (Sequence[str] | str | None): If classes is None, use default C
mmdet3d/datasets/custom_3d.py:177
↓ 1 callersMethodget_classes_and_palette
Get class names of current dataset. This function is taken from MMSegmentation. Args: classes (Sequence[str] | str | Non
mmdet3d/datasets/custom_3d_seg.py:175
↓ 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:141
↓ 1 callersFunctionget_conv_output_size
(input_size, kernel_size, stride, padding, dilation)
mmdet3d/ops/spconv/ops.py:20
↓ 1 callersMethodget_corner_loss_lidar
Calculate corner loss of given boxes. Args: pred_bbox3d (torch.FloatTensor): Predicted boxes in shape (N, 7). gt_bbox
mmdet3d/models/roi_heads/bbox_heads/parta2_bbox_head.py:464
↓ 1 callersFunctionget_deconv_output_size
(input_size, kernel_size, stride, padding, dilation, output_padding)
mmdet3d/ops/spconv/ops.py:33
↓ 1 callersMethodget_depth
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:105
↓ 1 callersMethodget_direction_target
Encode direction to 0 ~ num_bins-1. Args: reg_targets (torch.Tensor): Bbox regression targets. dir_offset (int): Dire
mmdet3d/models/dense_heads/fcos_mono3d_head.py:218
↓ 1 callersMethodget_file_names
Get file names of waymo raw data.
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:77
↓ 1 callersFunctionget_flat2win_inds
Args: batch_win_inds: shape=[N, ]. Indicates which window a voxel belongs to. Window inds is unique is the whole batch. voxel_dro
mmdet3d/ops/sst/sst_ops.py:58
↓ 1 callersMethodget_flat2win_inds
Args: batch_win_inds: shape=[N, ]. Indicates which window a voxel belongs to. Window inds is unique is the whole batch.
mmdet3d/models/middle_encoders/sst_input_layer_spconv2.py:235
↓ 1 callersMethodget_flat2win_inds
Args: batch_win_inds: shape=[N, ]. Indicates which window a voxel belongs to. Window inds is unique is the whole batch.
mmdet3d/models/middle_encoders/sst_input_layer_spconv2_only_subm.py:221
↓ 1 callersMethodget_flat2win_inds
Args: batch_win_inds: shape=[N, ]. Indicates which window a voxel belongs to. Window inds is unique is the whole batch.
mmdet3d/models/middle_encoders/sst_input_layer.py:105
← previousnext →701–800 of 2,489, ranked by callers