MCPcopy Create free account

hub / github.com/HXMap/HRMapNet / functions

Functions2,680 in github.com/HXMap/HRMapNet

↓ 1 callersMethod_load_points
Private function to load point clouds data. Args: lidar_path (str): Filename of point clouds data. Returns:
projects/mmdet3d_plugin/datasets/pipelines/loading.py:297
↓ 1 callersMethod_load_semantic_seg_3d
Private function to load 3D semantic segmentation annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset
mmdetection3d/mmdet3d/datasets/pipelines/loading.py:600
↓ 1 callersMethod_loss_regularization_forward_train
Calculate regularization loss for model weight in training.
mmdetection3d/mmdet3d/models/segmentors/encoder_decoder.py:126
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:27
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:80
↓ 1 callersFunction_parse_coco_ann_info
(ann_info)
tools/data_converter/create_gt_database.py:32
↓ 1 callersFunction_parse_coco_ann_info
(ann_info)
mmdetection3d/tools/data_converter/create_gt_database.py:32
↓ 1 callersMethod_patch_points_sampling
Patch points sampling. First sample a valid patch. Then sample points within that patch to a certain number. Args:
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:1076
↓ 1 callersFunction_points_in_convex_polygon_3d_jit
Args: points (np.ndarray): Input points with shape of (num_points, 3). polygon_surfaces (np.ndarray): Polygon surfaces with shape
mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:719
↓ 1 callersMethod_points_random_sampling
Points random sampling. Sample points to a certain number. Args: points (np.ndarray | :obj:`BasePoints`): 3D Points.
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:860
↓ 1 callersFunction_points_to_voxel_kernel
convert kitti points(N, >=3) to voxels. Args: points (np.ndarray): [N, ndim]. points[:, :3] contain xyz points and \ points[:
mmdetection3d/mmdet3d/core/voxel/voxel_generator.py:212
↓ 1 callersFunction_points_to_voxel_reverse_kernel
convert kitti points(N, >=3) to voxels. Args: points (np.ndarray): [N, ndim]. points[:, :3] contain xyz points and \ points[:
mmdetection3d/mmdet3d/core/voxel/voxel_generator.py:138
↓ 1 callersFunction_poly2mask
(mask_ann, img_h, img_w)
tools/data_converter/create_gt_database.py:16
↓ 1 callersFunction_poly2mask
(mask_ann, img_h, img_w)
mmdetection3d/tools/data_converter/create_gt_database.py:16
↓ 1 callersFunction_prepare_data
(gt_annos, dt_annos, current_class, difficulty)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:420
↓ 1 callersMethod_rand_another
Randomly get another item with the same flag. Returns: int: Another index of item with the same flag.
mmdetection3d/mmdet3d/datasets/custom_3d_seg.py:349
↓ 1 callersMethod_random_scale
Private function to randomly set the scale factor. Args: input_dict (dict): Result dict from loading pipeline. Returns:
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:624
↓ 1 callersMethod_reset
Reset the index of batchsampler to zero.
mmdetection3d/mmdet3d/datasets/pipelines/dbsampler.py:59
↓ 1 callersMethod_rot_bbox_points
Private function to rotate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Return
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:574
↓ 1 callersMethod_rot_points
Private function to rotate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. rot
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:453
↓ 1 callersFunction_rotation_matrix_3d_
Get the 3D rotation matrix. Args: rot_mat_T (np.ndarray): Transposed rotation matrix. angle (float): Rotation angle. axis
mmdetection3d/mmdet3d/datasets/pipelines/data_augment_utils.py:254
↓ 1 callersMethod_sample
Sample specific number of ground truths and return indices. Args: num (int): Sampled number. Returns: list[i
mmdetection3d/mmdet3d/datasets/pipelines/dbsampler.py:42
↓ 1 callersMethod_sample_neg
Randomly sample some negative samples.
mmdetection3d/mmdet3d/core/bbox/samplers/iou_neg_piecewise_sampler.py:57
↓ 1 callersMethod_sample_pos
Randomly sample some positive samples.
mmdetection3d/mmdet3d/core/bbox/samplers/iou_neg_piecewise_sampler.py:47
↓ 1 callersMethod_sample_sub_sequence
randomly split sub-sequences in a whole sequence
projects/mmdet3d_plugin/datasets/samplers/group_sampler.py:240
↓ 1 callersMethod_scale_bbox_points
Private function to scale bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Returns
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:602
↓ 1 callersMethod_semantic_forward_train
Train semantic head. Args: x (torch.Tensor): Point-wise semantic features for segmentation voxels_dict (dict): Contai
mmdetection3d/mmdet3d/models/roi_heads/part_aggregation_roi_head.py:305
↓ 1 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_seg.py:443
↓ 1 callersMethod_set_sequence_group_flag
Set each sequence to be a different group
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:1081
↓ 1 callersMethod_sliding_patch_generation
Sampling points in a sliding window fashion. First sample patches to cover all the input points. Then sample points in each patch to
mmdetection3d/mmdet3d/models/segmentors/encoder_decoder.py:218
↓ 1 callersMethod_topk
Get indexes based on scores. Args: scores (torch.Tensor): scores with the shape of [B, N, W, H]. K (int): Number to b
mmdetection3d/mmdet3d/core/bbox/coders/centerpoint_bbox_coders.py:62
↓ 1 callersMethod_trans_bbox_points
Private function to translate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Ret
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:555
↓ 1 callersMethod_trans_points
Private function to translate points. Args: input_dict (dict): Result dict from loading pipeline. trans_factor (np.nd
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:441
↓ 1 callersFunctionadd_mim_extention
Add extra files that are required to support MIM into the package. These files will be added by creating a symlink to the originals if the pa
mmdetection3d/setup.py:142
↓ 1 callersFunctionadd_plot_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:112
↓ 1 callersFunctionadd_plot_parser
(subparsers)
mmdetection3d/tools/analysis_tools/analyze_logs.py:112
↓ 1 callersFunctionadd_rotation_noise
(extrinsics, std=0.01, mean=0.0)
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:27
↓ 1 callersFunctionadd_rotation_noise
(extrinsics, std=0.01, mean=0.0)
projects/mmdet3d_plugin/datasets/nuscenes_map_dataset.py:27
↓ 1 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/fcos_mono3d_head.py:194
↓ 1 callersFunctionadd_time_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:142
↓ 1 callersFunctionadd_time_parser
(subparsers)
mmdetection3d/tools/analysis_tools/analyze_logs.py:142
↓ 1 callersFunctionadd_translation_noise
(extrinsics, std=0.01, mean=0.0)
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:63
↓ 1 callersFunctionadd_translation_noise
(extrinsics, std=0.01, mean=0.0)
projects/mmdet3d_plugin/datasets/nuscenes_map_dataset.py:63
↓ 1 callersFunctionarea
(int_pts, num_of_inter)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:25
↓ 1 callersFunctionassign_kernel_withoutk
Pre-compute features with weight matrices in weight bank. This function is used before cuda op assign_score_withk in CUDA version PAConv. Arg
mmdetection3d/mmdet3d/ops/paconv/utils.py:45
↓ 1 callersFunctionassign_score
Perform weighted sum to aggregate output features according to scores. This function is used in non-CUDA version of PAConv. Compared to the c
mmdetection3d/mmdet3d/ops/paconv/utils.py:19
↓ 1 callersMethodattn_bev_encode
( self, mlvl_feats, bev_queries, bev_h, bev_w,
projects/mmdet3d_plugin/maptr/modules/transformer.py:171
↓ 1 callersMethodaug_test
Test with augmentations. Args: points (list[torch.Tensor]): List of points of shape [B, N, 3+C]. img_metas (list[list
mmdetection3d/mmdet3d/models/segmentors/encoder_decoder.py:425
↓ 1 callersMethodaug_test_img_only
r"""Test function with augmentation, image network pretrain. May refer to `<https://github.com/open-mmlab/mmdetection/blob/master/mmdet/models
mmdetection3d/mmdet3d/models/detectors/imvotenet.py:702
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton. The function implementation process is as follows: - step 1: map features
mmdetection3d/mmdet3d/models/detectors/centerpoint.py:87
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton.
mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py:438
↓ 1 callersFunctionaverage_precision
Calculate average precision (for single or multiple scales). Args: recalls (ndarray): shape (num_scales, num_dets) or (num_dets, )
projects/mmdet3d_plugin/datasets/map_utils/mean_ap.py:14
↓ 1 callersFunctionaxis_aligned_bbox_overlaps_3d
Calculate overlap between two set of axis aligned 3D bboxes. If ``is_aligned`` is ``False``, then calculate the overlaps between each bbox of
mmdetection3d/mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:202
↓ 1 callersFunctionaxis_aligned_iou_loss
Calculate the IoU loss (1-IoU) of two set of axis aligned bounding boxes. Note that predictions and targets are one-to-one corresponded. Args
mmdetection3d/mmdet3d/models/losses/axis_aligned_iou_loss.py:11
↓ 1 callersMethodbackward
(ctx, out_grad)
mmdetection3d/mmdet3d/ops/bev_pool_v2/bev_pool.py:44
↓ 1 callersFunctionbbox_2d_transform
Transform 2d bbox according to img_meta. Args: img_meta(dict): Meta info regarding data transformation. bbox_2d (torch.Tensor): S
mmdetection3d/mmdet3d/models/fusion_layers/coord_transform.py:122
↓ 1 callersFunctionbbox_overlaps_3d
Calculate 3D IoU using cuda implementation. Note: This function calculates the IoU of 3D boxes based on their volumes. IoU calcul
mmdetection3d/mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:142
↓ 1 callersFunctionbev_box_overlap
(boxes, qboxes, criterion=-1)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:116
↓ 1 callersMethodbev_pool
(self, geom_feats, x)
projects/mmdet3d_plugin/maptr/modules/encoder.py:193
↓ 1 callersMethodbound_poly_geoms_to_instances
(self, polygon_geom)
projects/mmdet3d_plugin/datasets/av2_map_dataset.py:796
↓ 1 callersFunctionbox3d_transform_
Transform 3D boxes. Args: boxes (np.ndarray): 3D boxes to be transformed. loc_transform (np.ndarray): Location transform to be ap
mmdetection3d/mmdet3d/datasets/pipelines/data_augment_utils.py:313
↓ 1 callersFunctionbox_camera_to_lidar
Covert boxes in camera coordinate to lidar coordinate. Args: data (np.ndarray, shape=[N, 7]): Boxes in camera coordinate. r_rect
mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:29
↓ 1 callersFunctionbuild_data_cfg
Build data config for loading visualization data.
tools/misc/browse_dataset.py:53
↓ 1 callersFunctionbuild_data_cfg
Build data config for loading visualization data.
mmdetection3d/tools/misc/browse_dataset.py:53
↓ 1 callersFunctionbuild_fuser
(cfg)
projects/mmdet3d_plugin/maptr/modules/builder.py:4
↓ 1 callersFunctionbuild_middle_encoder
Build middle level encoder.
mmdetection3d/mmdet3d/models/builder.py:92
↓ 1 callersMethodbuild_roi_layers
Build roi layers using `layer_cfg`
mmdetection3d/mmdet3d/models/roi_heads/roi_extractors/single_roiaware_extractor.py:23
↓ 1 callersFunctioncalc_euclidian_dist
Calculate the Euclidian distance between two sets of points. Args: xyz1 (torch.Tensor): (N, 3), the first set of points. xyz2 (to
mmdetection3d/mmdet3d/ops/paconv/utils.py:4
↓ 1 callersFunctioncalculate_iou_partly
Fast iou algorithm. this function can be used independently to do result analysis. Must be used in CAMERA coordinate system. Args: gt
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:342
↓ 1 callersMethodcart_to_homo
Convert transformation matrix in Cartesian coordinates to homogeneous format. Args: mat (np.ndarray): Transformation matr
tools/data_converter/waymo_converter.py:500
↓ 1 callersMethodcart_to_homo
Convert transformation matrix in Cartesian coordinates to homogeneous format. Args: mat (np.ndarray): Transformation matr
mmdetection3d/tools/data_converter/waymo_converter.py:497
↓ 1 callersMethodcbegin
mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:263
↓ 1 callersMethodcend
mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:267
↓ 1 callersFunctioncenter_in_image
Check if a box is visible inside an image without accounting for occlusions. :param box: The box to be checked. :param intrinsic: <float:
projects/mmdet3d_plugin/datasets/nuscnes_eval.py:187
↓ 1 callersFunctioncenter_to_minmax_2d
Center to minmax. Args: centers (np.ndarray): Center points. dims (np.ndarray): Dimensions. origin (list or array or floa
mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:530
↓ 1 callersMethodcenterline_geoms_to_instances
(self,geoms_dict)
tools/maptrv2/custom_nusc_map_converter.py:671
↓ 1 callersFunctionchamfer_distance
Calculate Chamfer Distance of two sets. Args: src (torch.Tensor): Source set with shape [B, N, C] to calculate Chamfer Distan
projects/mmdet3d_plugin/maptr/losses/map_loss.py:565
↓ 1 callersMethodcheck_dist
Whether the mean of points to plane distance is lower than thresh. Args: plane_equ (torch.Tensor): Plane to be checked.
mmdetection3d/mmdet3d/models/roi_heads/mask_heads/primitive_head.py:643
↓ 1 callersFunctioncheck_h3d_roi_head
(config, head)
mmdetection3d/tests/test_runtime/test_config.py:240
↓ 1 callersMethodcheck_horizon
Check whether is a horizontal plane. Args: points (torch.Tensor): Points of input. Returns: Bool: Flag of re
mmdetection3d/mmdet3d/models/roi_heads/mask_heads/primitive_head.py:630
↓ 1 callersFunctioncheck_parta2_roi_head
(config, head)
mmdetection3d/tests/test_runtime/test_config.py:199
↓ 1 callersFunctioncheck_pt_in_box3d_cpu
mmdetection3d/mmdet3d/ops/roiaware_pool3d/src/points_in_boxes_cpu.cpp:25
↓ 1 callersMethodclass_agnostic_nms
Class agnostic nms for single batch. Args: mlvl_bboxes (torch.Tensor): Bboxes from Multi-level. mlvl_bboxes_for_nms (
mmdetection3d/mmdet3d/models/dense_heads/parta2_rpn_head.py:224
↓ 1 callersFunctionclass_tp_curve
Plot the true positive curve for the specified class. :param md_list: DetectionMetricDataList instance. :param metrics: DetectionMetrics
projects/mmdet3d_plugin/datasets/nuscnes_eval.py:74
↓ 1 callersFunctionclean_data
(gt_anno, dt_anno, current_class, difficulty)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:29
↓ 1 callersFunctionclip_sigmoid
Sigmoid function for input feature. Args: x (torch.Tensor): Input feature map with the shape of [B, N, H, W]. eps (float): Lower
mmdetection3d/mmdet3d/models/utils/clip_sigmoid.py:5
↓ 1 callersMethodcombine
Combine predictions in waymo format for each sample together. Args: pathnames (str): Paths to save predictions. Returns:
mmdetection3d/mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:244
↓ 1 callersMethodcombine
Combine predictions in waymo format for each sample together. Args: pathnames (str): Paths to save predictions. Returns:
projects/mmdet3d_plugin/core/evaluation/kitti2waymo.py:235
↓ 1 callersMethodcompute_primitive_loss
Compute loss of primitive module. Args: primitive_center (torch.Tensor): Pridictions of primitive center. primitive_s
mmdetection3d/mmdet3d/models/roi_heads/mask_heads/primitive_head.py:734
↓ 1 callersMethodconcat_data_infos
Concat data_infos from several datasets to form self.data_infos. Args: data_infos (list[list[dict]])
mmdetection3d/mmdet3d/datasets/s3dis_dataset.py:388
↓ 1 callersMethodconcat_scene_idxs
Concat scene_idxs from several datasets to form self.scene_idxs. Needs to manually add offset to scene_idxs[1, 2, ...]. Args:
mmdetection3d/mmdet3d/datasets/s3dis_dataset.py:398
↓ 1 callersFunctionconvert
Convert keys in pycls pretrained RegNet models to mmdet style.
tools/model_converters/regnet2mmdet.py:54
↓ 1 callersFunctionconvert
Convert keys in pycls pretrained RegNet models to mmdet style.
mmdetection3d/tools/model_converters/regnet2mmdet.py:54
↓ 1 callersMethodconvert
Convert action.
mmdetection3d/mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:210
↓ 1 callersMethodconvert_box
Convert boxes from `src` mode to `dst` mode. Args: box (tuple | list | np.ndarray | torch.Tensor | BaseInstance3D
mmdetection3d/mmdet3d/core/bbox/structures/coord_3d_mode.py:77
↓ 1 callersFunctionconvert_color
(img_path)
projects/mmdet3d_plugin/models/utils/visual.py:8
↓ 1 callersFunctionconvert_head
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:15
↓ 1 callersFunctionconvert_head
(model_key, model_weight, state_dict, converted_names)
mmdetection3d/tools/model_converters/regnet2mmdet.py:15
↓ 1 callersFunctionconvert_oriented_box_to_trimesh_fmt
(box)
mmdetection3d/mmdet3d/core/visualizer/show_result.py:52
↓ 1 callersFunctionconvert_reslayer
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:22
← previousnext →601–700 of 2,680, ranked by callers