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
↓ 2 callers
Method
anchor_target_3d
Compute regression and classification targets for anchors. Args: anchor_list (list[list]): Multi level anchors of each image.
mmdet3d/models/dense_heads/train_mixins.py:12
↓ 2 callers
Method
aug_test
Test function with augmentation, stage 2. Args: points (list[list[torch.Tensor]], optional): the outer list i
mmdet3d/models/detectors/imvotenet.py:735
↓ 2 callers
Function
batch_export
(max_num_point, output_folder, scan_names_file, label_ma
data/scannet/batch_load_scannet_data.py:80
↓ 2 callers
Method
bbox2result_kitti
Convert 3D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray])
mmdet3d/datasets/kitti_dataset.py:394
↓ 2 callers
Method
bbox2result_kitti
Convert 3D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray])
mmdet3d/datasets/kitti_mono_dataset.py:271
↓ 2 callers
Method
bbox2result_kitti
Convert results to kitti format for evaluation and test submission. Args: net_outputs (List[np.ndarray]): list of array storin
mmdet3d/datasets/waymo_dataset.py:360
↓ 2 callers
Method
bbox2result_kitti2d
Convert 2D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray])
mmdet3d/datasets/kitti_dataset.py:509
↓ 2 callers
Method
bbox2result_kitti2d
Convert 2D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray])
mmdet3d/datasets/kitti_mono_dataset.py:386
↓ 2 callers
Function
box_collision_test
Box collision test. Args: boxes (np.ndarray): Corners of current boxes. qboxes (np.ndarray): Boxes to be avoid colliding.
mmdet3d/datasets/pipelines/data_augment_utils.py:32
↓ 2 callers
Method
calculate
(self, infos)
tools/data_converter/kitti_converter.py:109
↓ 2 callers
Function
cam_nusc_box_to_global
Convert the box from camera to global coordinate. Args: info (dict): Info for a specific sample data, including the calib
mmdet3d/datasets/nuscenes_mono_dataset.py:732
↓ 2 callers
Function
center_to_corner_box2d
Convert kitti locations, dimensions and angles to corners. format: center(xy), dims(xy), angles(counterclockwise when positive) Args:
mmdet3d/core/bbox/box_np_ops.py:96
↓ 2 callers
Function
center_to_corner_box3d
Convert kitti locations, dimensions and angles to corners. Args: centers (np.ndarray): Locations in kitti label file with shape (N, 3)
mmdet3d/core/bbox/box_np_ops.py:171
↓ 2 callers
Function
collect_env
Collect the information of the running environments.
mmdet3d/utils/collect_env.py:11
↓ 2 callers
Function
compat_cfg
This function would modify some filed to keep the compatibility of config. For example, it will move some args which will be deprecated to
mmdet3d/utils/compat_cfg.py:8
↓ 2 callers
Function
compute_statistics_jit
(overlaps, gt_datas, dt_datas,
mmdet3d/core/evaluation/kitti_utils/eval.py:164
↓ 2 callers
Function
conv1x1
1x1 convolution with padding
plugin/futr3d/models/backbone/vovnet.py:136
↓ 2 callers
Function
conv3x3
3x3 convolution with padding
plugin/futr3d/models/backbone/vovnet.py:116
↓ 2 callers
Method
convert
Convert action.
tools/data_converter/waymo_converter.py:94
↓ 2 callers
Method
convert_box
Convert boxes from `src` mode to `dst` mode. Args: box (tuple | list | np.ndarray | torch.Tensor | :obj:`Base
mmdet3d/core/bbox/structures/coord_3d_mode.py:109
↓ 2 callers
Method
convert_range_image_to_point_cloud
Convert range images to point cloud. Args: frame (:obj:`Frame`): Open dataset frame. range_images (dict): Mapping
tools/data_converter/waymo_converter.py:419
↓ 2 callers
Function
corners_nd
Generate relative box corners based on length per dim and origin point. Args: dims (np.ndarray, shape=[N, ndim]): Array of length per
mmdet3d/core/bbox/box_np_ops.py:62
↓ 2 callers
Function
create_groundtruth_database
Given the raw data, generate the ground truth database. Args: dataset_class_name (str): Name of the input dataset. data_path
tools/data_converter/create_gt_database.py:110
↓ 2 callers
Function
crop_image_patch
(pos_proposals, gt_masks, pos_assigned_gt_inds, org_img)
tools/data_converter/create_gt_database.py:90
↓ 2 callers
Function
cuda_time
()
tools/measure_latency.py:34
↓ 2 callers
Method
decode_corners
Decode center, size residuals and class to corners. Only useful for axis-aligned bounding boxes, so angle isn't considered. Args:
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:102
↓ 2 callers
Method
device
str: The device of the boxes are on.
mmdet3d/core/bbox/structures/base_box3d.py:391
↓ 2 callers
Method
device
str: The device of the points are on.
mmdet3d/core/points/base_points.py:409
↓ 2 callers
Function
div_up
(m, n)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:15
↓ 2 callers
Function
do_eval
(gt_annos, dt_annos, current_classes, min_overlaps, eval_t
mmdet3d/core/evaluation/kitti_utils/eval.py:596
↓ 2 callers
Function
export
Export original files to vert, ins_label, sem_label and bbox file. Args: mesh_file (str): Path of the mesh_file. agg_file (st
data/scannet/load_scannet_data.py:74
↓ 2 callers
Function
extract_2d_info
Extract image augmentation information from img_meta. Args: img_meta(dict): Meta info regarding data transformation. tensor(t
mmdet3d/models/fusion_layers/coord_transform.py:95
↓ 2 callers
Function
extract_bbox
(mesh_vertices, object_id_to_segs, object_id_to_label_id, instance_ids)
data/scannet/load_scannet_data.py:56
↓ 2 callers
Method
extract_feat
Extract features from points.
mmdet3d/models/segmentors/encoder_decoder.py:70
↓ 2 callers
Method
extract_feat
Extract features from points.
mmdet3d/models/detectors/voxelnet.py:40
↓ 2 callers
Method
extract_feat
Extract features from points. Args: points (list[Tensor]): Raw point clouds. Returns: SparseTensor: Vo
mmdet3d/models/detectors/mink_single_stage.py:47
↓ 2 callers
Method
extract_feat
Extract features from points.
mmdet3d/models/detectors/parta2.py:43
↓ 2 callers
Method
extract_feat
Extract features from images and points.
mmdet3d/models/detectors/mvx_two_stage.py:205
↓ 2 callers
Method
extract_feat
Extract 3d features from the backbone -> fpn -> 3d projection. -> 3d neck -> bbox_head. Args: img (torch.Tensor): I
mmdet3d/models/detectors/imvoxelnet.py:57
↓ 2 callers
Method
extract_feat
Directly extract features from the backbone+neck. Args: points (torch.Tensor): Input points. Returns:
mmdet3d/models/detectors/point_rcnn.py:44
↓ 2 callers
Method
extract_feat
Directly extract features from the backbone+neck. Args: points (torch.Tensor): Input points.
mmdet3d/models/detectors/single_stage.py:55
↓ 2 callers
Method
feats_prepare
(self, mlvl_feats, mlvl_masks, mlvl_pos_embeds)
plugin/futr3d/models/utils/futr3d_transformer.py:335
↓ 2 callers
Method
flip
Flip the boxes in BEV along given BEV direction. Args: bev_direction (str, optional): Direction by which to flip.
mmdet3d/core/bbox/structures/base_box3d.py:200
↓ 2 callers
Method
format_results
Format the results to pkl file. Args: outputs (list[dict]): Testing results of the dataset. pklfile_prefix (str):
mmdet3d/datasets/waymo_dataset.py:138
↓ 2 callers
Method
format_results
Format the results to json (standard format for COCO evaluation). Args: results (list[dict]): Testing results of the dataset.
mmdet3d/datasets/lyft_dataset.py:315
↓ 2 callers
Method
forward
(ctx, input)
mmdet3d/ops/norm.py:13
↓ 2 callers
Method
forward
Placeholder of forward function.
mmdet3d/models/decode_heads/decode_head.py:69
↓ 2 callers
Method
forward_test
Calls either simple_test or aug_test depending on the length of outer list of points. If len(points) == 1, call simple_test. Otherwise
mmdet3d/models/segmentors/base.py:27
↓ 2 callers
Function
fuse_module
(m)
tools/misc/fuse_conv_bn.py:27
↓ 2 callers
Function
get_2d_boxes
Get the 2D annotation records for a given info. Args: info: Information of the given sample data. occluded: Integer (0, 1, 2,
tools/data_converter/kitti_converter.py:459
↓ 2 callers
Method
get_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/kitti_dataset.py:143
↓ 2 callers
Method
get_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/nuscenes_dataset.py:262
↓ 2 callers
Method
get_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/scannet_dataset.py:126
↓ 2 callers
Function
get_available_scenes
Get available scenes from the input nuscenes class. Given the raw data, get the information of available scenes for further info generatio
tools/data_converter/nuscenes_converter.py:105
↓ 2 callers
Method
get_bboxes
Transform network outputs for a batch into bbox predictions. Args: all_cls_scores (Tensor): Classification score of all
plugin/futr3d/models/head/futr3d_head.py:493
↓ 2 callers
Function
get_calib_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:87
↓ 2 callers
Method
get_classes
Get class names of current dataset. Args: classes (Sequence[str] | str): If classes is None, use default CLAS
mmdet3d/datasets/custom_3d.py:251
↓ 2 callers
Method
get_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns:
mmdet3d/datasets/lyft_dataset.py:129
↓ 2 callers
Function
get_direction_target
Encode direction to 0 ~ num_bins-1. Args: anchors (torch.Tensor): Concatenated multi-level anchor. reg_targets (torch.Tensor)
mmdet3d/models/dense_heads/train_mixins.py:319
↓ 2 callers
Method
get_direction_target
Encode direction to 0 ~ num_bins-1. Args: reg_targets (torch.Tensor): Bbox regression targets. dir_offset (int, o
mmdet3d/models/dense_heads/fcos_mono3d_head.py:216
↓ 2 callers
Function
get_image_index_str
(img_idx, use_prefix_id=False)
tools/data_converter/kitti_data_utils.py:13
↓ 2 callers
Function
get_image_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:43
↓ 2 callers
Function
get_label_anno
(label_path)
tools/data_converter/kitti_data_utils.py:117
↓ 2 callers
Function
get_label_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:55
↓ 2 callers
Method
get_lidar_coor
Calculate the locations of the frustum points in the lidar coordinate system. Args: rots (torch.Tensor): Rotation fro
mmdet3d/models/necks/view_transformer.py:160
↓ 2 callers
Method
get_loss
Calculate loss of voting module. Args: seed_points (torch.Tensor): Coordinate of the seed points. vote_points (to
mmdet3d/models/model_utils/vote_module.py:153
↓ 2 callers
Method
get_mask_pos_enc
(self, mlvl_feats)
plugin/futr3d/models/head/futr3d_head.py:125
↓ 2 callers
Function
get_paddings_indicator
Create boolean mask by actually number of a padded tensor. Args: actual_num (torch.Tensor): Actual number of points in each voxel.
mmdet3d/models/voxel_encoders/utils.py:9
↓ 2 callers
Function
get_pose_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:97
↓ 2 callers
Method
get_proj_bbox2d
Decode box predictions and get projected 2D attributes. Args: bbox_preds (list[Tensor]): Box predictions for each scale
mmdet3d/models/dense_heads/pgd_head.py:265
↓ 2 callers
Function
get_proj_mat_by_coord_type
Obtain image features using points. Args: img_meta (dict): Meta info. coord_type (str): 'DEPTH' or 'CAMERA' or 'LIDAR'.
mmdet3d/core/bbox/structures/utils.py:297
↓ 2 callers
Method
get_seg_infos
(self)
tools/data_converter/scannet_data_utils.py:243
↓ 2 callers
Function
get_split_parts
(num, num_part)
mmdet3d/core/evaluation/kitti_utils/eval.py:284
↓ 2 callers
Function
get_timestamp_path
(idx, prefix, training=True, relative_
tools/data_converter/kitti_data_utils.py:107
↓ 2 callers
Method
get_valid_ratio
Get the valid radios of feature maps of all level.
plugin/futr3d/models/utils/futr3d_transformer.py:307
↓ 2 callers
Function
image_box_overlap
(boxes, query_boxes, criterion=-1)
mmdet3d/core/evaluation/kitti_utils/eval.py:86
↓ 2 callers
Method
in_range_3d
Check whether the points are in the given range. Args: point_range (list | torch.Tensor): The range of point
mmdet3d/core/points/base_points.py:203
↓ 2 callers
Method
inference
Inference with slide/whole style. Args: points (torch.Tensor): Input points of shape [B, N, 3+C]. img_metas (list
mmdet3d/models/segmentors/encoder_decoder.py:372
↓ 2 callers
Method
init_weights
Initialize weights of shared MLP layers and BN layers.
mmdet3d/ops/paconv/paconv.py:221
↓ 2 callers
Method
load_annotations
Load annotations from ann_file. Args: ann_file (str): Path of the annotation file. Returns: list[dict]
mmdet3d/datasets/custom_3d.py:105
↓ 2 callers
Method
load_annotations
Load annotations from ann_file. Args: ann_file (str): Path of the annotation file. Returns: list[dict]
mmdet3d/datasets/custom_3d_seg.py:100
↓ 2 callers
Method
loss
Loss function. Args: all_cls_scores (Tensor): Classification score of all decoder layers, has shape
plugin/futr3d/models/head/futr3d_head.py:237
↓ 2 callers
Function
lyft_data_prep
Prepare data related to Lyft dataset. Related data consists of '.pkl' files recording basic infos. Although the ground truth database and
tools/create_data.py:93
↓ 2 callers
Method
map_voxel_center_to_point
Map voxel features to its corresponding points. Args: pts_coors (torch.Tensor): Voxel coordinate of each point. v
mmdet3d/models/voxel_encoders/voxel_encoder.py:179
↓ 2 callers
Method
map_voxel_center_to_point
Map the centers of voxels to its corresponding points. Args: pts_coors (torch.Tensor): The coordinates of each points, shape
mmdet3d/models/voxel_encoders/pillar_encoder.py:236
↓ 2 callers
Function
normalize_bbox
(bboxes, pc_range=None)
plugin/futr3d/core/bbox/utils.py:3
↓ 2 callers
Function
nuscenes_data_prep
Prepare data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth data
tools/create_data.py:54
↓ 2 callers
Function
output_to_nusc_box
Convert the output to the box class in the nuScenes. Args: detection (dict): Detection results. - boxes_3d (:obj:`BaseI
mmdet3d/datasets/nuscenes_mono_dataset.py:686
↓ 2 callers
Method
overlaps
Calculate 3D overlaps of two boxes. Note: This function calculates the overlaps between ``boxes1`` and ``boxes2``
mmdet3d/core/bbox/structures/base_box3d.py:436
↓ 2 callers
Function
parse_require_file
(fpath)
setup.py:117
↓ 2 callers
Function
point_in_quadrilateral
(pt_x, pt_y, corners)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:158
↓ 2 callers
Function
point_sample
Obtain image features using points. Args: img_meta (dict): Meta info. img_features (torch.Tensor): 1 x C x H x W image featur
mmdet3d/models/fusion_layers/point_fusion.py:14
↓ 2 callers
Function
points_in_convex_polygon_3d_jit
Check points is in 3d convex polygons. Args: points (np.ndarray): Input points with shape of (num_points, 3). polygon_surface
mmdet3d/core/bbox/box_np_ops.py:679
↓ 2 callers
Function
post_process_coords
Get the intersection of the convex hull of the reprojected bbox corners and the image canvas, return None if no intersection. Args:
tools/data_converter/nuscenes_converter.py:560
↓ 2 callers
Function
process_directory
(path, limit, nproc)
data/scannet/extract_posed_images.py:161
↓ 2 callers
Method
random_flip_data_3d
Flip 3D data randomly. Args: input_dict (dict): Result dict from loading pipeline. direction (str, optional): Fli
mmdet3d/datasets/pipelines/transforms_3d.py:106
↓ 2 callers
Function
rbbox_to_corners
(corners, rbbox)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:201
↓ 2 callers
Function
reduce_LiDAR_beams
(pts, reduce_beams_to=32, chosen_beam_id=13)
plugin/futr3d/datasets/loading.py:20
↓ 2 callers
Method
rotate
Rotate points with the given rotation matrix or angle. Args: rotation (float, np.ndarray, torch.Tensor): Rotation matrix
plugin/futr3d/core/points/radar_points.py:53
↓ 2 callers
Function
rotate_iou_gpu_eval
Rotated box iou running in gpu. 500x faster than cpu version (take 5ms in one example with numba.cuda code). convert from [this project]( ht
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:337
← previous
next →
201–300 of 1,670, ranked by callers