MCPcopy Create free account

hub / github.com/AutonomousVehicleLaboratory/SemVecNet / functions

Functions2,802 in github.com/AutonomousVehicleLaboratory/SemVecNet

↓ 6 callersFunction_get_config_module
Load a configuration as a python module.
SemVecNet/mmdetection3d/tests/test_models/test_heads/test_heads.py:38
↓ 6 callersFunction_read_imageset_file
(path)
SemVecNet/mmdetection3d/tools/data_converter/kitti_converter.py:40
↓ 6 callersFunction_setup_seed
(seed)
SemVecNet/mmdetection3d/tests/test_models/test_detectors.py:14
↓ 6 callersMethod_transpose_and_gather_feat
Given feats and indexes, returns the transposed and gathered feats. Args: feat (torch.Tensor): Features to be transposed and gath
SemVecNet/mmdetection3d/mmdet3d/core/bbox/coders/centerpoint_bbox_coders.py:97
↓ 6 callersMethodaug_test
Test with augmentation.
SemVecNet/mmdetection3d/mmdet3d/models/detectors/h3dnet.py:133
↓ 6 callersFunctionchamfer_distance
Calculate Chamfer Distance of two sets. Args: src (torch.Tensor): Source set with shape [B, N, C] to calculate Chamfer Distan
SemVecNet/mmdetection3d/mmdet3d/models/losses/chamfer_distance.py:9
↓ 6 callersMethodgrid_anchors
Generate grid anchors in multiple feature levels. Args: featmap_sizes (list[tuple]): List of feature map sizes in
SemVecNet/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
SemVecNet/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
SemVecNet/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.
SemVecNet/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
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/depth_box3d.py:119
↓ 6 callersMethodrun
mPtr[((i1 * mShape[1] + i2) * mShape[2] + i3) * mShape[3] + i4];
SemVecNet/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
SemVecNet/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
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/core/bbox/coders/anchor_free_bbox_coder.py:88
↓ 5 callersMethod__init__
(self, embed_dims, num_heads, window_size,
SemVecNet/projects/mmdet3d_plugin/models/backbones/swin.py:114
↓ 5 callersMethod_init_branch
Initialize conv layers as a prediction branch.
SemVecNet/mmdetection3d/mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:219
↓ 5 callersMethod_one_type_line_geom_to_instances
(self, line_geom)
SemVecNet/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
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/core/post_processing/box3d_nms.py:9
↓ 5 callersFunctionbuild_segmentor
Build segmentor.
SemVecNet/mmdetection3d/mmdet3d/models/builder.py:61
↓ 5 callersFunctioncustom_build_dataset
(cfg, default_args=None)
SemVecNet/projects/mmdet3d_plugin/datasets/builder.py:123
↓ 5 callersFunctiondehomogenize
(x)
semantic_mapping/src/utils/utils.py:39
↓ 5 callersMethodextract_feat
Extract features from images and points.
SemVecNet/projects/mmdet3d_plugin/maptr/detectors/maptr.py:110
↓ 5 callersMethodextract_feat
Extract features from images and points.
SemVecNet/projects/mmdet3d_plugin/bevformer/detectors/bevformer.py:104
↓ 5 callersMethodextract_feats
Extract features of multiple samples.
SemVecNet/mmdetection3d/mmdet3d/models/detectors/h3dnet.py:171
↓ 5 callersMethodgen_vectorized_samples
use lidar2global to get gt map layers
SemVecNet/projects/mmdet3d_plugin/datasets/av2_offlinemap_dataset.py:576
↓ 5 callersFunctionget_kitti_info_path
(idx, prefix, info_type='image_2', fil
SemVecNet/tools/data_converter/kitti_data_utils.py:17
↓ 5 callersFunctionget_kitti_info_path
(idx, prefix, info_type='image_2', fil
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/utils.py:7
↓ 5 callersFunctionoutput_to_vecs
(detection)
SemVecNet/projects/mmdet3d_plugin/datasets/av2_offlinemap_dataset.py:3810
↓ 5 callersFunctionprint_str
(value, *arg, sstream=None)
SemVecNet/mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:579
↓ 5 callersFunctionsample_pts_from_line
(line, fixed_num=-1, sample_dist=1,
SemVecNet/projects/mmdet3d_plugin/datasets/av2_offlinemap_dataset.py:3828
↓ 5 callersMethodshow
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
SemVecNet/mmdetection3d/mmdet3d/datasets/kitti_dataset.py:695
↓ 4 callersMethod_GetNdArray
(self, a)
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/test_utils.py:19
↓ 4 callersMethod__init__
(self, reduction='mean', loss_weight=1.0)
SemVecNet/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
SemVecNet/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.
SemVecNet/mmdetection3d/mmdet3d/models/roi_heads/mask_heads/primitive_head.py:802
↓ 4 callersFunction_calculate_num_points_in_gt
(data_path, infos, relative_path,
SemVecNet/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:
SemVecNet/mmdetection3d/mmdet3d/core/visualizer/open3d_vis.py:14
↓ 4 callersMethod_duplicate_to_list
Repeat x `num` times to form a list.
SemVecNet/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
SemVecNet/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
SemVecNet/mmdetection3d/tests/test_models/test_segmentors.py:36
↓ 4 callersMethod_one_type_line_geom_to_instances
(self, line_geom)
SemVecNet/tools/maptrv2/custom_nusc_map_converter.py:582
↓ 4 callersFunction_read_imageset_file
(path)
SemVecNet/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
SemVecNet/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.
SemVecNet/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
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/ops/bev_pool_v2/bev_pool.py:86
↓ 4 callersFunctionbuild_sampler
(cfg, default_args)
SemVecNet/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_
SemVecNet/mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:9
↓ 4 callersFunctioncollect_env
Collect the information of the running environments.
SemVecNet/mmdetection3d/mmdet3d/utils/collect_env.py:10
↓ 4 callersMethodcorners
torch.Tensor: a tensor with 8 corners of each box.
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:128
↓ 4 callersMethoddense
(self, channels_first=True)
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:451
↓ 4 callersMethodextract_img_feat
Directly extract features from the img backbone+neck.
SemVecNet/mmdetection3d/mmdet3d/models/detectors/imvotenet.py:270
↓ 4 callersMethodforward_train
Forward function for training. Args: points (list[torch.Tensor]): List of points of shape [N, C]. img_metas (list): I
SemVecNet/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
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/datasets/utils.py:53
↓ 4 callersFunctionget_mAP
(prec)
SemVecNet/mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:572
↓ 4 callersMethodget_map_with_boundary
Helper function to simplify the code.
semantic_mapping/src/dynamic_map.py:293
↓ 4 callersMethodget_surface_line_center
Compute surface and line center of bounding boxes. Returns: torch.Tensor: Surface and line center of bounding boxes.
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/depth_box3d.py:295
↓ 4 callersMethodinit_weights
Initialize weights of shared MLP layers and BN layers.
SemVecNet/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
SemVecNet/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
SemVecNet/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
SemVecNet/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
SemVecNet/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.
SemVecNet/mmdetection3d/mmdet3d/models/fusion_layers/point_fusion.py:14
↓ 4 callersFunctionproc_line
(line,ego_SE3_city)
SemVecNet/tools/maptrv2/custom_av2_map_converter.py:437
↓ 4 callersFunctionproc_polygon
(polygon, ego_SE3_city)
SemVecNet/tools/maptrv2/custom_av2_map_converter.py:425
↓ 4 callersMethodproc_polygon
(self, polygon, ego_SE3_city)
SemVecNet/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
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/datasets/sunrgbd_dataset.py:180
↓ 4 callersFunctiontrangle_area
(a, b, c)
SemVecNet/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
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:1102
↓ 4 callersMethodvectormap_pipeline
`example` type: <class 'dict'> keys: 'img_metas', 'gt_bboxes_3d', 'gt_labels_3d', 'img'; all keys type is 'Data
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:1729
↓ 4 callersMethodvectormap_pipeline
`example` type: <class 'dict'> keys: 'img_metas', 'gt_bboxes_3d', 'gt_labels_3d', 'img'; all keys type is 'Data
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_map_dataset.py:969
↓ 3 callersMethod__init__
( self, mlp_channels, paconv_num_kernels, num_point=None, radius=None,
SemVecNet/mmdetection3d/mmdet3d/ops/pointnet_modules/paconv_sa_module.py:120
↓ 3 callersMethod__init__
(self)
SemVecNet/mmdetection3d/mmdet3d/ops/furthest_point_sample/points_sampler.py:146
↓ 3 callersMethod__init__
(self, in_channels=4, feat_channels=[], with_distance=False
SemVecNet/mmdetection3d/mmdet3d/models/voxel_encoders/voxel_encoder.py:316
↓ 3 callersMethod__init__
(self, instance_line_list, instance_labels, sample_dist=1,
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:80
↓ 3 callersMethod_add_conv_branch
Add shared or separable branch.
SemVecNet/mmdetection3d/mmdet3d/models/dense_heads/base_conv_bbox_head.py:85
↓ 3 callersFunction_calculate_num_points_in_gt
(data_path, infos, relative_path,
SemVecNet/tools/data_converter/kitti_converter.py:46
↓ 3 callersFunction_check_bbox_head
(bbox_cfg, bbox_head)
SemVecNet/mmdetection3d/tests/test_runtime/test_config.py:175
↓ 3 callersFunction_check_primitive_extractor
(config, primitive_extractor)
SemVecNet/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
SemVecNet/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]):
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/datasets/lyft_dataset.py:269
↓ 3 callersFunction_generate_sunrgbd_dataset_config
()
SemVecNet/mmdetection3d/tests/test_data/test_datasets/test_sunrgbd_dataset.py:9
↓ 3 callersFunction_generate_waymo_val_dataset_config
()
SemVecNet/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:
SemVecNet/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
SemVecNet/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
SemVecNet/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
SemVecNet/mmdetection3d/tests/test_models/test_heads/test_heads.py:119
↓ 3 callersMethod_one_type_line_geom_to_instances
(self, line_geom)
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:739
↓ 3 callersMethod_one_type_line_geom_to_instances
(self, line_geom)
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_map_dataset.py:616
↓ 3 callersMethod_one_type_line_geom_to_vectors
(self, line_geom)
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:725
↓ 3 callersMethod_one_type_line_geom_to_vectors
(self, line_geom)
SemVecNet/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
SemVecNet/mmdetection3d/mmdet3d/models/dense_heads/anchor3d_head.py:278
← previousnext →101–200 of 2,802, ranked by callers