Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tsinghua-MARS-Lab/GeoMAE
/ functions
Functions
2,489 in github.com/Tsinghua-MARS-Lab/GeoMAE
⨍
Functions
2,489
◇
Types & classes
380
↳
Endpoints
6
↓ 6 callers
Method
rotate
Rotate boxes with points (optional) with the given angle or \ rotation matrix. Args: angles (float | torch.Tensor | np.nd
mmdet3d/core/bbox/structures/lidar_box3d.py:116
↓ 6 callers
Method
rotate
Rotate boxes with points (optional) with the given angle or \ rotation matrix. Args: angle (float | torch.Tensor | np.nda
mmdet3d/core/bbox/structures/depth_box3d.py:118
↓ 6 callers
Method
split_pred
Split predicted features to specific parts. Args: cls_preds (torch.Tensor): Class predicted features to split. reg_pr
mmdet3d/core/bbox/coders/anchor_free_bbox_coder.py:87
↓ 5 callers
Method
_init_branch
Initialize conv layers as a prediction branch.
mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:211
↓ 5 callers
Method
anchor_target_single_assigner
Assign anchors and encode positive anchors. Args: bbox_assigner (BaseAssigner): assign positive and negative boxes. a
mmdet3d/models/dense_heads/train_mixins.py:237
↓ 5 callers
Function
build_model
A function warpper for building 3D detector or segmentor according to cfg. Should be deprecated in the future.
mmdet3d/models/builder.py:75
↓ 5 callers
Function
get_kitti_info_path
(idx, prefix, info_type='image_2', fil
tools/data_converter/kitti_data_utils.py:17
↓ 5 callers
Function
limit_period
Limit the value into a period for periodic function. Args: val (torch.Tensor): The value to be converted. offset (float, optional
mmdet3d/core/bbox/structures/utils.py:5
↓ 5 callers
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
mmdet3d/core/bbox/structures/utils.py:173
↓ 5 callers
Function
print_str
(value, *arg, sstream=None)
mmdet3d/core/evaluation/kitti_utils/eval.py:578
↓ 5 callers
Method
sample
Sample specific number of ground truths. Args: num (int): Sampled number. Returns: list[dict]: Sampled groun
mmdet3d/datasets/pipelines/dbsampler.py:66
↓ 5 callers
Method
show
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
mmdet3d/datasets/kitti_dataset.py:694
↓ 5 callers
Function
show_result_meshlab
Show result by meshlab. Args: data (dict): Contain data from pipeline. result (dict): Predicted result from model. out_di
mmdet3d/apis/inference.py:452
↓ 5 callers
Function
show_seg_result
Convert results into format that is directly readable for meshlab. Args: points (np.ndarray): Points. gt_seg (np.ndarray): Ground
mmdet3d/core/visualizer/show_result.py:127
↓ 5 callers
Function
sparse_index_wo_pos
mmdet3d/ops/sparse_index/src/sparse_index.h:152
↓ 4 callers
Method
_GetNdArray
(self, a)
mmdet3d/ops/spconv/test_utils.py:20
↓ 4 callers
Method
__init__
(self, in_channels=4, feat_channels=[], with_distance=False
mmdet3d/models/voxel_encoders/voxel_encoder.py:450
↓ 4 callers
Method
_assign_primitive_line_targets
Generate targets of line primitive. Args: point_mask (torch.Tensor): Tensor to store the ground truth of mask.
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:801
↓ 4 callers
Function
_calculate_num_points_in_gt
(data_path, infos, relative_path,
tools/data_converter/kitti_converter.py:45
↓ 4 callers
Function
_draw_points
Draw points on visualizer. Args: points (numpy.array | torch.tensor, shape=[N, 3+C]): points to visualize. vis (:obj:
mmdet3d/core/visualizer/open3d_vis.py:13
↓ 4 callers
Method
_duplicate_to_list
Repeat x `num` times to form a list.
mmdet3d/datasets/s3dis_dataset.py:273
↓ 4 callers
Method
_gather_feat
Given feats and indexes, returns the gathered feats. Args: feats (torch.Tensor): Features to be transposed and gathered
mmdet3d/core/bbox/coders/centerpoint_bbox_coders.py:40
↓ 4 callers
Function
_write_obj
Write points into ``obj`` format for meshlab visualization. Args: points (np.ndarray): Points in shape (N, dim). out_filename (st
mmdet3d/core/visualizer/show_result.py:10
↓ 4 callers
Function
aligned_3d_nms
3d nms for aligned boxes. Args: boxes (torch.Tensor): Aligned box with shape [n, 6]. scores (torch.Tensor): Scores of each box.
mmdet3d/core/post_processing/box3d_nms.py:270
↓ 4 callers
Method
aug_test
Test with augmentation.
mmdet3d/models/detectors/h3dnet.py:132
↓ 4 callers
Method
bbox2result_kitti
Convert 3D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray]): Li
mmdet3d/datasets/kitti_dataset.py:364
↓ 4 callers
Function
box3d_multiclass_nms
Multi-class nms for 3D boxes. Args: mlvl_bboxes (torch.Tensor): Multi-level boxes with shape (N, M). M is the dimensions of b
mmdet3d/core/post_processing/box3d_nms.py:149
↓ 4 callers
Function
camera_to_lidar
Convert points in camera coordinate to lidar coordinate. Args: points (np.ndarray, shape=[N, 3]): Points in camera coordinate. r_
mmdet3d/core/bbox/box_np_ops.py:8
↓ 4 callers
Function
circle_nms
Circular NMS. An object is only counted as positive if no other center with a higher confidence exists within a radius r using a bird-eye
mmdet3d/core/post_processing/box3d_nms.py:321
↓ 4 callers
Method
createBBoxMap
mmdet3d/ops/wnms/src/nms.h:257
↓ 4 callers
Function
eval_class
Kitti eval. support 2d/bev/3d/aos eval. support 0.5:0.05:0.95 coco AP. Args: gt_annos (dict): Must from get_label_annos() in kitti_common
mmdet3d/core/evaluation/kitti_utils/eval.py:450
↓ 4 callers
Method
extract_img_feat
Directly extract features from the img backbone+neck.
mmdet3d/models/detectors/imvotenet.py:269
↓ 4 callers
Function
flat2window_v2
(feat, inds_dict)
mmdet3d/ops/sst/sst_ops.py:264
↓ 4 callers
Method
forward
Args: input: NC points
mmdet3d/ops/voxel/voxelize.py:101
↓ 4 callers
Method
forward_train
Forward function for training. Args: points (list[torch.Tensor]): List of points of shape [N, C]. img_metas (list): I
mmdet3d/models/segmentors/encoder_decoder.py:119
↓ 4 callers
Method
getFilterResult
mmdet3d/ops/wnms/src/nms.h:294
↓ 4 callers
Function
get_inner_win_inds
Args: win_inds indicates which windows a voxel belongs to. Voxels share a window have same inds. shape = [N,] Return:
mmdet3d/ops/sst/sst_ops.py:272
↓ 4 callers
Function
get_mAP
(prec)
mmdet3d/core/evaluation/kitti_utils/eval.py:571
↓ 4 callers
Method
get_surface_line_center
Compute surface and line center of bounding boxes. Returns: torch.Tensor: Surface and line center of bounding boxes.
mmdet3d/core/bbox/structures/depth_box3d.py:294
↓ 4 callers
Method
losses
Compute semantic segmentation loss. Args: seg_logit (torch.Tensor): Predicted per-point segmentation logits \ of
mmdet3d/models/decode_heads/decode_head.py:108
↓ 4 callers
Method
match_point2line
Match points to corresponding line. Args: points (torch.Tensor): Points of input. corners (torch.Tensor): Eight corne
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:674
↓ 4 callers
Function
match_sequence
mmdet3d/ops/wnms/src/nms.h:311
↓ 4 callers
Method
multiclass_nms_single
Multi-class nms in single batch. Args: obj_scores (torch.Tensor): Objectness score of bounding boxes. sem_scores (tor
mmdet3d/models/dense_heads/vote_head.py:604
↓ 4 callers
Function
nuscenes_data_prep
Prepare data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth databas
tools/create_data.py:47
↓ 4 callers
Function
obtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_converter.py:272
↓ 4 callers
Method
prepare_train_data
Training data preparation. Args: index (int): Index for accessing the target data. Returns: dict: Training d
mmdet3d/datasets/custom_3d.py:142
↓ 4 callers
Method
show
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
mmdet3d/datasets/sunrgbd_dataset.py:179
↓ 4 callers
Method
single_overlap
mmdet3d/ops/wnms/src/nms.h:197
↓ 4 callers
Function
trangle_area
(a, b, c)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:18
↓ 3 callers
Method
__init__
(self, mlp_channels, paconv_num_kernels, num_point=None,
mmdet3d/ops/pointnet_modules/paconv_sa_module.py:116
↓ 3 callers
Method
__init__
(self)
mmdet3d/ops/furthest_point_sample/points_sampler.py:145
↓ 3 callers
Method
_add_conv_branch
Add shared or separable branch.
mmdet3d/models/dense_heads/base_conv_bbox_head.py:84
↓ 3 callers
Function
_check_bbox_head
(bbox_cfg, bbox_head)
tests/test_runtime/test_config.py:174
↓ 3 callers
Function
_check_primitive_extractor
(config, primitive_extractor)
tests/test_runtime/test_config.py:261
↓ 3 callers
Function
_demo_mm_inputs
Create a superset of inputs needed to run test or train batches. Args: input_shape (tuple): input batch dimensions n
tests/test_models/test_forward.py:142
↓ 3 callers
Function
_draw_bboxes
Draw bbox on visualizer and change the color of points inside bbox3d. Args: bbox3d (numpy.array | torch.tensor, shape=[M, 7]):
mmdet3d/core/visualizer/open3d_vis.py:58
↓ 3 callers
Function
_generate_sunrgbd_dataset_config
()
tests/test_data/test_datasets/test_sunrgbd_dataset.py:8
↓ 3 callers
Function
_generate_waymo_val_dataset_config
()
tests/test_data/test_datasets/test_waymo_dataset.py:64
↓ 3 callers
Function
_get_head_cfg
Grab configs necessary to create a bbox_head. These are deep copied to allow for safe modification of parameters without influencing other te
tests/test_models/test_heads/test_heads.py:46
↓ 3 callers
Function
_get_pts_bbox_head_cfg
Grab configs necessary to create a pts_bbox_head. These are deep copied to allow for safe modification of parameters without influencing othe
tests/test_models/test_heads/test_heads.py:100
↓ 3 callers
Function
_get_vote_head_cfg
Grab configs necessary to create a vote_head. These are deep copied to allow for safe modification of parameters without influencing other te
tests/test_models/test_heads/test_heads.py:118
↓ 3 callers
Method
_load_points
Private function to load point clouds data. Args: pts_filename (str): Filename of point clouds data. Returns:
mmdet3d/datasets/pipelines/loading.py:382
↓ 3 callers
Method
add
(self, module, name=None)
mmdet3d/ops/spconv/modules.py:118
↓ 3 callers
Method
add_sin_difference
Convert the rotation difference to difference in sine function. Args: boxes1 (torch.Tensor): Original Boxes in shape (NxC), where
mmdet3d/models/dense_heads/anchor3d_head.py:284
↓ 3 callers
Method
anchors_single_range
Generate anchors in a single range. Args: feature_size (list[float] | tuple[float]): Feature map size. It is eith
mmdet3d/core/anchor/anchor_3d_generator.py:147
↓ 3 callers
Method
angle2class
Convert continuous angle to a discrete class and a residual. Convert continuous angle to a discrete class and a small regression numb
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:203
↓ 3 callers
Method
bbox2result_kitti2d
Convert 2D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray]): Li
mmdet3d/datasets/kitti_dataset.py:479
↓ 3 callers
Function
bbox3d2roi
Convert a list of bounding boxes to roi format. Args: bbox_list (list[torch.Tensor]): A list of bounding boxes corresponding
mmdet3d/core/bbox/transforms.py:26
↓ 3 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
mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:94
↓ 3 callers
Function
build_segmentor
Build segmentor.
mmdet3d/models/builder.py:61
↓ 3 callers
Function
center_to_corner_box2d
Convert kitti locations, dimensions and angles to corners. format: center(xy), dims(xy), angles(clockwise when positive) Args: center
mmdet3d/core/bbox/box_np_ops.py:99
↓ 3 callers
Method
class2angle
Inverse function to angle2class. Args: angle_cls (torch.Tensor): Angle class to decode. angle_res (torch.Tensor): Ang
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:224
↓ 3 callers
Function
clip_sigmoid
Sigmoid function for input feature. Args: x (torch.Tensor): Input feature map with the shape of [B, N, H, W]. eps (float): Lower
mmdet3d/models/utils/clip_sigmoid.py:4
↓ 3 callers
Function
corners_nd
Generate relative box corners based on length per dim and origin point. Args: dims (np.ndarray, shape=[N, ndim]): Array of length per dim
mmdet3d/core/bbox/box_np_ops.py:48
↓ 3 callers
Function
create_groundtruth_database
Given the raw data, generate the ground truth database. Args: dataset_class_name (str): Name of the input dataset. data_path (str
tools/data_converter/create_gt_database.py:108
↓ 3 callers
Method
dense
(self, channels_first=True)
mmdet3d/ops/sst/sst_ops.py:460
↓ 3 callers
Function
do_eval
(gt_annos, dt_annos, current_classes, min_overlaps, eval_types
mmdet3d/core/evaluation/kitti_utils/eval.py:587
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/middle_encoders/sst_input_layer_spconv2.py:341
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/middle_encoders/sst_input_layer_spconv2_only_subm.py:327
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/middle_encoders/sst_input_layer.py:211
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/multi_mae_sst_spearate_top_only.py:519
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/multi_mae_sst_density_top_only.py:488
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/multi_mae_sst_surface.py:487
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/sst_multi_stage_second_v1.py:519
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/sst_multi_stage_v1.py:485
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/multi_mae_sst_spearate_top_only_both.py:507
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/multi_mae_sst_choose.py:504
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/multi_mae_sst_v1.py:479
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/mae_sst_v1.py:474
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/multi_mae_sst_v2.py:479
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/multi_mae_sst_density_spearate.py:501
↓ 3 callers
Method
drop_single_shift
(self, batch_win_inds)
mmdet3d/models/backbones/multi_mae_sst_choose_v1.py:504
↓ 3 callers
Method
encode_decode
Encode points with backbone and decode into a semantic segmentation map of the same size as input. Args: points (torch.Te
mmdet3d/models/segmentors/encoder_decoder.py:64
↓ 3 callers
Method
extract_bboxes_2d
Extract bounding boxes from 2d detector. Args: img (torch.Tensor): of shape (N, C, H, W) encoding input images. T
mmdet3d/models/detectors/imvotenet.py:308
↓ 3 callers
Method
extract_feat
Extract features from points.
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_spconv_final.py:161
↓ 3 callers
Method
extract_feat
Extract features from points.
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet.py:143
↓ 3 callers
Method
extract_feat
Extract features from points.
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_spconv.py:149
↓ 3 callers
Method
extract_feat
Extract features from points.
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_ssl.py:169
↓ 3 callers
Method
extract_pts_feat
Extract features of points.
mmdet3d/models/detectors/imvotenet.py:290
↓ 3 callers
Method
flip
Flip the boxes in BEV along given BEV direction. In LIDAR coordinates, it flips the y (horizontal) or x (vertical) axis. Args:
mmdet3d/core/bbox/structures/lidar_box3d.py:168
← previous
next →
101–200 of 2,489, ranked by callers