MCPcopy Create free account

hub / github.com/HXMap/HRMapNet / functions

Functions2,680 in github.com/HXMap/HRMapNet

↓ 2 callersMethod_remove_close
Removes point too close within a certain radius from origin. Args: points (np.ndarray | :obj:`BasePoints`): Sweep points.
mmdetection3d/mmdet3d/datasets/pipelines/loading.py:162
↓ 2 callersMethod_remove_close
Removes point too close within a certain radius from origin. Args: points (np.ndarray | :obj:`BasePoints`): Sweep points.
projects/mmdet3d_plugin/datasets/pipelines/loading.py:158
↓ 2 callersFunction_rotation_box2d_jit_
Rotate 2D boxes. Args: corners (np.ndarray): Corners of boxes. angle (float): Rotation angle. rot_mat_T (np.ndarray): Tra
mmdetection3d/mmdet3d/datasets/pipelines/data_augment_utils.py:13
↓ 2 callersMethod_sample_points
Perform point sampling based on inputs. If `indices` is specified, directly sample corresponding points. Else if `target_xyz` is spec
mmdetection3d/mmdet3d/ops/pointnet_modules/point_sa_module.py:105
↓ 2 callersMethod_sample_points
Sample points for each points subset. Args: points (np.ndarray): Points subset to be sampled. sampler (VoxelGenerator
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:1308
↓ 2 callersFunction_select_transform
Select transform. Args: transform (np.ndarray): Transforms to select from. indices (np.ndarray): Mask to indicate which transform
mmdetection3d/mmdet3d/datasets/pipelines/data_augment_utils.py:235
↓ 2 callersMethod_set_group_flag
Set flag according to image aspect ratio. Images with aspect ratio greater than 1 will be set as group 1, otherwise group 0. In 3D da
mmdetection3d/mmdet3d/datasets/custom_3d.py:364
↓ 2 callersMethod_split_point_feats
Split coordinates and features of input points. Args: points (torch.Tensor): Point coordinates with features, wit
mmdetection3d/mmdet3d/models/backbones/base_pointnet.py:21
↓ 2 callersFunction_write_oriented_bbox
Export oriented (around Z axis) scene bbox to meshes. Args: scene_bbox(list[ndarray] or ndarray): xyz pos of center and 3 len
mmdetection3d/mmdet3d/core/visualizer/show_result.py:33
↓ 2 callersMethodadd_bboxes
Add bounding box to visualizer. Args: bbox3d (numpy.array, shape=[M, 7]): 3D bbox (x, y, z, dx, dy, dz, yaw) to b
mmdetection3d/mmdet3d/core/visualizer/open3d_vis.py:388
↓ 2 callersFunctionadd_difficulty_to_annos
(info)
tools/data_converter/kitti_data_utils.py:467
↓ 2 callersFunctionadd_difficulty_to_annos
(info)
mmdetection3d/tools/data_converter/kitti_data_utils.py:467
↓ 2 callersMethodadd_seg_mask
Add segmentation mask to visualizer via per-point colorization. Args: seg_mask_colors (numpy.array, shape=[N, 6]):
mmdetection3d/mmdet3d/core/visualizer/open3d_vis.py:408
↓ 2 callersMethodanchor_target_3d
Compute regression and classification targets for anchors. Args: anchor_list (list[list]): Multi level anchors of each image.
mmdetection3d/mmdet3d/models/dense_heads/train_mixins.py:12
↓ 2 callersMethodaug_test
Test function with augmentation, stage 2. Args: points (list[list[torch.Tensor]], optional): the outer list indic
mmdetection3d/mmdet3d/models/detectors/imvotenet.py:734
↓ 2 callersFunctionaverage_precision
Calculate average precision (for single or multiple scales). Args: recalls (np.ndarray): Recalls with shape of (num_scales, num_dets) \
mmdetection3d/mmdet3d/core/evaluation/indoor_eval.py:8
↓ 2 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_mono_dataset.py:262
↓ 2 callersMethodbbox2result_kitti
Convert results to kitti format for evaluation and test submission. Args: net_outputs (List[np.ndarray]): list of array storing t
mmdetection3d/mmdet3d/datasets/waymo_dataset.py:356
↓ 2 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_mono_dataset.py:377
↓ 2 callersFunctionbbox3d_mapping_back
Map bboxes from testing scale to original image scale. Args: bboxes (:obj:`BaseInstance3DBoxes`): Boxes to be mapped back. scale_
mmdetection3d/mmdet3d/core/bbox/transforms.py:5
↓ 2 callersMethodbegin
mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:252
↓ 2 callersFunctionbox_collision_test
Box collision test. Args: boxes (np.ndarray): Corners of current boxes. qboxes (np.ndarray): Boxes to be avoid colliding.
mmdetection3d/mmdet3d/datasets/pipelines/data_augment_utils.py:31
↓ 2 callersFunctionbuild_roi_extractor
Build RoI feature extractor.
mmdetection3d/mmdet3d/models/builder.py:27
↓ 2 callersFunctionbuild_voxel_encoder
Build voxel encoder.
mmdetection3d/mmdet3d/models/builder.py:87
↓ 2 callersFunctioncalc_square_dist
Calculating square distance between a and b. Args: point_feat_a (Tensor): (B, N, C) Feature vector of each point. point_feat_b (T
mmdetection3d/mmdet3d/ops/furthest_point_sample/utils.py:4
↓ 2 callersFunctioncam_nusc_box_to_global
Convert the box from camera to global coordinate. Args: info (dict): Info for a specific sample data, including the calibrati
mmdetection3d/mmdet3d/datasets/nuscenes_mono_dataset.py:686
↓ 2 callersFunctioncam_nusc_box_to_global
Convert the box from camera to global coordinate. Args: info (dict): Info for a specific sample data, including the calibra
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:675
↓ 2 callersFunctioncenter_to_corner_box3d
Convert kitti locations, dimensions and angles to corners. Args: centers (np.ndarray): Locations in kitti label file with shape (N, 3).
mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:206
↓ 2 callersMethodcheck_map
(self, device, epoch, status)
projects/mmdet3d_plugin/hrmap/global_map.py:123
↓ 2 callersFunctioncircle_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
mmdetection3d/mmdet3d/core/post_processing/box3d_nms.py:181
↓ 2 callersMethodcls_seg
Classify each points.
mmdetection3d/mmdet3d/models/decode_heads/decode_head.py:101
↓ 2 callersFunctioncollect_results_gpu
(result_part, size)
projects/mmdet3d_plugin/bevformer/apis/test.py:163
↓ 2 callersFunctioncompute_statistics_jit
(overlaps, gt_datas, dt_datas,
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:163
↓ 2 callersFunctionconv1x1
1x1 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:136
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:116
↓ 2 callersMethodconvert
Convert action.
tools/data_converter/waymo_converter.py:92
↓ 2 callersFunctionconvert_SyncBN
Convert config's naiveSyncBN to BN. Args: config (str or :obj:`mmcv.Config`): Config file path or the config object.
mmdetection3d/mmdet3d/apis/inference.py:20
↓ 2 callersMethodconvert_range_image_to_point_cloud
Convert range images to point cloud. Args: frame (:obj:`Frame`): Open dataset frame. range_images (dict): Mapping fro
tools/data_converter/waymo_converter.py:392
↓ 2 callersMethodconvert_range_image_to_point_cloud
Convert range images to point cloud. Args: frame (:obj:`Frame`): Open dataset frame. range_images (dict): Mapping fro
mmdetection3d/tools/data_converter/waymo_converter.py:389
↓ 2 callersFunctionconvert_reduce_type
mmdetection3d/mmdet3d/ops/voxel/src/voxelization.h:97
↓ 2 callersMethodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`Box3DMode`): The target Box mode. rt_mat (np.ndarray | torch.Tensor):
mmdetection3d/mmdet3d/core/bbox/structures/depth_box3d.py:233
↓ 2 callersMethodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Point mode. rt_mat (np.ndarray | torch.Tensor)
mmdetection3d/mmdet3d/core/points/lidar_points.py:53
↓ 2 callersMethodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Point mode. rt_mat (np.ndarray | torch.Tensor)
mmdetection3d/mmdet3d/core/points/cam_points.py:53
↓ 2 callersMethodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Point mode. rt_mat (np.ndarray | torch.Tensor)
mmdetection3d/mmdet3d/core/points/depth_points.py:53
↓ 2 callersMethodcreate_frustum
(self,fH,fW,img_metas)
projects/mmdet3d_plugin/maptr/modules/encoder.py:61
↓ 2 callersMethodcreate_frustum
Generate the frustum template for each image. Args: depth_cfg (tuple(float)): Config of grid alone depth axis in format
projects/mmdet3d_plugin/maptr/modules/encoder.py:354
↓ 2 callersFunctioncreate_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:109
↓ 2 callersMethodcreate_map
(self, device, status)
projects/mmdet3d_plugin/hrmap/global_map.py:162
↓ 2 callersFunctioncustom_multi_gpu_test
Test model with multiple gpus. This method tests model with multiple gpus and collects the results under two different modes: gpu and cpu mo
projects/mmdet3d_plugin/bevformer/apis/test.py:45
↓ 2 callersFunctioncustom_polyline_score
each line with 1 meter width pred_lines: num_preds, List [npts, 2] gt_lines: num_gts, npts, 2 gt_mask: num_gts, npts,
projects/mmdet3d_plugin/datasets/map_utils/tpfp_chamfer.py:9
↓ 2 callersFunctioncustom_train_model
A function wrapper for launching model training according to cfg. Because we need different eval_hook in runner. Should be deprecated in the
projects/mmdet3d_plugin/bevformer/apis/train.py:11
↓ 2 callersMethoddecode_corners
Decode center, size residuals and class to corners. Only useful for axis-aligned bounding boxes, so angle isn't considered. Args:
mmdetection3d/mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:102
↓ 2 callersFunctiondenormalize_2d_bbox
(bboxes, pc_range)
projects/mmdet3d_plugin/core/bbox/coders/nms_free_coder.py:55
↓ 2 callersMethoddevice
str: The device of the boxes are on.
mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:343
↓ 2 callersFunctiondiv_up
(m, n)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:14
↓ 2 callersFunctiondraw_visible_polyline_cv2
Draw a polyline onto an image using given line segments. Args: line: Array of shape (K, 2) representing the coordinates of line. v
tools/maptrv2/av2_vis_pred.py:81
↓ 2 callersMethodencode
(self)
projects/mmdet3d_plugin/core/bbox/coders/nms_free_coder.py:99
↓ 2 callersMethodenlarged_box
Enlarge the length, width and height boxes. Args: extra_width (float | torch.Tensor): Extra width to enlarge the box. Re
mmdetection3d/mmdet3d/core/bbox/structures/lidar_box3d.py:243
↓ 2 callersMethodevaluate
Evaluation in KITTI protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str]): M
mmdetection3d/mmdet3d/datasets/waymo_dataset.py:216
↓ 2 callersFunctionextract_2d_info
Extract image augmentation information from img_meta. Args: img_meta(dict): Meta info regarding data transformation. tensor(torch
mmdetection3d/mmdet3d/models/fusion_layers/coord_transform.py:94
↓ 2 callersMethodextract_feat
Extract features from points.
mmdetection3d/mmdet3d/models/segmentors/encoder_decoder.py:70
↓ 2 callersMethodextract_feat
Extract features from points.
mmdetection3d/mmdet3d/models/detectors/voxelnet.py:40
↓ 2 callersMethodextract_feat
Extract features from images and points.
mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py:205
↓ 2 callersMethodextract_feat
Extract 3d features from the backbone -> fpn -> 3d projection. Args: img (torch.Tensor): Input images of shape (N, C_in, H, W).
mmdetection3d/mmdet3d/models/detectors/imvoxelnet.py:37
↓ 2 callersMethodextract_feat
Directly extract features from the backbone+neck. Args: points (torch.Tensor): Input points.
mmdetection3d/mmdet3d/models/detectors/single_stage.py:55
↓ 2 callersMethodextract_lidar_feat
(self,points)
projects/mmdet3d_plugin/maptr/detectors/maptr.py:215
↓ 2 callersMethodextract_lidar_feat
(self,points)
projects/mmdet3d_plugin/maptr/detectors/maptrv2.py:277
↓ 2 callersFunctionfilter_by_sample_token
(ori_eval_boxes, valid_sample_tokens=[], verbose=False)
projects/mmdet3d_plugin/datasets/nuscnes_eval.py:426
↓ 2 callersFunctionfilter_eval_boxes_by_overlap
Applies filtering to boxes. basedon overlap . :param nusc: An instance of the NuScenes class. :param eval_boxes: An instance of the EvalB
projects/mmdet3d_plugin/datasets/nuscnes_eval.py:434
↓ 2 callersMethodflip
Flip the boxes in BEV along given BEV direction. In Depth coordinates, it flips x (horizontal) or y (vertical) axis. Args:
mmdetection3d/mmdet3d/core/bbox/structures/depth_box3d.py:177
↓ 2 callersMethodflip
Flip the boxes in BEV along given BEV direction.
mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:146
↓ 2 callersMethodflip
Flip the boxes in BEV along given BEV direction.
mmdetection3d/mmdet3d/core/points/lidar_points.py:29
↓ 2 callersMethodflip
Flip the boxes in BEV along given BEV direction.
mmdetection3d/mmdet3d/core/points/cam_points.py:29
↓ 2 callersMethodflip
Flip the boxes in BEV along given BEV direction.
mmdetection3d/mmdet3d/core/points/depth_points.py:29
↓ 2 callersMethodformat_results
Format the results to pkl file. Args: outputs (list[dict]): Testing results of the dataset. pklfile_prefix (str | Non
mmdetection3d/mmdet3d/datasets/kitti_dataset.py:243
↓ 2 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[tuple | numpy.ndarray]): Testing results of
mmdetection3d/mmdet3d/datasets/nuscenes_mono_dataset.py:445
↓ 2 callersMethodforward
(ctx, input)
mmdetection3d/mmdet3d/ops/norm.py:11
↓ 2 callersMethodforward
Placeholder of forward function.
mmdetection3d/mmdet3d/models/decode_heads/decode_head.py:67
↓ 2 callersMethodforward_pts_train
Forward function' Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxes_3d (list[:obj:`BaseIn
projects/mmdet3d_plugin/maptr/detectors/maptr.py:118
↓ 2 callersMethodforward_pts_train
Forward function' Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxes_3d (list[:obj:`Bas
projects/mmdet3d_plugin/bevformer/detectors/bevformer.py:112
↓ 2 callersMethodforward_single
(self, points, coors)
mmdetection3d/mmdet3d/ops/voxel/scatter_points.py:73
↓ 2 callersMethodforward_test
Calls either simple_test or aug_test depending on the length of outer list of points. If len(points) == 1, call simple_test. Otherwise
mmdetection3d/mmdet3d/models/segmentors/base.py:26
↓ 2 callersMethodforward_test
(self, img_metas, img=None,points=None, **kwargs)
projects/mmdet3d_plugin/maptr/detectors/maptr.py:284
↓ 2 callersMethodforward_test
(self, img_metas, img=None,points=None, **kwargs)
projects/mmdet3d_plugin/maptr/detectors/maptrv2.py:350
↓ 2 callersMethodforward_test
(self, img_metas, img=None, **kwargs)
projects/mmdet3d_plugin/bevformer/detectors/bevformer.py:233
↓ 2 callersFunctionfuse_conv_bn
During inference, the functionary of batch norm layers is turned off but only the mean and var alone channels are used, which exposes the chance t
tools/misc/fuse_conv_bn.py:10
↓ 2 callersFunctionfuse_conv_bn
During inference, the functionary of batch norm layers is turned off but only the mean and var alone channels are used, which exposes the chance t
mmdetection3d/tools/misc/fuse_conv_bn.py:10
↓ 2 callersFunctionfuse_module
(m)
mmdetection3d/tools/misc/fuse_conv_bn.py:26
↓ 2 callersFunctionget_2d_boxes
Get the 2D annotation records for a given info. Args: info: Information of the given sample data. occluded: Integer (0, 1, 2, 3)
tools/data_converter/kitti_converter.py:381
↓ 2 callersFunctionget_2d_boxes
Get the 2D annotation records for a given info. Args: info: Information of the given sample data. occluded: Integer (0, 1, 2, 3)
mmdetection3d/tools/data_converter/kitti_converter.py:379
↓ 2 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdetection3d/mmdet3d/datasets/kitti_dataset.py:139
↓ 2 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdetection3d/mmdet3d/datasets/scannet_dataset.py:123
↓ 2 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_converter.py:113
↓ 2 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.
mmdetection3d/tools/data_converter/nuscenes_converter.py:103
↓ 2 callersMethodget_bboxes
Generate bboxes from vote head predictions. Args: points (torch.Tensor): Input points. bbox_preds (dict): Predictions
mmdetection3d/mmdet3d/models/roi_heads/bbox_heads/h3d_bbox_head.py:440
↓ 2 callersMethodget_bboxes
Generate bboxes from bbox head predictions. Args: preds_dicts (tuple[list[dict]]): Prediction results. img_metas (list
projects/mmdet3d_plugin/maptr/dense_heads/maptr_head.py:765
↓ 2 callersMethodget_bev_features
obtain bev features.
projects/mmdet3d_plugin/bevformer/modules/transformer.py:104
↓ 2 callersFunctionget_calib_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:72
↓ 2 callersFunctionget_calib_path
(idx, prefix, training=True, relative_path=True,
mmdetection3d/tools/data_converter/kitti_data_utils.py:72
↓ 2 callersMethodget_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
mmdetection3d/mmdet3d/datasets/lyft_dataset.py:125
← previousnext →301–400 of 2,680, ranked by callers