MCPcopy Create free account

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

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

↓ 1 callersFunctionconvert_reslayer
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:23
↓ 1 callersFunctionconvert_stem
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:8
↓ 1 callersMethodconvert_valid_bboxes
Convert the predicted boxes into valid ones. Args: box_dict (dict): Box dictionaries to be converted. - box
mmdet3d/datasets/kitti_dataset.py:621
↓ 1 callersMethodconvert_valid_bboxes
Convert the predicted boxes into valid ones. Args: box_dict (dict): Box dictionaries to be converted. - boxes
mmdet3d/datasets/kitti_mono_dataset.py:497
↓ 1 callersMethodconvert_valid_bboxes
Convert the boxes into valid format. Args: box_dict (dict): Bounding boxes to be converted. - boxes_3d (:ob
mmdet3d/datasets/waymo_dataset.py:475
↓ 1 callersFunctioncoord_2d_transform
Transform 2d pixel coordinates according to img_meta. Args: img_meta(dict): Meta info regarding data transformation. coord_2d
mmdet3d/models/fusion_layers/coord_transform.py:177
↓ 1 callersFunctioncorner_to_surfaces_3d
convert 3d box corners from corner function above to surfaces that normal vectors all direct to internal. Args: corners (np.ndarr
mmdet3d/core/bbox/box_np_ops.py:331
↓ 1 callersFunctioncorner_to_surfaces_3d_jit
Convert 3d box corners from corner function above to surfaces that normal vectors all direct to internal. Args: corners (np.ndarr
mmdet3d/core/bbox/box_np_ops.py:256
↓ 1 callersMethodcorners
torch.Tensor: a tensor with 8 corners of each box in shape (N, 8, 3).
mmdet3d/core/bbox/structures/base_box3d.py:132
↓ 1 callersMethodcreate
(self)
tools/data_converter/create_gt_database.py:503
↓ 1 callersMethodcreate_folder
Create folder for data preprocessing.
tools/data_converter/waymo_converter.py:398
↓ 1 callersMethodcreate_folder
Create folder for data conversion.
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:85
↓ 1 callersMethodcreate_frustum
Generate the frustum template for each image. Args: depth_cfg (tuple(float)): Config of grid alone depth axis in format
mmdet3d/models/necks/view_transformer.py:136
↓ 1 callersMethodcreate_grid_infos
Generate the grid information including the lower bound, interval, and size. Args: x (tuple(float)): Config of grid a
mmdet3d/models/necks/view_transformer.py:118
↓ 1 callersFunctiond3_box_overlap
(boxes, qboxes, criterion=-1)
mmdet3d/core/evaluation/kitti_utils/eval.py:155
↓ 1 callersFunctiond3_box_overlap_kernel
(boxes, qboxes, rinc, criterion=-1)
mmdet3d/core/evaluation/kitti_utils/eval.py:124
↓ 1 callersMethoddecode_2d
Decode regressed 2D attributes. Args: bbox (torch.Tensor): Raw bounding box predictions in shape [N, C, H, W]
mmdet3d/core/bbox/coders/pgd_bbox_coder.py:18
↓ 1 callersMethoddecode_bboxes2d
Retrieve [x1, y1, x2, y2] format 2D bboxes. Args: reg_bboxes2d (torch.Tensor): Predicted FCOS style 2D bboxes
mmdet3d/core/bbox/coders/monoflex_bbox_coder.py:470
↓ 1 callersMethoddecode_dims
Retrieve object dimensions. Args: labels (torch.Tensor): Each points' category id. shape: (N, K)
mmdet3d/core/bbox/coders/monoflex_bbox_coder.py:386
↓ 1 callersMethoddecode_direct_depth
Transform depth offset to directly regressed depth. Args: depth_offsets (torch.Tensor): Predicted depth offsets.
mmdet3d/core/bbox/coders/monoflex_bbox_coder.py:214
↓ 1 callersMethoddecode_heatmap
Transform outputs into detections raw bbox predictions. Args: class_score (Tensor): Center predict heatmap, s
mmdet3d/models/dense_heads/monoflex_head.py:360
↓ 1 callersMethoddecode_heatmap
Transform outputs into detections raw bbox predictions. Args: class_score (Tensor): Center predict heatmap, s
mmdet3d/models/dense_heads/smoke_mono3d_head.py:166
↓ 1 callersMethoddecode_location
Retrieve object location. Args: base_centers2d (torch.Tensor): predicted base centers2d. shape: (N, 2)
mmdet3d/core/bbox/coders/monoflex_bbox_coder.py:241
↓ 1 callersMethoddecode_orientation
Retrieve object orientation. Args: ori_vector (torch.Tensor): Local orientation vector in [axis_cls, head_cls
mmdet3d/core/bbox/coders/monoflex_bbox_coder.py:414
↓ 1 callersMethoddecoder_layer_forward
Forward of upsample and residual block. Args: x_lateral (:obj:`SparseConvTensor`): Lateral tensor. x_bottom (:obj
mmdet3d/models/middle_encoders/sparse_unet.py:157
↓ 1 callersMethoddecompress_color
(self, compression_type)
data/scannet/extract_posed_images.py:44
↓ 1 callersMethoddecompress_depth
(self, compression_type)
data/scannet/extract_posed_images.py:40
↓ 1 callersFunctiondenormalize_bbox
(normalized_bboxes, pc_range=None)
plugin/futr3d/core/bbox/utils.py:25
↓ 1 callersFunctiondepth_to_points
Convert depth map to points. Args: depth (np.array, shape=[H, W]): Depth map which the row of [0~`trunc_pixel`] are trunc
mmdet3d/core/bbox/box_np_ops.py:123
↓ 1 callersFunctiondevRotateIoUEval
Compute rotated iou on device. Args: rbox1 (np.ndarray, shape=[5]): Rotated 2d box. rbox2 (np.ndarray, shape=[5]): Rotated 2d
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:253
↓ 1 callersFunctiondo_coco_style_eval
(gt_annos, dt_annos, current_classes, overlap_ranges, compute_aos)
mmdet3d/core/evaluation/kitti_utils/eval.py:642
↓ 1 callersMethoddrop_arrays_by_name
Drop irrelevant ground truths by name. Args: gt_names (list[str]): Names of ground truths. used_classes (list[str
mmdet3d/datasets/kitti_dataset.py:223
↓ 1 callersMethoddummy_forward
(self, img_metas, img=None, radar=None, points=None)
plugin/futr3d/models/detectors/futr3d.py:336
↓ 1 callersFunctiondw_conv3x3
3x3 convolution with padding
plugin/futr3d/models/backbone/vovnet.py:92
↓ 1 callersFunctionellip_gaussian2D
Generate 2D ellipse gaussian kernel. Args: radius (tuple(int)): Ellipse radius (radius_x, radius_y) of gaussian kernel.
mmdet3d/core/utils/gaussian.py:128
↓ 1 callersFunctioneval_det_cls
Generic functions to compute precision/recall for object detection for a single class. Args: pred (dict): Predictions mapping fro
mmdet3d/core/evaluation/indoor_eval.py:56
↓ 1 callersFunctioneval_map_recall
Evaluate mAP and recall. Generic functions to compute precision/recall for object detection for multiple classes. Args:
mmdet3d/core/evaluation/indoor_eval.py:164
↓ 1 callersMethodevaluate
Evaluation in Lyft protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str],
mmdet3d/datasets/lyft_dataset.py:366
↓ 1 callersFunctionevaluate_matches
Evaluate instance segmentation from matched gt and predicted instances for all scenes. Args: matches (dict): Contains gt2pred and
mmdet3d/core/evaluation/scannet_utils/evaluate_semantic_instance.py:10
↓ 1 callersFunctionexport
Convert original dataset files to points, instance mask and semantic mask files. We aggregated all the points from each instance in the room.
data/s3dis/indoor3d_util.py:22
↓ 1 callersMethodexport_color_images
(self, output_path)
data/scannet/extract_posed_images.py:113
↓ 1 callersMethodexport_intrinsics
(self, output_path)
data/scannet/extract_posed_images.py:142
↓ 1 callersFunctionexport_nuim_to_coco
(nuim, data_root, out_dir, extra_tag, version, nproc)
tools/data_converter/nuimage_converter.py:151
↓ 1 callersFunctionexport_one_scan
(scan_name, output_filename_prefix, max_num_point,
data/scannet/batch_load_scannet_data.py:25
↓ 1 callersMethodexport_poses
(self, output_path)
data/scannet/extract_posed_images.py:133
↓ 1 callersMethodextract_feats
Directly extract features from the backbone+neck.
mmdet3d/models/detectors/single_stage_mono3d.py:46
↓ 1 callersMethodextract_feats
Extract point and image features of multiple samples.
mmdet3d/models/detectors/mvx_two_stage.py:430
↓ 1 callersMethodextract_img_feat
Extract features of images.
mmdet3d/models/detectors/mvx_two_stage.py:171
↓ 1 callersMethodextract_img_feat
Extract features of images.
plugin/futr3d/models/detectors/futr3d.py:106
↓ 1 callersMethodextract_img_feats
Extract features from multiple images. Args: imgs (list[torch.Tensor]): A list of images. The images are augm
mmdet3d/models/detectors/imvotenet.py:278
↓ 1 callersMethodextract_pts_feat
Extract features of points.
mmdet3d/models/detectors/mvx_two_stage.py:191
↓ 1 callersMethodextract_pts_feat
Extract features of points.
plugin/futr3d/models/detectors/futr3d.py:136
↓ 1 callersMethodextract_pts_feats
Extract features of points from multiple samples.
mmdet3d/models/detectors/imvotenet.py:304
↓ 1 callersMethodextract_radar_feat
Extract features of points.
plugin/futr3d/models/detectors/futr3d.py:152
↓ 1 callersFunctionfast_hist
Compute the confusion matrix for every batch. Args: preds (np.ndarray): Prediction labels of points with shape of (num_point
mmdet3d/core/evaluation/seg_eval.py:7
↓ 1 callersFunctionfeature_sampling
(mlvl_feats, reference_points, pc_range, img_metas)
plugin/futr3d/models/utils/futr3d_attention.py:385
↓ 1 callersFunctionfill_up_weights
Simulated bilinear upsampling kernel. Args: up (nn.Module): ConvTranspose2d module.
mmdet3d/models/necks/dla_neck.py:12
↓ 1 callersFunctionfilter_outside_objs
Function to filter the objects label outside the image. Args: gt_bboxes_list (list[Tensor]): Ground truth bboxes of each image,
mmdet3d/models/utils/handle_objs.py:5
↓ 1 callersFunctionfind_latest_checkpoint
Find the latest checkpoint from the working directory. This function is copied from mmdetection. Args: path(str): The path to fin
mmdet3d/utils/misc.py:7
↓ 1 callersFunctionfix_lyft
(root_folder='./data/lyft', version='v1.01')
tools/data_converter/lyft_data_fixer.py:8
↓ 1 callersMethodformat_results
Format the results to pkl file. Args: outputs (list[dict]): Testing results of the dataset. pklfile_prefix (str):
mmdet3d/datasets/kitti_dataset.py:270
↓ 1 callersMethodformat_results
Format the results to pkl file. Args: outputs (list[dict]): Testing results of the dataset. pklfile_prefix (str):
mmdet3d/datasets/kitti_mono_dataset.py:147
↓ 1 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[dict]): Testing results of the dataset.
mmdet3d/datasets/nuscenes_dataset.py:438
↓ 1 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[tuple | numpy.ndarray]): Testing results
mmdet3d/datasets/nuscenes_mono_dataset.py:488
↓ 1 callersMethodforward
Forward function. Args: x (torch.Tensor): of shape (N, C, N_x, N_y, N_z). Returns: torch.Tensor: 5d fe
mmdet3d/models/necks/imvoxel_neck.py:214
↓ 1 callersMethodforward_batch
Scatter features of single sample. Args: voxel_features (torch.Tensor): Voxel features in shape (N, C). coors (to
mmdet3d/models/middle_encoders/pillar_scatter.py:62
↓ 1 callersMethodforward_img_train
Forward function for image branch. This function works similar to the forward function of Faster R-CNN. Args: x (li
mmdet3d/models/detectors/mvx_two_stage.py:319
↓ 1 callersMethodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_
mmdet3d/models/detectors/mvx_two_stage.py:292
↓ 1 callersMethodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_
plugin/futr3d/models/detectors/futr3d.py:273
↓ 1 callersMethodforward_single
Scatter features of single sample. Args: voxel_features (torch.Tensor): Voxel features in shape (N, C). coors (to
mmdet3d/models/middle_encoders/pillar_scatter.py:38
↓ 1 callersMethodforward_test
Forwarding of test for image branch pretrain or stage 2 train. Args: points (list[list[torch.Tensor]], optional): the outer
mmdet3d/models/detectors/imvotenet.py:520
↓ 1 callersMethodforward_test
Args: points (list[torch.Tensor]): the outer list indicates test-time augmentations and inner torch.Tensor sho
mmdet3d/models/detectors/base.py:16
↓ 1 callersMethodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to No
mmdet3d/models/detectors/mvx_two_stage.py:238
↓ 1 callersMethodforward_train
Training forward function. Args: points (list[torch.Tensor]): Point cloud of each sample. img_metas (list[dict]):
mmdet3d/models/detectors/sassd.py:72
↓ 1 callersMethodfreeze_img_branch_params
Freeze all image branch parameters.
mmdet3d/models/detectors/imvotenet.py:171
↓ 1 callersFunctionfused_compute_statistics
(overlaps, pr, gt_nums,
mmdet3d/core/evaluation/kitti_utils/eval.py:294
↓ 1 callersMethodfusion_with_mask
Fuse image and point features with mask. Args: features (torch.Tensor): Features of voxel, usually it is the
mmdet3d/models/voxel_encoders/voxel_encoder.py:456
↓ 1 callersFunctiongaussian_2d
Generate gaussian map. Args: shape (list[int]): Shape of the map. sigma (float, optional): Sigma to generate gaussian map.
mmdet3d/core/utils/gaussian.py:6
↓ 1 callersFunctiongen_packages_items
()
setup.py:125
↓ 1 callersFunctiongen_sineembed_for_position
(pos_tensor)
plugin/futr3d/models/utils/futr3d_transformer.py:551
↓ 1 callersMethodgenerate
Generate voxels given points.
mmdet3d/core/voxel/voxel_generator.py:36
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various information on top of the 2D bounding box coordinates. Args: ann_rec (dict): Orig
tools/data_converter/kitti_converter.py:570
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various information on top of the 2D bounding box coordinates. Args: ann_rec (dict): Orig
tools/data_converter/nuscenes_converter.py:593
↓ 1 callersFunctionget_2d_boxes
Get the 2D annotation records for a given `sample_data_token`. Args: sample_data_token (str): Sample data token belonging to a camera
tools/data_converter/nuscenes_converter.py:428
↓ 1 callersFunctionget_acc
Compute the overall accuracy. Args: hist(np.ndarray): Overall confusion martix (num_classes, num_classes ). Returns:
mmdet3d/core/evaluation/seg_eval.py:42
↓ 1 callersFunctionget_acc_cls
Compute the class average accuracy. Args: hist(np.ndarray): Overall confusion martix (num_classes, num_classes ). Ret
mmdet3d/core/evaluation/seg_eval.py:56
↓ 1 callersMethodget_aligned_box_label
(self, idx)
tools/data_converter/scannet_data_utils.py:48
↓ 1 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/semantickitti_dataset.py:92
↓ 1 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/custom_3d.py:149
↓ 1 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/s3dis_dataset.py:70
↓ 1 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/kitti2d_dataset.py:105
↓ 1 callersMethodget_attr_name
Get attribute from predicted index. This is a workaround to predict attribute when the predicted velocity is not reliable. We map
mmdet3d/datasets/nuscenes_mono_dataset.py:276
↓ 1 callersMethodget_auxiliary_targets
Get auxiliary target. Args: nxyz (torch.Tensor): Mean features of the points. gt_boxes3d (torch.Tensor): Coordina
mmdet3d/models/middle_encoders/sparse_encoder.py:339
↓ 1 callersMethodget_axis_align_matrix
(self, idx)
tools/data_converter/scannet_data_utils.py:60
↓ 1 callersMethodget_bboxes
Convert instance masks to axis-aligned bounding boxes. Args: points (np.array): Scene points of shape (n, 6). pts
tools/data_converter/s3dis_data_utils.py:115
↓ 1 callersMethodget_bboxes
Generate bboxes from bbox head predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level. bbo
mmdet3d/models/dense_heads/monoflex_head.py:315
↓ 1 callersMethodget_bboxes
Transform network output for a batch into bbox predictions.
mmdet3d/models/dense_heads/base_mono3d_dense_head.py:19
↓ 1 callersMethodget_bboxes_single
Get bboxes of single branch. Args: cls_scores (torch.Tensor): Class score in single batch. bbox_preds (torch.Tens
mmdet3d/models/dense_heads/shape_aware_head.py:430
↓ 1 callersMethodget_bboxes_single
Get bboxes of single branch. Args: cls_scores (torch.Tensor): Class score in single batch. bbox_preds (torch.Tens
mmdet3d/models/dense_heads/anchor3d_head.py:427
↓ 1 callersMethodget_calibration
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:114
← previousnext →501–600 of 1,670, ranked by callers