Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HXMap/HRMapNet
/ functions
Functions
2,680 in github.com/HXMap/HRMapNet
⨍
Functions
2,680
◇
Types & classes
420
↳
Endpoints
3
↓ 2 callers
Method
get_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
projects/mmdet3d_plugin/datasets/av2_offlinemap_dataset.py:929
↓ 2 callers
Method
get_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
projects/mmdet3d_plugin/datasets/av2_map_dataset.py:1094
↓ 2 callers
Method
get_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:104
↓ 2 callers
Function
get_direction_target
Encode direction to 0 ~ num_bins-1. Args: anchors (torch.Tensor): Concatenated multi-level anchor. reg_targets (torch.Tensor): Bb
mmdetection3d/mmdet3d/models/dense_heads/train_mixins.py:318
↓ 2 callers
Function
get_image_index_str
(img_idx, use_prefix_id=False)
tools/data_converter/kitti_data_utils.py:10
↓ 2 callers
Function
get_image_index_str
(img_idx, use_prefix_id=False)
mmdetection3d/tools/data_converter/kitti_data_utils.py:10
↓ 2 callers
Function
get_image_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:40
↓ 2 callers
Function
get_image_path
(idx, prefix, training=True, relative_path=True,
mmdetection3d/tools/data_converter/kitti_data_utils.py:40
↓ 2 callers
Function
get_label_anno
(label_path)
tools/data_converter/kitti_data_utils.py:92
↓ 2 callers
Function
get_label_anno
(label_path)
mmdetection3d/tools/data_converter/kitti_data_utils.py:92
↓ 2 callers
Function
get_label_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:51
↓ 2 callers
Function
get_label_path
(idx, prefix, training=True, relative_path=True,
mmdetection3d/tools/data_converter/kitti_data_utils.py:51
↓ 2 callers
Method
get_loss
Calculate loss of voting module. Args: seed_points (torch.Tensor): Coordinate of the seed points. vote_points (torch.
mmdetection3d/mmdet3d/models/model_utils/vote_module.py:150
↓ 2 callers
Function
get_paddings_indicator
Create boolean mask by actually number of a padded tensor. Args: actual_num (torch.Tensor): Actual number of points in each voxel.
mmdetection3d/mmdet3d/models/voxel_encoders/utils.py:9
↓ 2 callers
Function
get_path
(ls_dict)
tools/maptrv2/custom_av2_map_converter.py:319
↓ 2 callers
Method
get_points
Get points according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. dtype (t
mmdetection3d/mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:484
↓ 2 callers
Function
get_pose_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:82
↓ 2 callers
Function
get_pose_path
(idx, prefix, training=True, relative_path=True,
mmdetection3d/tools/data_converter/kitti_data_utils.py:82
↓ 2 callers
Method
get_pred_mask
Generate bboxes from bbox head predictions. Args: preds_dicts (tuple[list[dict]]): Prediction results. img_metas (list
projects/mmdet3d_plugin/maptr/dense_heads/maptrv2_head.py:1058
↓ 2 callers
Function
get_rec_direction
(geom)
tools/maptrv2/custom_av2_map_converter.py:729
↓ 2 callers
Method
get_reference_points
Get the reference points used in SCA and TSA. Args: H, W: spatial shape of bev. Z: hight of pillar. D:
projects/mmdet3d_plugin/bevformer/modules/encoder.py:52
↓ 2 callers
Method
get_seg_infos
(self)
tools/data_converter/scannet_data_utils.py:239
↓ 2 callers
Method
get_seg_infos
(self)
mmdetection3d/tools/data_converter/scannet_data_utils.py:239
↓ 2 callers
Function
get_split_parts
(num, num_part)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:283
↓ 2 callers
Function
image_box_overlap
(boxes, query_boxes, criterion=-1)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:85
↓ 2 callers
Method
in_range_bev
Check whether the points are in the given range. Args: point_range (list | torch.Tensor): The range of point in o
mmdetection3d/mmdet3d/core/points/base_points.py:233
↓ 2 callers
Method
inference
Inference with slide/whole style. Args: points (torch.Tensor): Input points of shape [B, N, 3+C]. img_metas (list[dic
mmdetection3d/mmdet3d/models/segmentors/encoder_decoder.py:372
↓ 2 callers
Function
inference_detector
Inference point cloud with the detector. Args: model (nn.Module): The loaded detector. pcd (str): Point cloud files. Returns
mmdetection3d/mmdet3d/apis/inference.py:73
↓ 2 callers
Function
inference_mono_3d_detector
Inference image with the monocular 3D detector. Args: model (nn.Module): The loaded detector. image (str): Image files. a
mmdetection3d/mmdet3d/apis/inference.py:195
↓ 2 callers
Function
inference_segmentor
Inference point cloud with the segmentor. Args: model (nn.Module): The loaded segmentor. pcd (str): Point cloud files. Retur
mmdetection3d/mmdet3d/apis/inference.py:254
↓ 2 callers
Method
init_weight
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/maptr/modules/height_kernel_attention.py:69
↓ 2 callers
Method
init_weight
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:71
↓ 2 callers
Method
line_ego_to_mask
Rasterize a single line to mask. Args: line_ego (LineString): line mask (array): semantic mask to paint on
projects/mmdet3d_plugin/datasets/av2_offlinemap_dataset.py:686
↓ 2 callers
Method
line_ego_to_mask
Rasterize a single line to mask. Args: line_ego (LineString): line mask (array): semantic mask to paint on
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:686
↓ 2 callers
Method
line_ego_to_pvmask
(self, line_ego, mask, lidar2f
projects/mmdet3d_plugin/datasets/av2_offlinemap_dataset.py:672
↓ 2 callers
Method
line_ego_to_pvmask
(self, line_ego, mask, lidar2f
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:669
↓ 2 callers
Function
load_augmented_point_cloud
(path, virtual=False, reduce_beams=32)
projects/mmdet3d_plugin/datasets/pipelines/loading_utils.py:9
↓ 2 callers
Function
lyft_data_prep
Prepare data related to Lyft dataset. Related data consists of '.pkl' files recording basic infos. Although the ground truth database and 2D
tools/create_data.py:93
↓ 2 callers
Function
lyft_data_prep
Prepare data related to Lyft dataset. Related data consists of '.pkl' files recording basic infos. Although the ground truth database and 2D
mmdetection3d/tools/create_data.py:85
↓ 2 callers
Method
map_voxel_center_to_point
Map voxel features to its corresponding points. Args: pts_coors (torch.Tensor): Voxel coordinate of each point. voxel
mmdetection3d/mmdet3d/models/voxel_encoders/voxel_encoder.py:177
↓ 2 callers
Method
map_voxel_center_to_point
Map the centers of voxels to its corresponding points. Args: pts_coors (torch.Tensor): The coordinates of each points, shape
mmdetection3d/mmdet3d/models/voxel_encoders/pillar_encoder.py:224
↓ 2 callers
Method
multi_class_nms
Multi-class NMS for box head. Note: This function has large overlap with the `box3d_multiclass_nms` implemented in `m
mmdetection3d/mmdet3d/models/roi_heads/bbox_heads/parta2_bbox_head.py:559
↓ 2 callers
Function
noise_per_object_v3_
Random rotate or remove each groundtruth independently. use kitti viewer to test this function points_transform_ Args: gt_boxes (np.n
mmdetection3d/mmdet3d/datasets/pipelines/data_augment_utils.py:329
↓ 2 callers
Function
normalize_bbox
(bboxes, pc_range)
projects/mmdet3d_plugin/core/bbox/util.py:4
↓ 2 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/maptrv2/custom_nusc_map_converter.py:849
↓ 2 callers
Method
obtain_global_map
(self, img_metas, status)
projects/mmdet3d_plugin/maptr/detectors/maptrv2.py:436
↓ 2 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/maptrv2/custom_nusc_map_converter.py:178
↓ 2 callers
Function
output_to_nusc_box
Convert the output to the box class in the nuScenes. Args: detection (dict): Detection results. - boxes_3d (:obj:`BaseInstan
mmdetection3d/mmdet3d/datasets/nuscenes_mono_dataset.py:640
↓ 2 callers
Function
output_to_nusc_box
Convert the output to the box class in the nuScenes. Args: detection (dict): Detection results. - boxes_3d (:obj:`BaseInsta
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:632
↓ 2 callers
Function
parse_require_file
(fpath)
mmdetection3d/setup.py:116
↓ 2 callers
Function
point_in_quadrilateral
(pt_x, pt_y, corners)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:163
↓ 2 callers
Function
points_cam2img
Project points from camera coordicates to image coordinates. Args: points_3d (torch.Tensor): Points in shape (N, 3). proj_mat (to
mmdetection3d/mmdet3d/core/bbox/structures/utils.py:116
↓ 2 callers
Function
points_in_convex_polygon_3d_jit
Check points is in 3d convex polygons. Args: points (np.ndarray): Input points with shape of (num_points, 3). polygon_surfaces (n
mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:756
↓ 2 callers
Function
points_transform_
Apply transforms to points and box centers. Args: points (np.ndarray): Input points. centers (np.ndarray): Input box centers.
mmdetection3d/mmdet3d/datasets/pipelines/data_augment_utils.py:283
↓ 2 callers
Function
post_process_coords
Get the intersection of the convex hull of the reprojected bbox corners and the image canvas, return None if no intersection. Args: c
tools/data_converter/nuscenes_converter.py:581
↓ 2 callers
Function
post_process_coords
Get the intersection of the convex hull of the reprojected bbox corners and the image canvas, return None if no intersection. Args: c
mmdetection3d/tools/data_converter/nuscenes_converter.py:534
↓ 2 callers
Method
prepare_test_data
Prepare data for testing. Args: index (int): Index for accessing the target data. Returns: dict: Testing dat
projects/mmdet3d_plugin/datasets/av2_map_dataset.py:1176
↓ 2 callers
Method
prepare_train_img
Training image preparation. Args: index (int): Index for accessing the target image data. Returns: dict: Tra
mmdetection3d/mmdet3d/datasets/kitti2d_dataset.py:136
↓ 2 callers
Method
proc_line
(self, line,ego_SE3_city)
projects/mmdet3d_plugin/datasets/av2_map_dataset.py:708
↓ 2 callers
Method
random_flip_data_3d
Flip 3D data randomly. Args: input_dict (dict): Result dict from loading pipeline. direction (str): Flip direction. D
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:103
↓ 2 callers
Function
rbbox_to_corners
(corners, rbbox)
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:206
↓ 2 callers
Function
reduce_LiDAR_beams
(pts, reduce_beams_to=32)
projects/mmdet3d_plugin/datasets/pipelines/loading_utils.py:57
↓ 2 callers
Method
remove_points_in_boxes
Remove the points in the sampled bounding boxes. Args: points (:obj:`BasePoints`): Input point cloud array. boxes (np
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:273
↓ 2 callers
Method
repr
mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:964
↓ 2 callers
Function
rotate_iou_gpu_eval
Rotated box iou running in gpu. 500x faster than cpu version (take 5ms in one example with numba.cuda code). convert from [this project]( http
mmdetection3d/mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:341
↓ 2 callers
Function
rotation_2d
Rotation 2d points based on origin point clockwise when angle positive. Args: points (np.ndarray): Points to be rotated with shape \
mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:83
↓ 2 callers
Method
sample_all
Sampling all categories of bboxes. Args: gt_bboxes (np.ndarray): Ground truth bounding boxes. gt_labels (np.ndarray):
mmdetection3d/mmdet3d/datasets/pipelines/dbsampler.py:191
↓ 2 callers
Method
sample_pts_from_line
(self, line)
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:992
↓ 2 callers
Method
sample_pts_from_line
(self, line)
projects/mmdet3d_plugin/datasets/nuscenes_map_dataset.py:869
↓ 2 callers
Method
save_image
Parse and save the images in png format. Args: frame (:obj:`Frame`): Open dataset frame proto. file_idx (int): Curren
tools/data_converter/waymo_converter.py:132
↓ 2 callers
Function
seg_eval
Semantic Segmentation Evaluation. Evaluate the result of the Semantic Segmentation. Args: gt_labels (list[torch.Tensor]): Ground tr
mmdetection3d/mmdet3d/core/evaluation/seg_eval.py:70
↓ 2 callers
Method
show
Visualize the points cloud. Args: save_path (str): path to save image. Default: None.
mmdetection3d/mmdet3d/core/visualizer/open3d_vis.py:430
↓ 2 callers
Method
show
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
mmdetection3d/mmdet3d/datasets/nuscenes_dataset.py:543
↓ 2 callers
Method
show
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
mmdetection3d/mmdet3d/datasets/nuscenes_mono_dataset.py:605
↓ 2 callers
Method
show
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
mmdetection3d/mmdet3d/datasets/scannet_dataset.py:229
↓ 2 callers
Method
show
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
mmdetection3d/mmdet3d/datasets/scannet_dataset.py:385
↓ 2 callers
Function
single_gpu_test
Test model with single gpu. This method tests model with single gpu and gives the 'show' option. By setting ``show=True``, it saves the visua
mmdetection3d/mmdet3d/apis/test.py:11
↓ 2 callers
Method
single_level_grid_anchors
Generate grid anchors of a single level feature map. This function is usually called by method ``self.grid_anchors``. Args:
mmdetection3d/mmdet3d/core/anchor/anchor_3d_generator.py:108
↓ 2 callers
Method
update_global_map
(self, img_metas, raster, status)
projects/mmdet3d_plugin/maptr/detectors/maptrv2.py:428
↓ 2 callers
Method
voxelize
Apply hard voxelization to points.
mmdetection3d/mmdet3d/models/detectors/parta2.py:59
↓ 2 callers
Method
window_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_siz
projects/mmdet3d_plugin/models/backbones/swin.py:352
↓ 1 callers
Function
DivUp
mmdetection3d/mmdet3d/ops/spconv/include/tensorview/helper_launch.h:10
↓ 1 callers
Method
__call__
Call function to apply noise to each ground truth in the scene. Args: input_dict (dict): Result dict from loading pipeline.
mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py:384
↓ 1 callers
Method
__call__
Call function to load multiple types annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. R
mmdetection3d/mmdet3d/datasets/pipelines/loading.py:627
↓ 1 callers
Method
__call__
Call function to collect keys in results. The keys in ``meta_keys`` will be converted to :obj:`mmcv.DataContainer`. Args:
mmdetection3d/mmdet3d/datasets/pipelines/formating.py:146
↓ 1 callers
Method
__init__
(self, nusc_map, map_explorer, patch_size,
tools/maptrv2/custom_nusc_map_converter.py:385
↓ 1 callers
Method
__init__
(self, *args, **kwargs)
mmdetection3d/mmdet3d/ops/norm.py:43
↓ 1 callers
Method
__init__
(self, use_xyz: bool = True)
mmdetection3d/mmdet3d/ops/group_points/group_points.py:141
↓ 1 callers
Method
__init__
(self, data_root, ann_file, pipeline=None,
mmdetection3d/mmdet3d/datasets/scannet_dataset.py:52
↓ 1 callers
Method
__init__
(self, sampled_list, name=None, epoch=None,
mmdetection3d/mmdet3d/datasets/pipelines/dbsampler.py:24
↓ 1 callers
Method
__init__
(self, keys, meta_keys=('filename', 'ori_shape', 'img_shape', 'lidar2img',
mmdetection3d/mmdet3d/datasets/pipelines/formating.py:133
↓ 1 callers
Method
__init__
(self, n_channels)
mmdetection3d/mmdet3d/models/necks/imvoxel_neck.py:76
↓ 1 callers
Method
__init__
(self, num_cls, num_base_anchors, box_code_size,
mmdetection3d/mmdet3d/models/dense_heads/shape_aware_head.py:44
↓ 1 callers
Method
__init__
(self, num_classes, in_channels, bbox_coder,
mmdetection3d/mmdet3d/models/dense_heads/groupfree3d_head.py:139
↓ 1 callers
Method
__init__
(self, embed_dims, num_heads, attn_drop=0.,
mmdetection3d/mmdet3d/models/model_utils/transformer.py:29
↓ 1 callers
Method
__init__
(self, **kwargs)
mmdetection3d/mmdet3d/models/detectors/mvx_faster_rcnn.py:14
↓ 1 callers
Method
__init__
(self, in_channels, out_channels, norm_cfg=dict(type='BN1d'
mmdetection3d/mmdet3d/models/voxel_encoders/utils.py:49
↓ 1 callers
Method
__init__
(self, in_channels=4, feat_channels=(64, ), with_distance=F
mmdetection3d/mmdet3d/models/voxel_encoders/pillar_encoder.py:40
↓ 1 callers
Method
__init__
(self, embed_dims=256, num_heads=8, num_levels=4,
projects/mmdet3d_plugin/maptr/modules/geometry_kernel_attention.py:195
↓ 1 callers
Method
__init__
(self, in_channels: int, out_channels: int)
projects/mmdet3d_plugin/maptr/modules/transformer.py:22
← previous
next →
401–500 of 2,680, ranked by callers