MCPcopy Create free account

hub / github.com/Tsinghua-MARS-Lab/futr3d / functions

Functions1,670 in github.com/Tsinghua-MARS-Lab/futr3d

↓ 2 callersMethodsample_all
Sampling all categories of bboxes. Args: gt_bboxes (np.ndarray): Ground truth bounding boxes. gt_labels (np.ndarr
mmdet3d/datasets/pipelines/dbsampler.py:216
↓ 2 callersMethodsave_mat_to_file
(matrix, filename)
data/scannet/extract_posed_images.py:128
↓ 2 callersMethodscale
Scale the points with horizontal and vertical scaling factors. Args: scale_factors (float): Scale factors to scale the points.
mmdet3d/core/points/base_points.py:268
↓ 2 callersFunctionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
mmdet3d/apis/train.py:58
↓ 2 callersMethodset_template
Set template array. Args: array (tuple | list | int | float | np.ndarray | torch.Tensor): Template array.
mmdet3d/core/utils/array_converter.py:212
↓ 2 callersMethodshow
Visualize the points cloud. Args: save_path (str, optional): path to save image. Default: None.
mmdet3d/core/visualizer/open3d_vis.py:447
↓ 2 callersMethodtransform
Transform the coordinates with matrix T. Args: T (np.ndarray): Transformation matrix. x(float): Coordinate in x a
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:229
↓ 2 callersFunctionupdate_nuscenes_or_lyft_infos
(root_dir, out_dir, pkl_files)
tools/update_data_coords.py:63
↓ 2 callersMethodvoxel_pooling_prepare
Data preparation for voxel pooling. Args: coor (torch.tensor): Coordinate of points in the lidar space in sha
mmdet3d/models/necks/view_transformer.py:198
↓ 2 callersMethodvoxelize
Apply hard voxelization to points.
mmdet3d/models/detectors/sassd.py:55
↓ 1 callersMethod__call__
Call function to load multiple types annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`.
mmdet3d/datasets/pipelines/loading.py:648
↓ 1 callersMethod__call__
Call function to collect keys in results. The keys in ``meta_keys`` will be converted to :obj:`mmcv.DataContainer`. Args:
mmdet3d/datasets/pipelines/formating.py:144
↓ 1 callersMethod__init__
(self, *args, **kwargs)
mmdet3d/ops/norm.py:47
↓ 1 callersMethod__init__
(self, mlp_channels, num_sample=None, knn_mode='F-KNN',
mmdet3d/ops/dgcnn_modules/dgcnn_gf_module.py:183
↓ 1 callersMethod__init__
(self, data_root, ann_file, pipeline=None,
mmdet3d/datasets/scannet_dataset.py:53
↓ 1 callersMethod__init__
(self, sampled_list, name=None, epoch=None,
mmdet3d/datasets/pipelines/dbsampler.py:25
↓ 1 callersMethod__init__
( self, keys, meta_keys=('filename', 'ori_shape', 'img_shape', 'lidar2img',
mmdet3d/datasets/pipelines/formating.py:131
↓ 1 callersMethod__init__
(self, in_channels, sparse_shape, order=('conv', 'norm',
mmdet3d/models/middle_encoders/sparse_encoder.py:43
↓ 1 callersMethod__init__
(self, num_cls, num_base_anchors, box_code_size,
mmdet3d/models/dense_heads/shape_aware_head.py:46
↓ 1 callersMethod__init__
(self, num_classes, in_channels, bbox_coder,
mmdet3d/models/dense_heads/groupfree3d_head.py:140
↓ 1 callersMethod__init__
(self, embed_dims, num_heads, attn_drop=0.,
mmdet3d/models/model_utils/transformer.py:30
↓ 1 callersMethod__init__
(self, **kwargs)
mmdet3d/models/detectors/mvx_faster_rcnn.py:14
↓ 1 callersMethod__init__
(self, in_channels, out_channels, norm_cfg=dict(type='BN
mmdet3d/models/voxel_encoders/utils.py:49
↓ 1 callersMethod__init__
(self, in_channels=4, feat_channels=(64, ), with_distanc
mmdet3d/models/voxel_encoders/pillar_encoder.py:40
↓ 1 callersMethod__init__
(self, alpha=1.0, reduction='mean', loss_weight=1.0)
mmdet3d/models/losses/uncertain_smooth_l1_loss.py:137
↓ 1 callersMethod__init__
(self, use_h, use_w, rotate = 1, offset=False, ratio = 0.5, mode=0, prob = 1.)
plugin/futr3d/models/utils/grid_mask.py:7
↓ 1 callersMethod_affine_bboxes
Affine transform bboxes to input image. Args: results (dict): Result dict from loading pipeline. matrix (np.ndarr
mmdet3d/datasets/pipelines/transforms_3d.py:1708
↓ 1 callersMethod_assign_and_sample
Assign and sample proposals for training. Args: proposal_list (list[dict]): Proposals produced by RPN. gt_bboxes_
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:231
↓ 1 callersMethod_assign_and_sample
Assign and sample proposals for training. Args: proposal_list (list[dict]): Proposals produced by RPN. gt_bboxes_
mmdet3d/models/roi_heads/point_rcnn_roi_head.py:214
↓ 1 callersMethod_auxiliary_head_forward_train
Run forward function and calculate loss for auxiliary head in training.
mmdet3d/models/segmentors/encoder_decoder.py:109
↓ 1 callersMethod_bbox_forward_train
Forward training function of roi_extractor and bbox_head. Args: seg_feats (torch.Tensor): Point-wise semantic features.
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:173
↓ 1 callersMethod_bbox_forward_train
Forward training function of roi_extractor and bbox_head. Args: features (torch.Tensor): Backbone features with depth and \
mmdet3d/models/roi_heads/point_rcnn_roi_head.py:165
↓ 1 callersMethod_build_default_pipeline
Build the default pipeline for this dataset.
mmdet3d/datasets/custom_3d.py:353
↓ 1 callersMethod_build_default_pipeline
Build the default pipeline for this dataset.
mmdet3d/datasets/custom_3d_seg.py:373
↓ 1 callersMethod_build_default_pipeline
Build the default pipeline for this dataset.
mmdet3d/datasets/nuscenes_mono_dataset.py:638
↓ 1 callersMethod_check_ann_files
Make ann_files as list/tuple.
mmdet3d/datasets/s3dis_dataset.py:426
↓ 1 callersMethod_check_rot_mat
Check if rotation matrix is valid for self.rotation_axis. Args: rot_mat (np.ndarray): Rotation matrix to be applied.
mmdet3d/datasets/pipelines/transforms_3d.py:647
↓ 1 callersMethod_check_scene_idxs
Make scene_idxs as list/tuple.
mmdet3d/datasets/s3dis_dataset.py:433
↓ 1 callersMethod_convert_to_label
Convert class_id in loaded segmentation mask to label.
tools/data_converter/s3dis_data_utils.py:205
↓ 1 callersMethod_convert_to_label
Convert class_id in loaded segmentation mask to label.
tools/data_converter/scannet_data_utils.py:257
↓ 1 callersMethod_decode_depth
Transform depth offset to depth.
mmdet3d/core/bbox/coders/smoke_bbox_coder.py:107
↓ 1 callersMethod_decode_dimension
Transform dimension offsets to dimension according to its category. Args: labels (Tensor): Each points' category id.
mmdet3d/core/bbox/coders/smoke_bbox_coder.py:155
↓ 1 callersMethod_decode_head_forward_test
Run forward function and calculate loss for decode head in inference.
mmdet3d/models/segmentors/encoder_decoder.py:103
↓ 1 callersMethod_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
mmdet3d/models/segmentors/encoder_decoder.py:92
↓ 1 callersMethod_decode_location
Retrieve objects location in camera coordinate based on projected points. Args: points (Tensor): Projected points on
mmdet3d/core/bbox/coders/smoke_bbox_coder.py:114
↓ 1 callersFunction_draw_bboxes_ind
Draw bbox on visualizer and change the color or points inside bbox3d with indices. Args: bbox3d (numpy.array | torch.tensor, shap
mmdet3d/core/visualizer/open3d_vis.py:191
↓ 1 callersMethod_extract_data
Load data using input pipeline and extract data according to key. Args: index (int): Index for accessing the target data.
mmdet3d/datasets/custom_3d_seg.py:395
↓ 1 callersMethod_extract_data
Load data using input pipeline and extract data according to key. Args: index (int): Index for accessing the target data.
mmdet3d/datasets/nuscenes_mono_dataset.py:588
↓ 1 callersMethod_extract_input
Extract inputs from features dictionary. Args: feat_dict (dict): Feature dict from backbone, which may contain
mmdet3d/models/necks/pointnet2_fp_neck.py:42
↓ 1 callersMethod_extract_input
Extract inputs from features dictionary. Args: feat_dict (dict): Feature dict from backbone. Returns:
mmdet3d/models/dense_heads/vote_head.py:108
↓ 1 callersMethod_extract_input
Extract inputs from features dictionary. Args: feat_dict (dict): Feature dict from backbone. Returns:
mmdet3d/models/dense_heads/groupfree3d_head.py:281
↓ 1 callersMethod_extract_input
Extract inputs from features dictionary. Args: feat_dict (dict): Feature dict from backbone. Returns:
mmdet3d/models/decode_heads/pointnet2_head.py:46
↓ 1 callersFunction_fill_trainval_infos
Generate the train/val infos from the raw data. Args: nusc (:obj:`NuScenes`): Dataset class in the nuScenes dataset. train_sc
tools/data_converter/nuscenes_converter.py:146
↓ 1 callersFunction_fill_trainval_infos
Generate the train/val infos from the raw data. Args: lyft (:obj:`LyftDataset`): Dataset class in the Lyft dataset. train_sce
tools/data_converter/lyft_converter.py:94
↓ 1 callersMethod_filter_imgs
Filter images without ground truths.
mmdet3d/datasets/kitti2d_dataset.py:97
↓ 1 callersMethod_forward_single
Forward pass per level. Args: x (SparseTensor): Per level neck output tensor. scale (mmcv.cnn.Scale): Per level m
mmdet3d/models/dense_heads/fcaf3d_head.py:236
↓ 1 callersMethod_freeze_backbone
(self)
plugin/futr3d/models/detectors/futr3d.py:98
↓ 1 callersMethod_freeze_stages
(self)
mmdet3d/models/backbones/dla.py:421
↓ 1 callersMethod_freeze_stages
(self)
plugin/futr3d/models/backbone/vovnet.py:353
↓ 1 callersMethod_gather_feat
Gather feature map. Given feature map and index, return indexed feature map. Args: feat (torch.tensor): Feature map
mmdet3d/models/dense_heads/centerpoint_head.py:363
↓ 1 callersMethod_get_bboxes
Generate boxes for all scenes. Args: center_preds (list[list[Tensor]]): Centerness predictions for all scenes
mmdet3d/models/dense_heads/fcaf3d_head.py:399
↓ 1 callersMethod_get_bboxes_single
Generate boxes for a single scene. Args: center_preds (list[Tensor]): Centerness predictions for all levels. bbox
mmdet3d/models/dense_heads/imvoxel_head.py:208
↓ 1 callersMethod_get_bboxes_single
Transform outputs for a single batch item into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for a single scal
mmdet3d/models/dense_heads/fcos_mono3d_head.py:567
↓ 1 callersMethod_get_bboxes_single
Transform outputs for a single batch item into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for a single scal
mmdet3d/models/dense_heads/pgd_head.py:912
↓ 1 callersMethod_get_bboxes_single
Generate boxes for a single scene. Args: center_preds (list[Tensor]): Centerness predictions for all levels. bbox
mmdet3d/models/dense_heads/fcaf3d_head.py:362
↓ 1 callersMethod_get_bboxes_single
Decode bboxes. Args: cls_scores (Tensor): Outputs from the classification head, \ shape [num_query, cls_out_cha
plugin/futr3d/models/head/futr3d_head.py:544
↓ 1 callersMethod_get_centerness
Compute point centerness w.r.t containing box. Args: face_distances (Tensor): Face distances of shape (B, N, 6),
mmdet3d/models/dense_heads/imvoxel_head.py:379
↓ 1 callersMethod_get_centerness
Compute point centerness w.r.t containing box. Args: face_distances (Tensor): Face distances of shape (B, N, 6),
mmdet3d/models/dense_heads/fcaf3d_head.py:523
↓ 1 callersMethod_get_cls_out_channels
Return the channel number of classification outputs.
mmdet3d/models/dense_heads/vote_head.py:96
↓ 1 callersMethod_get_face_distances
Calculate distances from point to box faces. Args: points (Tensor): Final locations of shape (N_points, N_boxes, 3).
mmdet3d/models/dense_heads/imvoxel_head.py:350
↓ 1 callersMethod_get_face_distances
Calculate distances from point to box faces. Args: points (Tensor): Final locations of shape (N_points, N_boxes, 3).
mmdet3d/models/dense_heads/fcaf3d_head.py:495
↓ 1 callersMethod_get_pipeline
Get data loading pipeline in self.show/evaluate function. Args: pipeline (list[dict]): Input pipeline. If None is given,
mmdet3d/datasets/custom_3d_seg.py:378
↓ 1 callersMethod_get_pipeline
Get data loading pipeline in self.show/evaluate function. Args: pipeline (list[dict]): Input pipeline. If None is given,
mmdet3d/datasets/nuscenes_mono_dataset.py:621
↓ 1 callersMethod_get_points_single
Get points of a single scale level.
mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:502
↓ 1 callersMethod_get_pts_filename
Get point cloud filename according to the given index. Args: index (int): Index of the point cloud file to get. Ret
mmdet3d/datasets/kitti_dataset.py:87
↓ 1 callersMethod_get_pts_filename
(self, idx)
mmdet3d/datasets/waymo_dataset.py:90
↓ 1 callersMethod_get_reg_out_channels
Return the channel number of regression outputs.
mmdet3d/models/dense_heads/vote_head.py:101
↓ 1 callersMethod_get_sample_indices
Load annotations from ann_file. Args: ann_file (str): Path of the annotation file. Returns: list[dict]
mmdet3d/datasets/dataset_wrappers.py:30
↓ 1 callersMethod_get_targets
Compute targets for final locations for a single scene. Args: points (list[Tensor]): Final locations for all levels.
mmdet3d/models/dense_heads/imvoxel_head.py:399
↓ 1 callersMethod_get_targets
Compute targets for final locations for a single scene. Args: points (list[Tensor]): Final locations for all levels.
mmdet3d/models/dense_heads/fcaf3d_head.py:542
↓ 1 callersMethod_init_assigner_sampler
Initialize the target assigner and sampler of the head.
mmdet3d/models/dense_heads/anchor3d_head.py:118
↓ 1 callersMethod_init_auxiliary_head
Initialize ``auxiliary_head``
mmdet3d/models/segmentors/encoder_decoder.py:50
↓ 1 callersMethod_init_cls_convs
Initialize classification conv layers of the head.
mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:187
↓ 1 callersMethod_init_decode_head
Initialize ``decode_head``
mmdet3d/models/segmentors/encoder_decoder.py:45
↓ 1 callersMethod_init_edge_module
Initialize edge fusion module for feature extraction.
mmdet3d/models/dense_heads/monoflex_head.py:128
↓ 1 callersMethod_init_layers
Initialize neural network layers of the head.
mmdet3d/models/dense_heads/imvoxel_head.py:65
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:181
↓ 1 callersMethod_init_layers
Initialize neural network layers of the head.
mmdet3d/models/dense_heads/anchor3d_head.py:134
↓ 1 callersMethod_init_layers
Initialize layers. Args: in_channels (tuple[int]): Number of channels in input tensors. out_channels (int): Numbe
mmdet3d/models/dense_heads/fcaf3d_head.py:115
↓ 1 callersMethod_init_loss_regularization
Initialize ``loss_regularization``
mmdet3d/models/segmentors/encoder_decoder.py:60
↓ 1 callersMethod_init_predictor
Initialize predictor layers of the head.
mmdet3d/models/dense_heads/monoflex_head.py:149
↓ 1 callersMethod_init_predictor
Initialize predictor layers of the head.
mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:250
↓ 1 callersMethod_init_reg_convs
Initialize bbox regression conv layers of the head.
mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:207
↓ 1 callersMethod_input_generation
Generating model input. Generate input by subtracting patch center and adding additional features. Currently support colors an
mmdet3d/datasets/pipelines/transforms_3d.py:1218
↓ 1 callersMethod_input_generation
Generating model input. Generate input by subtracting patch center and adding additional features. Currently support colors an
mmdet3d/models/segmentors/encoder_decoder.py:183
↓ 1 callersMethod_load_attr_labels
Private function to load label annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. Re
mmdet3d/datasets/pipelines/loading.py:584
↓ 1 callersMethod_load_bboxes_3d
Private function to load 3D bounding box annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`.
mmdet3d/datasets/pipelines/loading.py:546
↓ 1 callersMethod_load_bboxes_depth
Private function to load 2.5D bounding box annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`.
mmdet3d/datasets/pipelines/loading.py:559
↓ 1 callersMethod_load_labels_3d
Private function to load label annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. Re
mmdet3d/datasets/pipelines/loading.py:572
↓ 1 callersMethod_load_masks_3d
Private function to load 3D mask annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`.
mmdet3d/datasets/pipelines/loading.py:596
← previousnext →301–400 of 1,670, ranked by callers