Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ADLab-AutoDrive/BEVFusion
/ functions
Functions
3,657 in github.com/ADLab-AutoDrive/BEVFusion
⨍
Functions
3,657
◇
Types & classes
625
↳
Endpoints
5
↓ 5 callers
Function
build_neck
Build neck.
mmdet3d/models/builder.py:13
↓ 5 callers
Function
check_translate
(results, results_translated, offset,
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:334
↓ 5 callers
Function
construct_toy_data
(poly2mask=True)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_rotate.py:11
↓ 5 callers
Function
construct_toy_data
(poly2mask=True)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_shear.py:11
↓ 5 callers
Method
crop
See :func:`BaseInstanceMasks.crop`.
mmdetection-2.11.0/mmdet/core/mask/structures.py:309
↓ 5 callers
Function
eval_map
Evaluate mAP of a dataset. Args: det_results (list[list]): [[cls1_det, cls2_det, ...], ...]. The outer list indicates images,
mmdetection-2.11.0/mmdet/core/evaluation/mean_ap.py:267
↓ 5 callers
Method
evaluate
Evaluation in Lyft protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str]): Me
mmdet3d/datasets/lyft_dataset.py:351
↓ 5 callers
Function
flat2window
Args: feat: shape=[N, C], N is the voxel num in the batch. voxel_drop_lvl: shape=[N, ]. Indicates drop_level of the window the vo
mmdet3d/ops/sst/sst_ops.py:62
↓ 5 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/lyft_dataset.py:181
↓ 5 callers
Method
get_cat_ids
Get category ids of concatenated dataset by index. Args: idx (int): Index of data. Returns: list[int]: All c
mmdetection-2.11.0/mmdet/datasets/dataset_wrappers.py:46
↓ 5 callers
Function
get_kitti_info_path
(idx, prefix, info_type='image_2', fil
tools/data_converter/kitti_data_utils.py:16
↓ 5 callers
Method
grid_anchors
Generate grid anchors in multiple feature levels. Args: featmap_sizes (list[tuple]): List of feature map sizes in
mmdet3d/core/anchor/anchor_3d_generator.py:82
↓ 5 callers
Function
limit_period
Limit the value into a period for periodic function. Args: val (np.ndarray): The value to be converted. offset (float, optional):
mmdet3d/core/bbox/box_np_ops.py:434
↓ 5 callers
Function
limit_period
Limit the value into a period for periodic function. Args: val (torch.Tensor): The value to be converted. offset (float, optional
mmdet3d/core/bbox/structures/utils.py:5
↓ 5 callers
Function
load_url_dist
In distributed setting, this function only download checkpoint at local rank 0.
mmcv_custom/checkpoint.py:107
↓ 5 callers
Function
load_url_dist
(url, model_dir=None)
mmcv_custom/checkpoint_new.py:109
↓ 5 callers
Function
merge_aug_bboxes
Merge augmented detection bboxes and scores. Args: aug_bboxes (list[Tensor]): shape (n, 4*#class) aug_scores (list[Tensor] or Non
mmdetection-2.11.0/mmdet/core/post_processing/merge_augs.py:83
↓ 5 callers
Function
multi_gpu_test
Test model with multiple gpus. This method tests model with multiple gpus and collects the results under two different modes: gpu and cpu mod
mmdetection-2.11.0/mmdet/apis/test.py:69
↓ 5 callers
Method
norm2
nn.Module: the normalization layer named "norm2"
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:353
↓ 5 callers
Method
pre_pipeline
Initialization before data preparation. Args: results (dict): Dict before data preprocessing. - img_fields (list
mmdet3d/datasets/custom_3d.py:112
↓ 5 callers
Method
prepare_test_data
Prepare data for testing. Args: index (int): Index for accessing the target data. Returns: dict: Testing dat
mmdet3d/datasets/custom_3d.py:158
↓ 5 callers
Function
print_str
(value, *arg, sstream=None)
mmdet3d/core/evaluation/kitti_utils/eval.py:578
↓ 5 callers
Function
set_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
mmdetection-2.11.0/mmdet/apis/train.py:18
↓ 5 callers
Method
voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/transfusion.py:78
↓ 4 callers
Method
_GetNdArray
(self, a)
mmdet3d/ops/spconv/test_utils.py:20
↓ 4 callers
Method
__init__
(self, in_channels, heads, head_conv=64, f
mmdet3d/models/dense_heads/transfusion_head.py:508
↓ 4 callers
Method
__init__
(self, in_channels=4, feat_channels=[], with_distance=False
mmdet3d/models/voxel_encoders/voxel_encoder.py:315
↓ 4 callers
Method
__init__
(self, linear=False, eps=1e-6, reduction='mean',
mmdetection-2.11.0/mmdet/models/losses/iou_loss.py:236
↓ 4 callers
Method
__setattr__
Set attribute, i.e. self.name = value This reloading prevent the teacher model from being registered as a nn.Module. The teacher modu
mmdetection-2.11.0/mmdet/models/detectors/kd_one_stage.py:89
↓ 4 callers
Method
_assign_primitive_line_targets
Generate targets of line primitive. Args: point_mask (torch.Tensor): Tensor to store the ground truth of mask.
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:803
↓ 4 callers
Method
_bbox_forward
Box head forward function used in both training and testing.
mmdetection-2.11.0/mmdet/models/roi_heads/htc_roi_head.py:166
↓ 4 callers
Method
_bbox_forward
Box head forward function used in both training and testing.
mmdetection-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:140
↓ 4 callers
Function
_calculate_num_points_in_gt
(data_path, infos, relative_path,
tools/data_converter/kitti_converter.py:40
↓ 4 callers
Function
_check_fields
(results, results_rotated, keys)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_rotate.py:41
↓ 4 callers
Function
_check_fields
(results, results_sheared, keys)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_shear.py:42
↓ 4 callers
Function
_context_for_ohem
()
mmdetection-2.11.0/tests/test_data/test_pipelines/test_sampler.py:94
↓ 4 callers
Function
_draw_points
Draw points on visualizer. Args: points (numpy.array | torch.tensor, shape=[N, 3+C]): points to visualize. vis (:obj:`
mmdet3d/core/visualizer/open3d_vis.py:15
↓ 4 callers
Method
_gather_feat
Given feats and indexes, returns the gathered feats. Args: feats (torch.Tensor): Features to be transposed and gathered
mmdet3d/core/bbox/coders/centerpoint_bbox_coders.py:40
↓ 4 callers
Method
_mask_forward
Mask head forward function used in both training and testing.
mmdetection-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:168
↓ 4 callers
Function
_pad
(h, w, c, pad_val, axis=-1, dtype=np.float32)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:19
↓ 4 callers
Method
_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
mmdet3d/datasets/pipelines/loading.py:157
↓ 4 callers
Method
_save_checkpoint
Save the current checkpoint and delete unwanted checkpoint.
mmcv_custom/runner/checkpoint_hook.py:119
↓ 4 callers
Function
_setup_seed
(seed)
tests/test_models/test_detectors.py:12
↓ 4 callers
Function
_write_obj
Write points into ``obj`` format for meshlab visualization. Args: points (np.ndarray): Points in shape (N, dim). out_filename (str
mmdet3d/core/visualizer/show_result.py:11
↓ 4 callers
Function
anchor_ctr_inside_region_flags
Get the flag indicate whether anchor centers are inside regions.
mmdetection-2.11.0/mmdet/core/bbox/assigners/region_assigner.py:26
↓ 4 callers
Function
area
(bboxes)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_transform.py:224
↓ 4 callers
Method
bbox2result_kitti
Convert 3D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray]): Li
mmdet3d/datasets/kitti_dataset.py:360
↓ 4 callers
Function
bbox_mapping_back
Map bboxes from testing scale to original image scale.
mmdetection-2.11.0/mmdet/core/bbox/transforms.py:46
↓ 4 callers
Function
build_backbone
Build backbone.
mmdetection-2.11.0/mmdet/models/builder.py:37
↓ 4 callers
Function
calc_region
Calculate region of the box defined by the ratio, the ratio is from the center of the box to every edge.
mmdetection-2.11.0/mmdet/core/bbox/assigners/region_assigner.py:9
↓ 4 callers
Function
calc_region
Calculate a proportional bbox region. The bbox center are fixed and the new h' and w' is h * ratio and w * ratio. Args: bbox (Tensor
mmdetection-2.11.0/mmdet/core/anchor/utils.py:49
↓ 4 callers
Function
camera_to_lidar
Convert points in camera coordinate to lidar coordinate. Args: points (np.ndarray, shape=[N, 3]): Points in camera coordinate. r_
mmdet3d/core/bbox/box_np_ops.py:8
↓ 4 callers
Function
construct_toy_data
(poly2mask=True)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_img_augment.py:12
↓ 4 callers
Function
dummy_bboxes
(num, max_height, max_width)
mmdetection-2.11.0/tests/test_utils/test_masks.py:35
↓ 4 callers
Function
dummy_masks
(h, w, num_obj=3, mode='bitmap')
mmdetection-2.11.0/tests/test_runtime/test_config.py:316
↓ 4 callers
Function
ensure_rng
Coerces input into a random number generator. If the input is None, then a global random state is returned. If the input is a numeric value,
mmdetection-2.11.0/mmdet/utils/util_random.py:5
↓ 4 callers
Function
eval_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_common
mmdet3d/core/evaluation/kitti_utils/eval.py:450
↓ 4 callers
Method
evaluate
(self, runner, results)
mmdetection-2.11.0/mmdet/core/evaluation/eval_hooks.py:175
↓ 4 callers
Method
extract_feat
Directly extract features from the backbone+neck.
mmdetection-2.11.0/mmdet/models/detectors/two_stage.py:80
↓ 4 callers
Method
extract_feats
Extract features from multiple images. Args: imgs (list[torch.Tensor]): A list of images. The images are augmente
mmdetection-2.11.0/mmdet/models/detectors/base.py:52
↓ 4 callers
Function
fill_fc_weights
(layers)
mmdet3d/models/backbones/DLA.py:445
↓ 4 callers
Method
flip
see :func:`BaseInstanceMasks.flip`
mmdetection-2.11.0/mmdet/core/mask/structures.py:639
↓ 4 callers
Method
forward
Args: input: NC points
mmdet3d/ops/voxel/voxelize.py:102
↓ 4 callers
Function
fuse_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 t
tools/misc/fuse_conv_bn.py:9
↓ 4 callers
Method
get_cand_arch
(self, max_arch=False, min_arch=False)
mmcv_custom/runner/epoch_based_runner_superamp.py:59
↓ 4 callers
Method
get_cand_arch
(self, max_arch=False, min_arch=False)
mmcv_custom/runner/epoch_based_runner_super.py:76
↓ 4 callers
Function
get_classes
Get class names of a dataset.
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:102
↓ 4 callers
Function
get_inner_win_inds
Args: win_inds indicates which windows a voxel belongs to. Voxels share a window have same inds. shape = [N,] Return:
mmdet3d/ops/sst/sst_ops.py:148
↓ 4 callers
Function
get_mAP
(prec)
mmdet3d/core/evaluation/kitti_utils/eval.py:571
↓ 4 callers
Method
get_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:277
↓ 4 callers
Function
is_norm
Check if is one of the norms.
mmdetection-2.11.0/tests/test_models/test_backbones/utils.py:18
↓ 4 callers
Function
levels_to_images
Concat multi-level feature maps by image. [feature_level0, feature_level1...] -> [feature_image0, feature_image1...] Convert the shape of eac
mmdetection-2.11.0/mmdet/models/dense_heads/paa_head.py:17
↓ 4 callers
Method
make_stage_plugins
Make plugins for ResNet ``stage_idx`` th stage. Currently we support to insert ``context_block``, ``empirical_attention_block``, ``no
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:453
↓ 4 callers
Method
match_point2line
Match points to corresponding line. Args: points (torch.Tensor): Points of input. corners (torch.Tensor): Eight corne
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:676
↓ 4 callers
Function
merge_aug_bboxes_3d
Merge augmented detection 3D bboxes and scores. Args: aug_results (list[dict]): The dict of detection results. The dict conta
mmdet3d/core/post_processing/merge_augs.py:7
↓ 4 callers
Function
model_aug_test_template
(cfg_file)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_models_aug_test.py:12
↓ 4 callers
Function
obtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_converter.py:266
↓ 4 callers
Method
pad
See :func:`BaseInstanceMasks.pad`.
mmdetection-2.11.0/mmdet/core/mask/structures.py:298
↓ 4 callers
Method
points2bbox
Converting the points set into bounding box. :param pts: the input points sets (fields), each points set (fields) is represented
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:165
↓ 4 callers
Function
preprocess_example_input
Prepare an example input image for ``generate_inputs_and_wrap_model``. Args: input_config (dict): customized config describing the exampl
mmdetection-2.11.0/mmdet/core/export/pytorch2onnx.py:98
↓ 4 callers
Method
rescale
See :func:`BaseInstanceMasks.rescale`.
mmdetection-2.11.0/mmdet/core/mask/structures.py:260
↓ 4 callers
Method
results2json
Dump the detection results to a COCO style json file. There are 3 types of results: proposals, bbox predictions, mask predictions, an
mmdetection-2.11.0/mmdet/datasets/coco.py:273
↓ 4 callers
Method
sample
Sample specific number of ground truths. Args: num (int): Sampled number. Returns: list[dict]: Sampled groun
mmdet3d/datasets/pipelines/dbsampler.py:66
↓ 4 callers
Method
save_best_checkpoint
(self, runner, key_score)
mmdetection-2.11.0/mmdet/core/evaluation/eval_hooks.py:160
↓ 4 callers
Function
show_multi_modality_result
Convert multi-modality detection results into 2D results. Project the predicted 3D bbox to 2D image plane and visualize them. Args: im
mmdet3d/core/visualizer/show_result.py:238
↓ 4 callers
Method
side_aware_split
Split side-aware features aligned with orders of bucketing targets.
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/sabl_head.py:265
↓ 4 callers
Function
single_gpu_test
(model, data_loader, show=False, out_dir=None,
mmdetection-2.11.0/mmdet/apis/test.py:16
↓ 4 callers
Method
split_pred
Split predicted features to specific parts. Args: cls_preds (torch.Tensor): Class predicted features to split. reg_pr
mmdet3d/core/bbox/coders/anchor_free_bbox_coder.py:87
↓ 4 callers
Method
to_tensor
See :func:`BaseInstanceMasks.to_tensor`.
mmdetection-2.11.0/mmdet/core/mask/structures.py:498
↓ 4 callers
Function
trangle_area
(a, b, c)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:18
↓ 4 callers
Method
with_pos_embed
(self, tensor, pos_embed)
mmdet3d/models/dense_heads/transfusion_head.py:79
↓ 4 callers
Method
xyxy2xywh
Convert ``xyxy`` style bounding boxes to ``xywh`` style for COCO evaluation. Args: bbox (numpy.ndarray): The bounding box
mmdetection-2.11.0/mmdet/datasets/coco.py:183
↓ 3 callers
Method
__init__
(self)
mmdet3d/ops/furthest_point_sample/points_sampler.py:141
↓ 3 callers
Method
__init__
(self, in_channels, out_channels, scale_factor=2)
mmdet3d/models/detectors/cam_stream_lss.py:19
↓ 3 callers
Method
__init__
(self, grad_clip=None)
mmcv_custom/runner/optimizer.py:24
↓ 3 callers
Method
__init__
(self, in_channels, out_channels, num_outs,
mmdetection-2.11.0/mmdet/models/necks/fpg.py:145
↓ 3 callers
Method
__init__
(self, groups=1, base_width=4, radix=2, re
mmdetection-2.11.0/mmdet/models/backbones/resnest.py:294
↓ 3 callers
Method
__init__
(self, depth, in_channels=3, stem_channels=None,
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:363
↓ 3 callers
Method
__init__
(self, num_classes, in_channels, anchor_generator=dict(
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:41
↓ 3 callers
Method
_add_conv_branch
Add shared or separable branch.
mmdet3d/models/dense_heads/base_conv_bbox_head.py:81
← previous
next →
201–300 of 3,657, ranked by callers