MCPcopy Create free account

hub / github.com/AutonomousVehicleLaboratory/SemVecNet / functions

Functions2,802 in github.com/AutonomousVehicleLaboratory/SemVecNet

↓ 348 callersMethodsize
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:373
↓ 336 callersMethodview
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:896
↓ 320 callersMethodcat
Concatenate a list of Points into a single Points. Args: points_list (list[:obj:`BasePoints`]): List of points. Returns:
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:353
↓ 198 callersMethodto
Convert current points to a specific device. Args: device (str | :obj:`torch.device`): The name of the device. Returns:
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:375
↓ 103 callersMethodclone
Clone the Points. Returns: :obj:`BasePoints`: Box object with the same properties \ as self.
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:391
↓ 85 callersMethodsqueeze
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:382
↓ 71 callersMethoddata
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:866
↓ 71 callersMethodndim
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:381
↓ 59 callersMethodrotate
Rotate points with the given rotation matrix or angle. Args: rotation (float, np.ndarray, torch.Tensor): Rotation matrix
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:140
↓ 58 callersFunctionbuild_loss
Build loss function.
SemVecNet/mmdetection3d/mmdet3d/models/builder.py:42
↓ 53 callersMethoddevice
str: The device of the points are on.
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:405
↓ 50 callersMethodflip
Flip the points in BEV along given BEV direction.
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:183
↓ 45 callersMethoddim
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:869
↓ 42 callersMethodcat
Concatenate a list of Boxes into a single Boxes. Args: boxes_list (list[:obj:`BaseInstance3DBoxes`]): List of boxes. Ret
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:293
↓ 37 callersMethodtranslate
Translate points with the given translation vector. Args: trans_vector (np.ndarray, torch.Tensor): Translation ve
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:187
↓ 34 callersFunctionbuild_head
Build head.
SemVecNet/mmdetection3d/mmdet3d/models/builder.py:37
↓ 33 callersMethodconvert
Convert action.
SemVecNet/mmdetection3d/tools/data_converter/waymo_converter.py:92
↓ 33 callersMethodpush_back
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:170
↓ 25 callersMethodloss
Compute loss. Args: bbox_preds (dict): Predictions from forward of vote head. points (list[torch.Tensor]): Input poin
SemVecNet/mmdetection3d/mmdet3d/models/dense_heads/vote_head.py:222
↓ 24 callersMethodpre_pipeline
Initialization before data preparation. Args: results (dict): Dict before data preprocessing. - img_fields (lis
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:106
↓ 23 callersMethoddecode
Decode predicted parts to bbox3d. Args: bbox_out (dict): Predictions from model, should contain keys below. - ce
SemVecNet/mmdetection3d/mmdet3d/core/bbox/coders/anchor_free_bbox_coder.py:54
↓ 23 callersFunctiondigit_version
(version_str)
SemVecNet/mmdetection3d/mmdet3d/__init__.py:9
↓ 22 callersMethodforward
Forward. Args: k (int): number of nearest neighbors. xyz (Tensor): (B, N, 3) if transposed == False, else (B, 3, N).
SemVecNet/mmdetection3d/mmdet3d/ops/knn/knn.py:16
↓ 22 callersMethodget_bboxes
Generate bboxes from vote head predictions. Args: points (torch.Tensor): Input points. bbox_preds (dict): Predictions
SemVecNet/mmdetection3d/mmdet3d/models/dense_heads/vote_head.py:563
↓ 21 callersFunctionbuild_dataset
(cfg, default_args=None)
SemVecNet/mmdetection3d/mmdet3d/datasets/builder.py:20
↓ 21 callersMethodshuffle
Shuffle the points. Returns: torch.Tensor: The shuffled index.
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:130
↓ 19 callersMethodforward_train
Training forward function. Args: points (list[torch.Tensor]): Point cloud of each sample. img_metas (list[dict]): Met
SemVecNet/mmdetection3d/mmdet3d/models/detectors/parta2.py:89
↓ 19 callersMethodshow
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
SemVecNet/mmdetection3d/mmdet3d/datasets/lyft_dataset.py:435
↓ 18 callersFunctionbuild_detector
Build detector.
SemVecNet/mmdetection3d/mmdet3d/models/builder.py:47
↓ 18 callersMethodconvert_point
Convert points from `src` mode to `dst` mode. Args: point (tuple | list | np.ndarray | torch.Tensor | BasePoints)
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/coord_3d_mode.py:182
↓ 18 callersMethodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Box mode. rt_mat (np.ndarray | torch.Tensor):
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:247
↓ 17 callersFunctionmake_sparse_convmodule
Make sparse convolution module. Args: in_channels (int): the number of input channels out_channels (int): the number of out chann
SemVecNet/mmdetection3d/mmdet3d/ops/sparse_block.py:113
↓ 16 callersFunctionbbox3d2result
Convert detection results to a list of numpy arrays. Args: bboxes (torch.Tensor): Bounding boxes with shape of (n, 5). labels (to
SemVecNet/mmdetection3d/mmdet3d/core/bbox/transforms.py:50
↓ 16 callersFunctionshow_multi_modality_result
Convert multi-modality detection results into 2D results. Project the predicted 3D bbox to 2D image plane and visualize them. Args:
SemVecNet/mmdetection3d/mmdet3d/core/visualizer/show_result.py:201
↓ 15 callersMethodassign
Computes one-to-one matching based on the weighted costs. This method assign each query prediction to a ground truth or background. Th
SemVecNet/projects/mmdet3d_plugin/maptr/assigners/maptr_assigner.py:117
↓ 15 callersFunctionbuild_backbone
Build backbone.
SemVecNet/mmdetection3d/mmdet3d/models/builder.py:17
↓ 15 callersMethodclone
Clone the Boxes. Returns: :obj:`BaseInstance3DBoxes`: Box object with the same properties \ as self.
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:331
↓ 15 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
SemVecNet/mmdetection3d/mmdet3d/datasets/lyft_dataset.py:184
↓ 15 callersMethodnew_box
Create a new box object with data. The new box and its tensor has the similar properties \ as self and self.tensor, respectively.
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:444
↓ 15 callersMethodshape
torch.Shape: Shape of points.
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:126
↓ 14 callersMethodempty
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:865
↓ 14 callersFunctionmake_cuda_ext
(name, module, sources, sources_cuda=[],
SemVecNet/mmdetection3d/setup.py:34
↓ 14 callersMethodsimple_test
Test function without augmentaiton.
SemVecNet/mmdetection3d/mmdet3d/models/detectors/parta2.py:138
↓ 13 callersFunctionbuild_model
A function warpper for building 3D detector or segmentor according to cfg. Should be deprecated in the future.
SemVecNet/mmdetection3d/mmdet3d/models/builder.py:75
↓ 13 callersFunctionbuild_sa_module
Build PointNet2 set abstraction (SA) module. Args: cfg (None or dict): The SA module config, which should contain: - type (st
SemVecNet/mmdetection3d/mmdet3d/ops/pointnet_modules/builder.py:6
↓ 13 callersMethodextract_feat
Extract features from points.
SemVecNet/mmdetection3d/mmdet3d/models/detectors/parta2.py:43
↓ 12 callersFunction_extend_matrix
(mat)
SemVecNet/tools/data_converter/kitti_data_utils.py:136
↓ 12 callersFunction_extend_matrix
(mat)
SemVecNet/mmdetection3d/tools/data_converter/kitti_data_utils.py:136
↓ 12 callersFunctionbuild_dataloader
Build PyTorch DataLoader. In distributed training, each GPU/process has a dataloader. In non-distributed training, there is only one dataloade
SemVecNet/projects/mmdet3d_plugin/datasets/builder.py:19
↓ 12 callersMethodconvert
Convert boxes from `src` mode to `dst` mode. Args: box (tuple | list | np.ndarray | torch.Tensor | BaseInstance3D
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/box_3d_mode.py:64
↓ 12 callersMethodpoints_in_boxes
Find the box which the points are in. Args: points (torch.Tensor): Points in shape (N, 3). Returns: torch.Te
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/lidar_box3d.py:258
↓ 12 callersMethodscale
Scale the points with horizontal and vertical scaling factors. Args: scale_factors (float): Scale factors to scale the points.
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:264
↓ 12 callersFunctionxywhr2xyxyr
Convert a rotated boxes in XYWHR format to XYXYR format. Args: boxes_xywhr (torch.Tensor): Rotated boxes in XYWHR format. Returns:
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/utils.py:66
↓ 11 callersMethod_rand_another
Randomly get another item with the same flag. Returns: int: Another index of item with the same flag.
SemVecNet/mmdetection3d/mmdet3d/datasets/custom_3d.py:340
↓ 11 callersMethodget_bboxes
Convert instance masks to axis-aligned bounding boxes. Args: points (np.array): Scene points of shape (n, 6). pts_ins
SemVecNet/mmdetection3d/tools/data_converter/s3dis_data_utils.py:112
↓ 11 callersFunctionget_box_type
Get the type and mode of box structure. Args: box_type (str): The type of box structure. The valid value are "LiDAR", "Camera
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/utils.py:87
↓ 11 callersFunctioninit_model
Initialize a model from config file, which could be a 3D detector or a 3D segmentor. Args: config (str or :obj:`mmcv.Config`): Config
SemVecNet/mmdetection3d/mmdet3d/apis/inference.py:36
↓ 10 callersMethod__init__
( self, in_channels, out_channels, kernel_size, stride=1, padd
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/conv.py:398
↓ 10 callersFunctionapply_3d_transformation
Apply transformation to input point cloud. Args: pcd (torch.Tensor): The point cloud to be transformed. coord_type (str): 'DEPTH'
SemVecNet/mmdetection3d/mmdet3d/models/fusion_layers/coord_transform.py:8
↓ 10 callersFunctionbuild_neck
Build neck.
SemVecNet/mmdetection3d/mmdet3d/models/builder.py:22
↓ 10 callersFunctioneval_map
(gen_results, annotations, cls_gens, cls_gts, threshold=0.
SemVecNet/projects/mmdet3d_plugin/datasets/map_utils/mean_ap.py:225
↓ 10 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[tuple | numpy.ndarray]): Testing results o
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:446
↓ 10 callersFunctionkitti_eval
KITTI evaluation. Args: gt_annos (list[dict]): Contain gt information of each sample. dt_annos (list[dict]): Contain detected inf
SemVecNet/mmdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py:644
↓ 10 callersMethodshow
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory
SemVecNet/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:598
↓ 10 callersFunctionshow_result
Convert results into format that is directly readable for meshlab. Args: points (np.ndarray): Points. gt_bboxes (np.ndarray): Gro
SemVecNet/mmdetection3d/mmdet3d/core/visualizer/show_result.py:75
↓ 10 callersMethodto
Convert current boxes to a specific device. Args: device (str | :obj:`torch.device`): The name of the device. Returns:
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:315
↓ 9 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
SemVecNet/projects/mmdet3d_plugin/maptr/modules/encoder.py:728
↓ 9 callersFunctionformat_res_gt_by_classes
(result_path, gen_results, annotations,
SemVecNet/projects/mmdet3d_plugin/datasets/map_utils/mean_ap.py:142
↓ 9 callersFunctionget_root_logger
Get root logger and add a keyword filter to it. The logger will be initialized if it has not been initialized. By default a StreamHandler wil
SemVecNet/mmdetection3d/mmdet3d/utils/logger.py:6
↓ 9 callersFunctionpoints_cam2img
Project points in camera coordinates to image coordinates. Args: points_3d (np.ndarray): Points in shape (N, 3) proj_mat (np.ndar
SemVecNet/mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:346
↓ 9 callersFunctionrotation_3d_in_axis
Rotate points by angles according to axis. Args: points (torch.Tensor): Points of shape (N, M, 3). angles (torch.Tensor): Vector
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/utils.py:23
↓ 9 callersFunctionshow_result_meshlab
Show result by meshlab. Args: data (dict): Contain data from pipeline. result (dict): Predicted result from model. out_di
SemVecNet/mmdetection3d/mmdet3d/apis/inference.py:450
↓ 8 callersFunction_get_detector_cfg
Grab configs necessary to create a detector. These are deep copied to allow for safe modification of parameters without influencing other tes
SemVecNet/mmdetection3d/tests/test_models/test_detectors.py:58
↓ 8 callersMethodbackward
(ctx, a=None)
SemVecNet/mmdetection3d/mmdet3d/ops/knn/knn.py:67
↓ 8 callersMethodencode
Encode ground truth to prediction targets. Args: gt_bboxes_3d (BaseInstance3DBoxes): Ground truth bboxes \ with s
SemVecNet/mmdetection3d/mmdet3d/core/bbox/coders/anchor_free_bbox_coder.py:24
↓ 8 callersMethodevaluate
Evaluation in Lyft protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str]): Me
SemVecNet/mmdetection3d/mmdet3d/datasets/lyft_dataset.py:361
↓ 8 callersFunctionextract_result_dict
Extract and return the data corresponding to key in result dict. ``results`` is a dict output from `pipeline(input_dict)`, which is the l
SemVecNet/mmdetection3d/mmdet3d/datasets/utils.py:116
↓ 8 callersMethodforward
Args: input: NC points
SemVecNet/mmdetection3d/mmdet3d/ops/voxel/voxelize.py:121
↓ 8 callersMethodin_range_3d
Check whether the points are in the given range. Args: point_range (list | torch.Tensor): The range of point (x_m
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:208
↓ 8 callersFunctionmerge_aug_bboxes_3d
Merge augmented detection 3D bboxes and scores. Args: aug_results (list[dict]): The dict of detection results. The dict conta
SemVecNet/mmdetection3d/mmdet3d/core/post_processing/merge_augs.py:8
↓ 8 callersMethodnew_point
Create a new point object with data. The new point and its tensor has the similar properties \ as self and self.tensor, respectiv
SemVecNet/mmdetection3d/mmdet3d/core/points/base_points.py:417
↓ 8 callersMethodoverlaps
Calculate 3D overlaps of two boxes. Note: This function calculates the overlaps between ``boxes1`` and ``boxes2``, ``
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:388
↓ 8 callersMethodpre_pipeline
Initialization before data preparation. Args: results (dict): Dict before data preprocessing. - img_fields (list
SemVecNet/mmdetection3d/mmdet3d/datasets/custom_3d.py:115
↓ 7 callersMethod_extract_data
Load data using input pipeline and extract data according to key. Args: index (int): Index for accessing the target data.
SemVecNet/mmdetection3d/mmdet3d/datasets/custom_3d.py:298
↓ 7 callersMethod_get_pipeline
Get data loading pipeline in self.show/evaluate function. Args: pipeline (list[dict] | None): Input pipeline. If None is given, \
SemVecNet/mmdetection3d/mmdet3d/datasets/custom_3d.py:281
↓ 7 callersFunction_setup_seed
(seed)
SemVecNet/mmdetection3d/tests/test_models/test_heads/test_heads.py:15
↓ 7 callersMethodadd
(self, module, name=None)
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/modules.py:120
↓ 7 callersMethoddecode
Decode bboxes. Args: all_cls_scores (Tensor): Outputs from the classification head, \ shape [nb_dec, bs, num_query
SemVecNet/projects/mmdet3d_plugin/core/bbox/coders/nms_free_coder.py:164
↓ 7 callersFunctionlimit_period
Limit the value into a period for periodic function. Args: val (np.ndarray): The value to be converted. offset (float, optional):
SemVecNet/mmdetection3d/mmdet3d/core/bbox/box_np_ops.py:464
↓ 7 callersMethodlimit_yaw
Limit the yaw to a given period and offset. Args: offset (float): The offset of the yaw. period (float): The expected
SemVecNet/mmdetection3d/mmdet3d/core/bbox/structures/base_box3d.py:225
↓ 7 callersMethodlosses
Compute semantic segmentation loss. Args: seg_logit (torch.Tensor): Predicted per-point segmentation logits \ of
SemVecNet/mmdetection3d/mmdet3d/models/decode_heads/decode_head.py:109
↓ 7 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
SemVecNet/mmdetection3d/setup.py:66
↓ 7 callersMethodprepare_train_data
Training data preparation. Args: index (int): Index for accessing the target data. Returns: dict: Training d
SemVecNet/mmdetection3d/mmdet3d/datasets/custom_3d.py:141
↓ 7 callersFunctionrowArrayIdx
SemVecNet/mmdetection3d/mmdet3d/ops/spconv/include/tensorview/tensorview.h:401
↓ 7 callersMethodsegmentation
Run semantic segmentation on a single numpy image in form (h, w, 3) where it is uint8 0-255
semantic_mapping/src/hrnet/hrnet_semantic_segmentation_tensorrt.py:140
↓ 6 callersMethod__init__
(self, instance_line_list, instance_labels, sample_dist=1
SemVecNet/projects/mmdet3d_plugin/datasets/av2_offlinemap_dataset.py:45
↓ 6 callersMethod_assign_primitive_surface_targets
Generate targets for primitive z and primitive xy. Args: point_mask (torch.Tensor): Tensor to store the ground tr
SemVecNet/mmdetection3d/mmdet3d/models/roi_heads/mask_heads/primitive_head.py:867
↓ 6 callersFunction_create_reduced_point_cloud
Create reduced point clouds for given info. Args: data_path (str): Path of original data. info_path (str): Path of data info.
SemVecNet/tools/data_converter/kitti_converter.py:232
↓ 6 callersFunction_create_reduced_point_cloud
Create reduced point clouds for given info. Args: data_path (str): Path of original data. info_path (str): Path of data info.
SemVecNet/mmdetection3d/tools/data_converter/kitti_converter.py:230
↓ 6 callersFunction_generate_kitti_dataset_config
()
SemVecNet/mmdetection3d/tests/test_data/test_datasets/test_kitti_dataset.py:12
next →1–100 of 2,802, ranked by callers