MCPcopy Create free account

hub / github.com/HXMap/HRMapNet / functions

Functions2,680 in github.com/HXMap/HRMapNet

↓ 6 callersMethodgrid_anchors
Generate grid anchors in multiple feature levels. Args: featmap_sizes (list[tuple]): List of feature map sizes in
mmdetection3d/mmdet3d/core/anchor/anchor_3d_generator.py:83
↓ 6 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
projects/mmdet3d_plugin/bevformer/modules/decoder.py:34
↓ 6 callersMethodloss
Compute loss. Args: bbox_preds (dict): Predictions from forward of h3d bbox head. points (list[torch.Tensor]): Input
mmdetection3d/mmdet3d/models/roi_heads/bbox_heads/h3d_bbox_head.py:312
↓ 6 callersMethodmatch_point2plane
Match points to plane. Args: plane (torch.Tensor): Equation of the plane. points (torch.Tensor): Points of input.
mmdetection3d/mmdet3d/models/roi_heads/mask_heads/primitive_head.py:716
↓ 6 callersMethodrotate
Rotate boxes with points (optional) with the given angle or \ rotation matrix. Args: angles (float | torch.Tensor | np.nd
mmdetection3d/mmdet3d/core/bbox/structures/lidar_box3d.py:117
↓ 6 callersMethodrotate
Rotate boxes with points (optional) with the given angle or \ rotation matrix. Args: angle (float | torch.Tensor | np.nda
mmdetection3d/mmdet3d/core/bbox/structures/depth_box3d.py:119
↓ 6 callersMethodrun
mPtr[((i1 * mShape[1] + i2) * mShape[2] + i3) * mShape[3] + i4];
mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:481
↓ 6 callersMethodsample
Sample specific number of ground truths. Args: num (int): Sampled number. Returns: list[dict]: Sampled groun
mmdetection3d/mmdet3d/datasets/pipelines/dbsampler.py:67
↓ 6 callersFunctionshow_seg_result
Convert results into format that is directly readable for meshlab. Args: points (np.ndarray): Points. gt_seg (np.ndarray): Ground
mmdetection3d/mmdet3d/core/visualizer/show_result.py:128
↓ 6 callersMethodsplit_pred
Split predicted features to specific parts. Args: cls_preds (torch.Tensor): Class predicted features to split. reg_pr
mmdetection3d/mmdet3d/core/bbox/coders/anchor_free_bbox_coder.py:88
↓ 5 callersMethod__init__
(self, embed_dims, num_heads, window_size,
projects/mmdet3d_plugin/models/backbones/swin.py:114
↓ 5 callersMethod_init_branch
Initialize conv layers as a prediction branch.
mmdetection3d/mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:219
↓ 5 callersMethod_one_type_line_geom_to_instances
(self, line_geom)
projects/mmdet3d_plugin/datasets/av2_map_dataset.py:742
↓ 5 callersMethodanchor_target_single_assigner
Assign anchors and encode positive anchors. Args: bbox_assigner (BaseAssigner): assign positive and negative boxes. a
mmdetection3d/mmdet3d/models/dense_heads/train_mixins.py:238
↓ 5 callersFunctionbox3d_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
mmdetection3d/mmdet3d/core/post_processing/box3d_nms.py:9
↓ 5 callersFunctionbuild_segmentor
Build segmentor.
mmdetection3d/mmdet3d/models/builder.py:61
↓ 5 callersFunctioncustom_build_dataset
(cfg, default_args=None)
projects/mmdet3d_plugin/datasets/builder.py:123
↓ 5 callersFunctioneval_map
(gen_results, annotations, cls_gens, cls_gts, threshold=0.
projects/mmdet3d_plugin/datasets/map_utils/mean_ap.py:228
↓ 5 callersMethodextract_feat
Extract features from images and points.
projects/mmdet3d_plugin/maptr/detectors/maptr.py:110
↓ 5 callersMethodextract_feat
Extract features from images and points.
projects/mmdet3d_plugin/bevformer/detectors/bevformer.py:104
↓ 5 callersMethodextract_feats
Extract features of multiple samples.
mmdetection3d/mmdet3d/models/detectors/h3dnet.py:171
↓ 5 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[tuple | numpy.ndarray]): Testing results o
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:446
↓ 5 callersFunctionget_kitti_info_path
(idx, prefix, info_type='image_2', fil
tools/data_converter/kitti_data_utils.py:17
↓ 5 callersFunctionget_kitti_info_path
(idx, prefix, info_type='image_2', fil
mmdetection3d/tools/data_converter/kitti_data_utils.py:17
↓ 5 callersFunctionlimit_period
Limit the value into a period for periodic function. Args: val (torch.Tensor): The value to be converted. offset (float, optional
mmdetection3d/mmdet3d/core/bbox/structures/utils.py:7
↓ 5 callersFunctionprint_str
(value, *arg, sstream=None)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:579
↓ 5 callersMethodshow
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
mmdetection3d/mmdet3d/datasets/kitti_dataset.py:695
↓ 5 callersMethodshow
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:598
↓ 4 callersMethod_GetNdArray
(self, a)
mmdetection3d/mmdet3d/ops/spconv/test_utils.py:19
↓ 4 callersMethod__init__
(self, reduction='mean', loss_weight=1.0)
projects/mmdet3d_plugin/maptr/losses/map_loss.py:363
↓ 4 callersMethod__init__
Args: input_ch(int) : the number of input channel out_features (list[str]): name of the layers whose outputs should
projects/mmdet3d_plugin/models/backbones/vovnet.py:270
↓ 4 callersMethod_assign_primitive_line_targets
Generate targets of line primitive. Args: point_mask (torch.Tensor): Tensor to store the ground truth of mask.
mmdetection3d/mmdet3d/models/roi_heads/mask_heads/primitive_head.py:802
↓ 4 callersFunction_calculate_num_points_in_gt
(data_path, infos, relative_path,
mmdetection3d/tools/data_converter/kitti_converter.py:46
↓ 4 callersFunction_draw_points
Draw points on visualizer. Args: points (numpy.array | torch.tensor, shape=[N, 3+C]): points to visualize. vis (:obj:
mmdetection3d/mmdet3d/core/visualizer/open3d_vis.py:14
↓ 4 callersMethod_duplicate_to_list
Repeat x `num` times to form a list.
mmdetection3d/mmdet3d/datasets/s3dis_dataset.py:414
↓ 4 callersMethod_gather_feat
Given feats and indexes, returns the gathered feats. Args: feats (torch.Tensor): Features to be transposed and gathered
mmdetection3d/mmdet3d/core/bbox/coders/centerpoint_bbox_coders.py:41
↓ 4 callersFunction_get_segmentor_cfg
Grab configs necessary to create a segmentor. These are deep copied to allow for safe modification of parameters without influencing other te
mmdetection3d/tests/test_models/test_segmentors.py:36
↓ 4 callersMethod_one_type_line_geom_to_instances
(self, line_geom)
tools/maptrv2/custom_nusc_map_converter.py:582
↓ 4 callersFunction_read_imageset_file
(path)
tools/data_converter/kitti_converter.py:40
↓ 4 callersFunction_write_obj
Write points into ``obj`` format for meshlab visualization. Args: points (np.ndarray): Points in shape (N, dim). out_filename (st
mmdetection3d/mmdet3d/core/visualizer/show_result.py:11
↓ 4 callersFunctionaligned_3d_nms
3d nms for aligned boxes. Args: boxes (torch.Tensor): Aligned box with shape [n, 6]. scores (torch.Tensor): Scores of each box.
mmdetection3d/mmdet3d/core/post_processing/box3d_nms.py:130
↓ 4 callersMethodbbox2result_kitti
Convert 3D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray]): Li
mmdetection3d/mmdet3d/datasets/kitti_dataset.py:365
↓ 4 callersFunctionbev_pool_v2
(depth, feat, ranks_depth, ranks_feat, ranks_bev, bev_feat_shape, interval_starts, interval_le
mmdetection3d/mmdet3d/ops/bev_pool_v2/bev_pool.py:86
↓ 4 callersFunctionbuild_sampler
(cfg, default_args)
projects/mmdet3d_plugin/datasets/samplers/sampler.py:6
↓ 4 callersFunctioncamera_to_lidar
Convert points in camera coordinate to lidar coordinate. Args: points (np.ndarray, shape=[N, 3]): Points in camera coordinate. r_
mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:9
↓ 4 callersFunctioncollect_env
Collect the information of the running environments.
mmdetection3d/mmdet3d/utils/collect_env.py:10
↓ 4 callersMethodcorners
torch.Tensor: a tensor with 8 corners of each box.
mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:128
↓ 4 callersMethoddense
(self, channels_first=True)
mmdetection3d/mmdet3d/ops/spconv/structure.py:49
↓ 4 callersFunctioneval_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
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:451
↓ 4 callersMethodextract_img_feat
Directly extract features from the img backbone+neck.
mmdetection3d/mmdet3d/models/detectors/imvotenet.py:270
↓ 4 callersFunctionformat_res_gt_by_classes
(result_path, gen_results, annotations,
projects/mmdet3d_plugin/datasets/map_utils/mean_ap.py:145
↓ 4 callersMethodforward_train
Forward function for training. Args: points (list[torch.Tensor]): List of points of shape [N, C]. img_metas (list): I
mmdetection3d/mmdet3d/models/segmentors/encoder_decoder.py:147
↓ 4 callersFunctionget_color
Provides the default colors based on the category names. This method works for the general nuScenes categories, as well as the nuScenes det
tools/analysis_tools/visual.py:320
↓ 4 callersFunctionget_loading_pipeline
Only keep loading image, points and annotations related configuration. Args: pipeline (list[dict] | list[:obj:`Pipeline`]): D
mmdetection3d/mmdet3d/datasets/utils.py:53
↓ 4 callersFunctionget_mAP
(prec)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:572
↓ 4 callersMethodget_surface_line_center
Compute surface and line center of bounding boxes. Returns: torch.Tensor: Surface and line center of bounding boxes.
mmdetection3d/mmdet3d/core/bbox/structures/depth_box3d.py:295
↓ 4 callersMethodinit_weights
Initialize weights of shared MLP layers and BN layers.
mmdetection3d/mmdet3d/ops/paconv/paconv.py:224
↓ 4 callersMethodmatch_point2line
Match points to corresponding line. Args: points (torch.Tensor): Points of input. corners (torch.Tensor): Eight corne
mmdetection3d/mmdet3d/models/roi_heads/mask_heads/primitive_head.py:675
↓ 4 callersMethodmulticlass_nms_single
Multi-class nms in single batch. Args: obj_scores (torch.Tensor): Objectness score of bounding boxes. sem_scores (tor
mmdetection3d/mmdet3d/models/dense_heads/vote_head.py:605
↓ 4 callersFunctionobtain_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:323
↓ 4 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
mmdetection3d/tools/data_converter/nuscenes_converter.py:277
↓ 4 callersFunctionpoint_sample
Obtain image features using points. Args: img_meta (dict): Meta info. img_features (torch.Tensor): 1 x C x H x W image features.
mmdetection3d/mmdet3d/models/fusion_layers/point_fusion.py:14
↓ 4 callersFunctionproc_line
(line,ego_SE3_city)
tools/maptrv2/custom_av2_map_converter.py:439
↓ 4 callersFunctionproc_polygon
(polygon, ego_SE3_city)
tools/maptrv2/custom_av2_map_converter.py:427
↓ 4 callersMethodproc_polygon
(self, polygon, ego_SE3_city)
projects/mmdet3d_plugin/datasets/av2_map_dataset.py:598
↓ 4 callersMethodrender
Renders various PR and TP curves. :param metrics: DetectionMetrics instance. :param md_list: DetectionMetricDataList instance
projects/mmdet3d_plugin/datasets/nuscnes_eval.py:674
↓ 4 callersMethodshow
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
mmdetection3d/mmdet3d/datasets/sunrgbd_dataset.py:180
↓ 4 callersFunctiontrangle_area
(a, b, c)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:19
↓ 4 callersMethodvectormap_pipeline
`example` type: <class 'dict'> keys: 'img_metas', 'gt_bboxes_3d', 'gt_labels_3d', 'img'; all keys type is 'Data
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:1151
↓ 4 callersMethodvectormap_pipeline
`example` type: <class 'dict'> keys: 'img_metas', 'gt_bboxes_3d', 'gt_labels_3d', 'img'; all keys type is 'Data
projects/mmdet3d_plugin/datasets/nuscenes_map_dataset.py:969
↓ 3 callersMethod__init__
( self, mlp_channels, paconv_num_kernels, num_point=None, radius=None,
mmdetection3d/mmdet3d/ops/pointnet_modules/paconv_sa_module.py:120
↓ 3 callersMethod__init__
(self)
mmdetection3d/mmdet3d/ops/furthest_point_sample/points_sampler.py:146
↓ 3 callersMethod__init__
(self, in_channels=4, feat_channels=[], with_distance=False
mmdetection3d/mmdet3d/models/voxel_encoders/voxel_encoder.py:316
↓ 3 callersMethod__init__
(self, *args, return_intermediate=False, query_pos_embedding='none', num_pts
projects/mmdet3d_plugin/maptr/modules/decoder.py:57
↓ 3 callersMethod_add_conv_branch
Add shared or separable branch.
mmdetection3d/mmdet3d/models/dense_heads/base_conv_bbox_head.py:85
↓ 3 callersFunction_calculate_num_points_in_gt
(data_path, infos, relative_path,
tools/data_converter/kitti_converter.py:46
↓ 3 callersFunction_check_bbox_head
(bbox_cfg, bbox_head)
mmdetection3d/tests/test_runtime/test_config.py:175
↓ 3 callersFunction_check_primitive_extractor
(config, primitive_extractor)
mmdetection3d/tests/test_runtime/test_config.py:262
↓ 3 callersFunction_demo_mm_inputs
Create a superset of inputs needed to run test or train batches. Args: input_shape (tuple): input batch dimensions n
mmdetection3d/tests/test_models/test_forward.py:143
↓ 3 callersFunction_draw_bboxes
Draw bbox on visualizer and change the color of points inside bbox3d. Args: bbox3d (numpy.array | torch.tensor, shape=[M, 7]):
mmdetection3d/mmdet3d/core/visualizer/open3d_vis.py:59
↓ 3 callersMethod_evaluate_single
Evaluation for a single model in Lyft protocol. Args: result_path (str): Path of the result file. logger (logging.Log
mmdetection3d/mmdet3d/datasets/lyft_dataset.py:269
↓ 3 callersFunction_generate_sunrgbd_dataset_config
()
mmdetection3d/tests/test_data/test_datasets/test_sunrgbd_dataset.py:9
↓ 3 callersFunction_generate_waymo_val_dataset_config
()
mmdetection3d/tests/test_data/test_datasets/test_waymo_dataset.py:65
↓ 3 callersMethod_get_axis_align_matrix
Get axis_align_matrix from info. If not exist, return identity mat. Args: info (dict): one data info term. Returns:
mmdetection3d/mmdet3d/datasets/scannet_dataset.py:194
↓ 3 callersFunction_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
mmdetection3d/tests/test_models/test_heads/test_heads.py:47
↓ 3 callersFunction_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
mmdetection3d/tests/test_models/test_heads/test_heads.py:101
↓ 3 callersFunction_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
mmdetection3d/tests/test_models/test_heads/test_heads.py:119
↓ 3 callersMethod_one_type_line_geom_to_instances
(self, line_geom)
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:739
↓ 3 callersMethod_one_type_line_geom_to_instances
(self, line_geom)
projects/mmdet3d_plugin/datasets/nuscenes_map_dataset.py:616
↓ 3 callersMethod_one_type_line_geom_to_vectors
(self, line_geom)
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:725
↓ 3 callersMethod_one_type_line_geom_to_vectors
(self, line_geom)
projects/mmdet3d_plugin/datasets/nuscenes_map_dataset.py:602
↓ 3 callersMethodadd_sin_difference
Convert the rotation difference to difference in sine function. Args: boxes1 (torch.Tensor): Original Boxes in shape (NxC), where
mmdetection3d/mmdet3d/models/dense_heads/anchor3d_head.py:278
↓ 3 callersMethodanchors_single_range
Generate anchors in a single range. Args: feature_size (list[float] | tuple[float]): Feature map size. It is eith
mmdetection3d/mmdet3d/core/anchor/anchor_3d_generator.py:148
↓ 3 callersMethodangle2class
Convert continuous angle to a discrete class and a residual. Convert continuous angle to a discrete class and a small regression numb
mmdetection3d/mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:204
↓ 3 callersMethodbbox2result_kitti2d
Convert 2D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray]): Li
mmdetection3d/mmdet3d/datasets/kitti_dataset.py:480
↓ 3 callersFunctionbbox3d2roi
Convert a list of bounding boxes to roi format. Args: bbox_list (list[torch.Tensor]): A list of bounding boxes corresponding
mmdetection3d/mmdet3d/core/bbox/transforms.py:27
↓ 3 callersFunctionbbox_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
mmdetection3d/mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:95
↓ 3 callersFunctionbev_pool
(feats, coords, B, D, H, W)
mmdetection3d/mmdet3d/ops/bev_pool/bev_pool.py:83
↓ 3 callersFunctioncenter_to_corner_box2d
Convert kitti locations, dimensions and angles to corners. format: center(xy), dims(xy), angles(clockwise when positive) Args: center
mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:100
↓ 3 callersMethodclass2angle
Inverse function to angle2class. Args: angle_cls (torch.Tensor): Angle class to decode. angle_res (torch.Tensor): Ang
mmdetection3d/mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:225
← previousnext →101–200 of 2,680, ranked by callers