MCPcopy Create free account

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

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

↓ 3 callersMethod_add_conv_branch
Add shared or separable branch.
mmdet3d/models/dense_heads/base_conv_bbox_head.py:85
↓ 3 callersMethod_affine_transform
Affine transform bbox points to input image. Args: points (np.ndarray): Points to be transformed. shape: (N,
mmdet3d/datasets/pipelines/transforms_3d.py:1731
↓ 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]):
mmdet3d/core/visualizer/open3d_vis.py:60
↓ 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:
mmdet3d/datasets/scannet_dataset.py:197
↓ 3 callersMethod_get_transform_matrix
Get affine transform matrix. Args: center (tuple): Center of current image. scale (tuple): Scale of current image
mmdet3d/datasets/pipelines/transforms_3d.py:1750
↓ 3 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
mmdet3d/datasets/custom_3d.py:441
↓ 3 callersMethodadd_bboxes
Add bounding box to visualizer. Args: bbox3d (numpy.array, shape=[M, 7]): 3D bbox (x, y, z, x_size, y_size, z
mmdet3d/core/visualizer/open3d_vis.py:404
↓ 3 callersFunctionaligned_3d_nms
3D NMS for aligned boxes. Args: boxes (torch.Tensor): Aligned box with shape [n, 6]. scores (torch.Tensor): Scores of each bo
mmdet3d/core/post_processing/box3d_nms.py:131
↓ 3 callersMethodanchors_single_range
Generate anchors in a single range. Args: feature_size (list[float] | tuple[float]): Feature map size. It is
mmdet3d/core/anchor/anchor_3d_generator.py:155
↓ 3 callersMethodangle2class
Convert continuous angle to a discrete class and a residual. Convert continuous angle to a discrete class and a small regression n
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:204
↓ 3 callersFunctionbbox_overlaps_nearest_3d
Calculate nearest 3D IoU. Note: This function first finds the nearest 2D boxes in bird eye view (BEV), and then calculates th
mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:99
↓ 3 callersFunctionbuild_roi_extractor
Build RoI feature extractor.
mmdet3d/models/builder.py:48
↓ 3 callersFunctioncamera_to_lidar
Convert points in camera coordinate to lidar coordinate. Note: This function is for KITTI only. Args: points (np.ndarr
mmdet3d/core/bbox/box_np_ops.py:13
↓ 3 callersMethodclass2angle
Inverse function to angle2class. Args: angle_cls (torch.Tensor): Angle class to decode. angle_res (torch.Tensor):
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:225
↓ 3 callersMethodcls_seg
Classify each points.
mmdet3d/models/decode_heads/decode_head.py:103
↓ 3 callersMethoddecode_prob_depth
Decode probabilistic depth map. Args: depth_cls_preds (torch.Tensor): Depth probabilistic map in shape [...,
mmdet3d/core/bbox/coders/pgd_bbox_coder.py:73
↓ 3 callersMethoddecode_yaw
Decode yaw angle and change it from local to global.i. Args: bbox (torch.Tensor): Bounding box predictions in shape
mmdet3d/core/bbox/coders/fcos3d_bbox_coder.py:103
↓ 3 callersMethodencode_decode
Encode points with backbone and decode into a semantic segmentation map of the same size as input. Args: points (torc
mmdet3d/models/segmentors/encoder_decoder.py:77
↓ 3 callersMethodenlarged_box
Enlarge the length, width and height boxes. Args: extra_width (float | torch.Tensor): Extra width to enlarge the box.
mmdet3d/core/bbox/structures/lidar_box3d.py:197
↓ 3 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_com
mmdet3d/core/evaluation/kitti_utils/eval.py:452
↓ 3 callersMethodextract_bboxes_2d
Extract bounding boxes from 2d detector. Args: img (torch.Tensor): of shape (N, C, H, W) encoding input images.
mmdet3d/models/detectors/imvotenet.py:310
↓ 3 callersMethodextract_feat
Extract features from images and points.
plugin/futr3d/models/detectors/futr3d.py:163
↓ 3 callersMethodextract_pts_feat
Extract features of points.
mmdet3d/models/detectors/imvotenet.py:292
↓ 3 callersFunctionfuse_conv_bn
During inference, the functionary of batch norm layers is turned off but only the mean and var alone channels are used, which exposes the chance
tools/misc/fuse_conv_bn.py:11
↓ 3 callersFunctiongaussian_radius
Get radius of gaussian. Args: det_size (tuple[torch.Tensor]): Size of the detection result. min_overlap (float, optional): Ga
mmdet3d/core/utils/gaussian.py:57
↓ 3 callersMethodget_anchors
Get anchors according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. inp
mmdet3d/models/dense_heads/anchor3d_head.py:174
↓ 3 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/sunrgbd_dataset.py:122
↓ 3 callersMethodget_bboxes
Generate bboxes from vote head predictions. Args: points (torch.Tensor): Input points. bbox_preds (dict): Predict
mmdet3d/models/roi_heads/bbox_heads/h3d_bbox_head.py:439
↓ 3 callersMethodget_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns:
mmdet3d/datasets/custom_3d.py:117
↓ 3 callersMethodget_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns:
mmdet3d/datasets/custom_3d_seg.py:112
↓ 3 callersMethodget_infos
Get data infos. This method gets information from the raw data. Args: num_workers (int, optional): Number of thread
tools/data_converter/s3dis_data_utils.py:46
↓ 3 callersFunctionget_kitti_image_info
KITTI annotation format version 2: { [optional]points: [N, 3+] point cloud [optional, for kitti]image: { ima
tools/data_converter/kitti_data_utils.py:166
↓ 3 callersFunctionget_loading_pipeline
Only keep loading image, points and annotations related configuration. Args: pipeline (list[dict] | list[:obj:`Pipeline`]):
mmdet3d/datasets/utils.py:53
↓ 3 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
mmdet3d/utils/logger.py:7
↓ 3 callersMethodget_surface_line_center
Compute surface and line center of bounding boxes. Returns: torch.Tensor: Surface and line center of bounding boxes.
mmdet3d/core/bbox/structures/depth_box3d.py:223
↓ 3 callersFunctionget_velodyne_path
(idx, prefix, training=True, relative_pat
tools/data_converter/kitti_data_utils.py:77
↓ 3 callersMethodindex_to_str
(index)
data/scannet/extract_posed_images.py:124
↓ 3 callersFunctioninference_detector
Inference point cloud with the detector. Args: model (nn.Module): The loaded detector. pcd (str): Point cloud files. R
mmdet3d/apis/inference.py:81
↓ 3 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
plugin/futr3d/models/utils/futr3d_transformer.py:32
↓ 3 callersMethodlimit_yaw
Limit the yaw to a given period and offset. Args: offset (float, optional): The offset of the yaw. Defaults to 0.5.
mmdet3d/core/bbox/structures/base_box3d.py:272
↓ 3 callersMethodmake_auxiliary_points
Make auxiliary points for loss computation. Args: source_tensor (torch.Tensor): (M, C) features to be propigated.
mmdet3d/models/middle_encoders/sparse_encoder.py:455
↓ 3 callersFunctionplot_rect3d_on_img
Plot the boundary lines of 3D rectangular on 2D images. Args: img (numpy.array): The numpy array of image. num_rects (int): N
mmdet3d/core/visualizer/image_vis.py:61
↓ 3 callersMethodpre_pipeline
Initialization before data preparation. Args: results (dict): Dict before data preprocessing. - img_fields
mmdet3d/datasets/custom_3d_seg.py:141
↓ 3 callersFunctionsample_valid_seeds
r"""Randomly sample seeds from all imvotes. Modified from `<https://github.com/facebookresearch/imvotenet/blob/a8856345146bacf29a57266a2f0b8744
mmdet3d/models/detectors/imvotenet.py:14
↓ 3 callersFunctionsetup_multi_processes
Setup multi-processing environment variables.
mmdet3d/utils/setup_env.py:10
↓ 3 callersMethodsimple_test
Test without augmentation, stage 2. Args: points (list[torch.Tensor], optional): Elements in the list should
mmdet3d/models/detectors/imvotenet.py:637
↓ 3 callersMethodsimple_test_rpn
RPN test function.
mmdet3d/models/detectors/mvx_two_stage.py:384
↓ 3 callersFunctionupdate_outdoor_dbinfos
(root_dir, out_dir, pkl_files)
tools/update_data_coords.py:34
↓ 2 callersMethod__call__
Call function to apply noise to each ground truth in the scene. Args: input_dict (dict): Result dict from loading pipeline.
mmdet3d/datasets/pipelines/transforms_3d.py:565
↓ 2 callersMethod__init__
(self, inplanes, planes, stride=1, dow
mmdet3d/ops/sparse_block.py:41
↓ 2 callersMethod__init__
(self, mlp_channels, num_point=None, radius=None,
mmdet3d/ops/pointnet_modules/point_sa_module.py:331
↓ 2 callersMethod__init__
(self, in_channels, out_channels, num_kernels,
mmdet3d/ops/paconv/paconv.py:142
↓ 2 callersMethod__init__
(self, ranges, sizes=[[3.9, 1.6, 1.56]], scales=[1],
mmdet3d/core/anchor/anchor_3d_generator.py:39
↓ 2 callersMethod__init__
(self, data_root, ann_file, pipeline=None,
mmdet3d/datasets/s3dis_dataset.py:49
↓ 2 callersMethod__init__
(self, in_channels, out_channels, stride=1)
mmdet3d/models/necks/imvoxel_neck.py:182
↓ 2 callersMethod__init__
(self, in_channels=[16, 32, 64, 128, 256, 512], start_level=2,
mmdet3d/models/necks/dla_neck.py:187
↓ 2 callersMethod__init__
(self, in_channels=[128], tasks=None, train_cfg=None,
mmdet3d/models/dense_heads/centerpoint_head.py:274
↓ 2 callersMethod__init__
Pillar Feature Net Layer. The Pillar Feature Net could be composed of a series of these layers, but the PointPillars paper results
plugin/futr3d/models/backbone/radar_encoder.py:40
↓ 2 callersMethod__init__
(self, input_dim, hidden_dim, output_dim, num_layers)
plugin/futr3d/models/utils/futr3d_transformer.py:540
↓ 2 callersMethod__len__
int: Number of points in the current object.
mmdet3d/core/points/base_points.py:348
↓ 2 callersMethod_add_conv_branch
Add shared or separable branch. Args: in_channels (int): Input feature channel. conv_channels (tuple): Middle fea
mmdet3d/models/roi_heads/bbox_heads/point_rcnn_bbox_head.py:172
↓ 2 callersMethod_assign_targets_by_points_inside
Compute assignment by checking whether point is inside bbox. Args: bboxes_3d (BaseInstance3DBoxes): Instance of bounding boxes
mmdet3d/models/dense_heads/ssd_3d_head.py:540
↓ 2 callersMethod_assign_targets_by_points_inside
Compute assignment by checking whether point is inside bbox. Args: bboxes_3d (:obj:`BaseInstance3DBoxes`): Instance of boundin
mmdet3d/models/dense_heads/point_rpn_head.py:358
↓ 2 callersMethod_bbox_forward
Forward function of roi_extractor and bbox_head used in both training and testing. Args: seg_feats (torch.Tensor): Po
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:200
↓ 2 callersMethod_bbox_forward
Forward function of roi_extractor and bbox_head used in both training and testing. Args: features (torch.Tensor): Bac
mmdet3d/models/roi_heads/point_rcnn_roi_head.py:191
↓ 2 callersMethod_bbox_pred_to_bbox
Transform predicted bbox parameters to bbox. Args: points (Tensor): Final locations of shape (N, 3). bbox_pred (T
mmdet3d/models/dense_heads/imvoxel_head.py:321
↓ 2 callersMethod_bbox_pred_to_bbox
Transform predicted bbox parameters to bbox. Args: points (Tensor): Final locations of shape (N, 3) bbox_pred (Te
mmdet3d/models/dense_heads/fcaf3d_head.py:450
↓ 2 callersMethod_bbox_to_loss
Transform box to the axis-aligned or rotated iou loss format. Args: bbox (Tensor): 3D box of shape (N, 6) or (N, 7).
mmdet3d/models/dense_heads/fcaf3d_head.py:429
↓ 2 callersFunction_calculate_num_points_in_gt
(data_path, infos, relative_path,
tools/data_converter/kitti_converter.py:116
↓ 2 callersMethod_decode_orientation
Retrieve object orientation. Args: ori_vector (Tensor): Local orientation in [sin, cos] format. shape: (N, 2)
mmdet3d/core/bbox/coders/smoke_bbox_coder.py:171
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in nuScenes protocol. Args: result_path (str): Path of the result file. logger (log
mmdet3d/datasets/nuscenes_dataset.py:380
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in nuScenes protocol. Args: result_path (str): Path of the result file. logger (log
mmdet3d/datasets/nuscenes_mono_dataset.py:430
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in Lyft protocol. Args: result_path (str): Path of the result file. logger (logging
mmdet3d/datasets/lyft_dataset.py:273
↓ 2 callersMethod_extract_input
Extract inputs from features dictionary. Args: feat_dict (dict): Feature dict from backbone. Returns:
mmdet3d/models/decode_heads/dgcnn_head.py:38
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_
mmdet3d/datasets/nuscenes_dataset.py:311
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_
mmdet3d/datasets/nuscenes_mono_dataset.py:323
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_
mmdet3d/datasets/lyft_dataset.py:230
↓ 2 callersMethod_get_cls_out_channels
Return the channel number of classification outputs.
mmdet3d/models/dense_heads/point_rpn_head.py:92
↓ 2 callersMethod_get_cls_out_channels
Return the channel number of classification outputs.
mmdet3d/models/dense_heads/groupfree3d_head.py:266
↓ 2 callersMethod_get_plane_fomulation
Compute the equation of the plane. Args: vector1 (torch.Tensor): Parallel vector of the plane. vector2 (torch.Ten
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:951
↓ 2 callersMethod_get_points
Generate final locations. Args: features (list[Tensor]): Feature tensors for all feature levels. Returns:
mmdet3d/models/dense_heads/imvoxel_head.py:299
↓ 2 callersMethod_get_ref_point
Get reference point to calculate affine transform matrix. While using opencv to calculate the affine matrix, we need at least thre
mmdet3d/datasets/pipelines/transforms_3d.py:1785
↓ 2 callersMethod_get_reg_out_channels
Return the channel number of regression outputs.
mmdet3d/models/dense_heads/point_rpn_head.py:97
↓ 2 callersMethod_get_reg_out_channels
Return the channel number of regression outputs.
mmdet3d/models/dense_heads/groupfree3d_head.py:271
↓ 2 callersMethod_make_fc_layers
Make fully connect layers. Args: fc_cfg (dict): Config of fully connect. input_channels (int): Input channels for
mmdet3d/models/dense_heads/point_rpn_head.py:69
↓ 2 callersFunction_parse_coco_ann_info
(ann_info)
tools/data_converter/create_gt_database.py:33
↓ 2 callersFunction_poly2mask
(mask_ann, img_h, img_w)
tools/data_converter/create_gt_database.py:17
↓ 2 callersMethod_pool_features
Perform feature aggregation using pooling operation. Args: features (torch.Tensor): (B, C, N, K) Features of
mmdet3d/ops/pointnet_modules/point_sa_module.py:146
↓ 2 callersMethod_prepare_scorenet_input
Prepare input point pairs features for self.ScoreNet. Args: points_xyz (torch.Tensor): (B, 3, npoint, K) Coor
mmdet3d/ops/paconv/paconv.py:226
↓ 2 callersMethod_remove_close
Removes point too close within a certain radius from origin. Args: points (np.ndarray | :obj:`BasePoints`): Sweep points.
mmdet3d/datasets/pipelines/loading.py:171
↓ 2 callersMethod_remove_close
Removes point too close within a certain radius from origin. Args: points (np.ndarray | :obj:`BasePoints`): Sweep points.
plugin/futr3d/datasets/loading.py:246
↓ 2 callersFunction_rotation_box2d_jit_
Rotate 2D boxes. Args: corners (np.ndarray): Corners of boxes. angle (float): Rotation angle. rot_mat_T (np.ndarray)
mmdet3d/datasets/pipelines/data_augment_utils.py:14
↓ 2 callersMethod_sample_points
Perform point sampling based on inputs. If `indices` is specified, directly sample corresponding points. Else if `target_xyz` is s
mmdet3d/ops/pointnet_modules/point_sa_module.py:112
↓ 2 callersMethod_sample_points
Sample points for each points subset. Args: points (np.ndarray): Points subset to be sampled. sampler (VoxelGener
mmdet3d/datasets/pipelines/transforms_3d.py:1491
↓ 2 callersFunction_select_transform
Select transform. Args: transform (np.ndarray): Transforms to select from. indices (np.ndarray): Mask to indicate which trans
mmdet3d/datasets/pipelines/data_augment_utils.py:236
↓ 2 callersMethod_split_point_feats
Split coordinates and features of input points. Args: points (torch.Tensor): Point coordinates with features,
mmdet3d/models/backbones/base_pointnet.py:22
↓ 2 callersMethod_upsample_valid_preds
Upsample valid mask predictions. Args: valid_pred (Tensor): Valid mask prediction. features (Tensor): Feature ten
mmdet3d/models/dense_heads/imvoxel_head.py:283
↓ 2 callersFunction_write_oriented_bbox
Export oriented (around Z axis) scene bbox to meshes. Args: scene_bbox(list[ndarray] or ndarray): xyz pos of center and 3
mmdet3d/core/visualizer/show_result.py:34
↓ 2 callersFunctionadd_difficulty_to_annos
(info)
tools/data_converter/kitti_data_utils.py:534
↓ 2 callersMethodadd_seg_mask
Add segmentation mask to visualizer via per-point colorization. Args: seg_mask_colors (numpy.array, shape=[N, 6]):
mmdet3d/core/visualizer/open3d_vis.py:425
← previousnext →101–200 of 1,670, ranked by callers