Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tsinghua-MARS-Lab/futr3d
/ functions
Functions
1,670 in github.com/Tsinghua-MARS-Lab/futr3d
⨍
Functions
1,670
◇
Types & classes
258
↳
Endpoints
1
↓ 1 callers
Method
_load_points
Private function to load point clouds data. Args: pts_filename (str): Filename of point clouds data. Returns:
mmdet3d/datasets/pipelines/loading.py:149
↓ 1 callers
Method
_load_points
Private function to load point clouds data. Args: pts_filename (str): Filename of point clouds data. Returns:
mmdet3d/datasets/pipelines/loading.py:393
↓ 1 callers
Method
_load_points
Private function to load point clouds data. Args: pts_filename (str): Filename of point clouds data. Returns:
plugin/futr3d/datasets/loading.py:109
↓ 1 callers
Method
_load_points
Private function to load point clouds data. Args: pts_filename (str): Filename of point clouds data. Returns:
plugin/futr3d/datasets/loading.py:226
↓ 1 callers
Method
_load_points
Private function to load point clouds data. Args: pts_filename (str): Filename of point clouds data. Returns:
plugin/futr3d/datasets/loading.py:358
↓ 1 callers
Method
_load_semantic_seg_3d
Private function to load 3D semantic segmentation annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomData
mmdet3d/datasets/pipelines/loading.py:621
↓ 1 callers
Method
_loss
Per scene loss function. Args: center_preds (list[list[Tensor]]): Centerness predictions for all scenes.
mmdet3d/models/dense_heads/fcaf3d_head.py:324
↓ 1 callers
Method
_loss_regularization_forward_train
Calculate regularization loss for model weight in training.
mmdet3d/models/segmentors/encoder_decoder.py:126
↓ 1 callers
Method
_loss_single
Per scene loss function. Args: center_preds (list[Tensor]): Centerness predictions for all levels. bbox_preds (li
mmdet3d/models/dense_heads/imvoxel_head.py:106
↓ 1 callers
Method
_loss_single
Per scene loss function. Args: center_preds (list[Tensor]): Centerness predictions for all levels. bbox_preds (li
mmdet3d/models/dense_heads/fcaf3d_head.py:270
↓ 1 callers
Method
_make_block
Make a convolutional block. Args: in_channels (int): Number of input channels. out_channels (int): Number of outp
mmdet3d/models/necks/imvoxel_neck.py:140
↓ 1 callers
Method
_make_block
Construct Conv-Norm-Act block. Args: in_channels (int): Number of input channels. out_channels (int): Number of o
mmdet3d/models/dense_heads/fcaf3d_head.py:77
↓ 1 callers
Method
_make_conv_level
Conv modules. Args: in_channels (int): Input feature channel. out_channels (int): Output feature channel.
mmdet3d/models/backbones/dla.py:382
↓ 1 callers
Method
_make_layer
Make a layer from several residual blocks. Args: stride (int): Stride of the first residual block. n_channels (in
mmdet3d/models/necks/imvoxel_neck.py:119
↓ 1 callers
Method
_make_layer
(self, block, planes, blocks, stride)
mmdet3d/models/backbones/mink_resnet.py:72
↓ 1 callers
Method
_make_up_block
Make upsampling convolutional block. Args: in_channels (int): Number of input channels. out_channels (int): Numbe
mmdet3d/models/necks/imvoxel_neck.py:155
↓ 1 callers
Method
_make_up_block
Construct DeConv-Norm-Act-Conv-Norm-Act block. Args: in_channels (int): Number of input channels. out_channels (i
mmdet3d/models/dense_heads/fcaf3d_head.py:93
↓ 1 callers
Method
_pad_img
Pad images according to ``self.size``.
plugin/futr3d/datasets/transform_3d.py:31
↓ 1 callers
Method
_patch_points_sampling
Patch points sampling. First sample a valid patch. Then sample points within that patch to a certain number. Args:
mmdet3d/datasets/pipelines/transforms_3d.py:1259
↓ 1 callers
Function
_points_in_convex_polygon_3d_jit
Args: points (np.ndarray): Input points with shape of (num_points, 3). polygon_surfaces (np.ndarray): Polygon surfaces with sh
mmdet3d/core/bbox/box_np_ops.py:642
↓ 1 callers
Method
_points_random_sampling
Points random sampling. Sample points to a certain number. Args: points (np.ndarray | :obj:`BasePoints`): 3D Points
mmdet3d/datasets/pipelines/transforms_3d.py:1049
↓ 1 callers
Function
_points_to_voxel_kernel
convert kitti points(N, >=3) to voxels. Args: points (np.ndarray): [N, ndim]. points[:, :3] contain xyz points and points
mmdet3d/core/voxel/voxel_generator.py:212
↓ 1 callers
Function
_points_to_voxel_reverse_kernel
convert kitti points(N, >=3) to voxels. Args: points (np.ndarray): [N, ndim]. points[:, :3] contain xyz points and points
mmdet3d/core/voxel/voxel_generator.py:138
↓ 1 callers
Method
_pool_features
Perform feature aggregation using pooling operation. Args: features (torch.Tensor): (B, C, N, K) Features of
mmdet3d/ops/dgcnn_modules/dgcnn_gf_module.py:85
↓ 1 callers
Function
_prepare_data
(gt_annos, dt_annos, current_class, difficulty)
mmdet3d/core/evaluation/kitti_utils/eval.py:421
↓ 1 callers
Method
_prune
Prunes the tensor by score thresholding. Args: x (SparseTensor): Tensor to be pruned. scores (SparseTensor): Scor
mmdet3d/models/dense_heads/fcaf3d_head.py:211
↓ 1 callers
Method
_rand_another
Randomly get another item with the same flag. Returns: int: Another index of item with the same flag.
mmdet3d/datasets/custom_3d.py:417
↓ 1 callers
Method
_rand_another
Randomly get another item with the same flag. Returns: int: Another index of item with the same flag.
mmdet3d/datasets/custom_3d_seg.py:364
↓ 1 callers
Method
_random_scale
Private function to randomly set the scale factor. Args: input_dict (dict): Result dict from loading pipeline. Retu
mmdet3d/datasets/pipelines/transforms_3d.py:807
↓ 1 callers
Method
_reset
Reset the index of batchsampler to zero.
mmdet3d/datasets/pipelines/dbsampler.py:60
↓ 1 callers
Method
_rot_bbox_points
Private function to rotate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. R
mmdet3d/datasets/pipelines/transforms_3d.py:755
↓ 1 callers
Method
_rot_points
Private function to rotate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline.
mmdet3d/datasets/pipelines/transforms_3d.py:634
↓ 1 callers
Function
_rotation_matrix_3d_
Get the 3D rotation matrix. Args: rot_mat_T (np.ndarray): Transposed rotation matrix. angle (float): Rotation angle.
mmdet3d/datasets/pipelines/data_augment_utils.py:255
↓ 1 callers
Method
_sample
Sample specific number of ground truths and return indices. Args: num (int): Sampled number. Returns:
mmdet3d/datasets/pipelines/dbsampler.py:43
↓ 1 callers
Method
_sample_neg
Randomly sample some negative samples.
mmdet3d/core/bbox/samplers/iou_neg_piecewise_sampler.py:59
↓ 1 callers
Method
_sample_pos
Randomly sample some positive samples.
mmdet3d/core/bbox/samplers/iou_neg_piecewise_sampler.py:49
↓ 1 callers
Method
_scale_bbox_points
Private function to scale bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Re
mmdet3d/datasets/pipelines/transforms_3d.py:785
↓ 1 callers
Method
_semantic_forward_train
Train semantic head. Args: x (torch.Tensor): Point-wise semantic features for segmentation voxels_dict (dict): Co
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:305
↓ 1 callers
Method
_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_seg.py:458
↓ 1 callers
Method
_single_scene_multiclass_nms
Multi-class nms for a single scene. Args: bboxes (Tensor): Predicted boxes of shape (N_boxes, 6) or (N_boxes,
mmdet3d/models/dense_heads/imvoxel_head.py:480
↓ 1 callers
Method
_single_scene_multiclass_nms
Multi-class nms for a single scene. Args: bboxes (Tensor): Predicted boxes of shape (N_boxes, 6) or (N_boxes,
mmdet3d/models/dense_heads/fcaf3d_head.py:620
↓ 1 callers
Method
_sliding_patch_generation
Sampling points in a sliding window fashion. First sample patches to cover all the input points. Then sample points in each patch
mmdet3d/models/segmentors/encoder_decoder.py:218
↓ 1 callers
Method
_topk
Get indexes based on scores. Args: scores (torch.Tensor): scores with the shape of [B, N, W, H]. K (int, optional
mmdet3d/core/bbox/coders/centerpoint_bbox_coders.py:63
↓ 1 callers
Method
_trans_bbox_points
Private function to translate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline.
mmdet3d/datasets/pipelines/transforms_3d.py:736
↓ 1 callers
Method
_trans_points
Private function to translate points. Args: input_dict (dict): Result dict from loading pipeline. trans_factor (n
mmdet3d/datasets/pipelines/transforms_3d.py:622
↓ 1 callers
Function
add_mim_extension
Add extra files that are required to support MIM into the package. These files will be added by creating a symlink to the originals if the
setup.py:143
↓ 1 callers
Function
add_plot_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:113
↓ 1 callers
Method
add_sin_difference
Convert the rotation difference to difference in sine function. Args: boxes1 (torch.Tensor): Original Boxes in shape (NxC), wh
mmdet3d/models/dense_heads/fcos_mono3d_head.py:192
↓ 1 callers
Function
add_time_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:143
↓ 1 callers
Function
aggregate_predictions
Maps predictions to ScanNet evaluator format. Args: masks (list[torch.Tensor]): Per scene predicted instance masks. labels (l
mmdet3d/core/evaluation/instance_seg_eval.py:9
↓ 1 callers
Function
area
(int_pts, num_of_inter)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:26
↓ 1 callers
Function
assign_instances_for_scan
Assign gt and predicted instances for a single scene. Args: pred_info (dict): Predicted masks, labels and scores. gt_ids (np.
mmdet3d/core/evaluation/scannet_utils/evaluate_semantic_instance.py:221
↓ 1 callers
Function
assign_kernel_withoutk
Pre-compute features with weight matrices in weight bank. This function is used before cuda op assign_score_withk in CUDA version PAConv.
mmdet3d/ops/paconv/utils.py:47
↓ 1 callers
Function
assign_score
Perform weighted sum to aggregate output features according to scores. This function is used in non-CUDA version of PAConv. Compared to th
mmdet3d/ops/paconv/utils.py:21
↓ 1 callers
Method
aug_test
Test with augmentations. Args: points (list[torch.Tensor]): List of points of shape [B, N, 3+C]. img_metas (list[
mmdet3d/models/segmentors/encoder_decoder.py:425
↓ 1 callers
Method
aug_test
Test function with augmentaiton.
mmdet3d/models/detectors/sassd.py:116
↓ 1 callers
Method
aug_test_img_only
r"""Test function with augmentation, image network pretrain. May refer to `<https://github.com/open-mmlab/mmdetection/blob/master/mmdet/model
mmdet3d/models/detectors/imvotenet.py:703
↓ 1 callers
Method
aug_test_pts
Test function of point cloud branch with augmentaiton. The function implementation process is as follows: - step 1: map feat
mmdet3d/models/detectors/centerpoint.py:93
↓ 1 callers
Method
aug_test_pts
Test function of point cloud branch with augmentaiton.
mmdet3d/models/detectors/mvx_two_stage.py:438
↓ 1 callers
Method
aug_test_pts
Test function of point cloud branch with augmentaiton.
plugin/futr3d/models/detectors/futr3d.py:392
↓ 1 callers
Method
aux_loss
Calculate auxiliary loss. Args: points (torch.Tensor): Mean feature value of the points. point_cls (torch.Tensor)
mmdet3d/models/middle_encoders/sparse_encoder.py:410
↓ 1 callers
Function
average_precision
Calculate average precision (for single or multiple scales). Args: recalls (np.ndarray): Recalls with shape of (num_scales, num_dets)
mmdet3d/core/evaluation/indoor_eval.py:8
↓ 1 callers
Function
axis_aligned_bbox_overlaps_3d
Calculate overlap between two set of axis aligned 3D bboxes. If ``is_aligned`` is ``False``, then calculate the overlaps between each bbox o
mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:210
↓ 1 callers
Function
axis_aligned_iou_loss
Calculate the IoU loss (1-IoU) of two sets of axis aligned bounding boxes. Note that predictions and targets are one-to-one corresponded.
mmdet3d/models/losses/axis_aligned_iou_loss.py:11
↓ 1 callers
Function
bbox3d_mapping_back
Map bboxes from testing scale to original image scale. Args: bboxes (:obj:`BaseInstance3DBoxes`): Boxes to be mapped back. sc
mmdet3d/core/bbox/transforms.py:5
↓ 1 callers
Function
bbox_2d_transform
Transform 2d bbox according to img_meta. Args: img_meta(dict): Meta info regarding data transformation. bbox_2d (torch.Tensor
mmdet3d/models/fusion_layers/coord_transform.py:123
↓ 1 callers
Function
bbox_overlaps_3d
Calculate 3D IoU using cuda implementation. Note: This function calculates the IoU of 3D boxes based on their volumes. IoU ca
mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:148
↓ 1 callers
Function
bev_box_overlap
(boxes, qboxes, criterion=-1)
mmdet3d/core/evaluation/kitti_utils/eval.py:117
↓ 1 callers
Function
box3d_transform_
Transform 3D boxes. Args: boxes (np.ndarray): 3D boxes to be transformed. loc_transform (np.ndarray): Location transform to b
mmdet3d/datasets/pipelines/data_augment_utils.py:314
↓ 1 callers
Function
build_data_cfg
Build data config for loading visualization data.
tools/misc/browse_dataset.py:60
↓ 1 callers
Method
build_roi_layers
Build roi layers using `layer_cfg`
mmdet3d/models/roi_heads/roi_extractors/single_roipoint_extractor.py:24
↓ 1 callers
Method
build_roi_layers
Build roi layers using `layer_cfg`
mmdet3d/models/roi_heads/roi_extractors/single_roiaware_extractor.py:23
↓ 1 callers
Function
build_segmentor
Build segmentor.
mmdet3d/models/builder.py:100
↓ 1 callers
Function
calc_euclidian_dist
Calculate the Euclidean distance between two sets of points. Args: xyz1 (torch.Tensor): (N, 3), the first set of points. xyz2
mmdet3d/ops/paconv/utils.py:5
↓ 1 callers
Function
calculate_iou_partly
Fast iou algorithm. this function can be used independently to do result analysis. Must be used in CAMERA coordinate system. Args:
mmdet3d/core/evaluation/kitti_utils/eval.py:343
↓ 1 callers
Method
calculate_pts_offsets
Find all boxes in which each point is, as well as the offsets from the box centers. Args: points (torch.Tensor): [M,
mmdet3d/models/middle_encoders/sparse_encoder.py:372
↓ 1 callers
Method
cart_to_homo
Convert transformation matrix in Cartesian coordinates to homogeneous format. Args: mat (np.ndarray): Transformation
tools/data_converter/waymo_converter.py:539
↓ 1 callers
Function
center_to_minmax_2d
Center to minmax. Args: centers (np.ndarray): Center points. dims (np.ndarray): Dimensions. origin (list or array or
mmdet3d/core/bbox/box_np_ops.py:444
↓ 1 callers
Method
check_dist
Whether the mean of points to plane distance is lower than thresh. Args: plane_equ (torch.Tensor): Plane to be checked.
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:643
↓ 1 callers
Method
check_horizon
Check whether is a horizontal plane. Args: points (torch.Tensor): Points of input. Returns: Bool: Flag
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:630
↓ 1 callers
Function
circle_nms
Circular NMS. An object is only counted as positive if no other center with a higher confidence exists within a radius r using a bird
mmdet3d/core/post_processing/box3d_nms.py:182
↓ 1 callers
Method
class_agnostic_nms
Class agnostic nms for single batch. Args: mlvl_bboxes (torch.Tensor): Bboxes from Multi-level. mlvl_bboxes_for_n
mmdet3d/models/dense_heads/parta2_rpn_head.py:222
↓ 1 callers
Method
class_agnostic_nms
Class agnostic nms. Args: obj_scores (torch.Tensor): Objectness score of bounding boxes. sem_scores (torch.Tensor
mmdet3d/models/dense_heads/point_rpn_head.py:288
↓ 1 callers
Function
clean_data
(gt_anno, dt_anno, current_class, difficulty)
mmdet3d/core/evaluation/kitti_utils/eval.py:30
↓ 1 callers
Function
clip_sigmoid
Sigmoid function for input feature. Args: x (torch.Tensor): Input feature map with the shape of [B, N, H, W]. eps (float, opt
mmdet3d/models/utils/clip_sigmoid.py:5
↓ 1 callers
Method
combine
Combine predictions in waymo format for each sample together. Args: pathnames (str): Paths to save predictions. Ret
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:245
↓ 1 callers
Method
combine_depths
Combine all the prediced depths with depth uncertainty. Args: depth (torch.Tensor): Predicted depths of each object.
mmdet3d/core/bbox/coders/monoflex_bbox_coder.py:495
↓ 1 callers
Function
compat_imgs_per_gpu
(cfg)
mmdet3d/utils/compat_cfg.py:37
↓ 1 callers
Function
compat_loader_args
Deprecated sample_per_gpu in cfg.data.
mmdet3d/utils/compat_cfg.py:54
↓ 1 callers
Function
compat_runner_args
(cfg)
mmdet3d/utils/compat_cfg.py:22
↓ 1 callers
Function
compute_averages
Averages AP scores for all categories. Args: aps (np.array): AP scores for all thresholds and categories. options (dict): Sca
mmdet3d/core/evaluation/scannet_utils/evaluate_semantic_instance.py:189
↓ 1 callers
Method
compute_primitive_loss
Compute loss of primitive module. Args: primitive_center (torch.Tensor): Pridictions of primitive center. primiti
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:734
↓ 1 callers
Method
concat_data_infos
Concat data_infos from several datasets to form self.data_infos. Args: data_infos (list[list[dict]])
mmdet3d/datasets/s3dis_dataset.py:396
↓ 1 callers
Method
concat_scene_idxs
Concat scene_idxs from several datasets to form self.scene_idxs. Needs to manually add offset to scene_idxs[1, 2, ...]. Args:
mmdet3d/datasets/s3dis_dataset.py:406
↓ 1 callers
Function
convert
Convert keys in pycls pretrained RegNet models to mmdet style.
tools/model_converters/regnet2mmdet.py:55
↓ 1 callers
Method
convert
Convert boxes or points from `src` mode to `dst` mode. Args: input (tuple | list | np.ndarray | torch.Tensor |
mmdet3d/core/bbox/structures/coord_3d_mode.py:65
↓ 1 callers
Method
convert
Convert action.
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:211
↓ 1 callers
Function
convert_SyncBN
Convert config's naiveSyncBN to BN. Args: config (str or :obj:`mmcv.Config`): Config file path or the config object.
mmdet3d/apis/inference.py:22
↓ 1 callers
Function
convert_head
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:16
↓ 1 callers
Function
convert_oriented_box_to_trimesh_fmt
(box)
mmdet3d/core/visualizer/show_result.py:53
← previous
next →
401–500 of 1,670, ranked by callers