MCPcopy Create free account

hub / github.com/ADLab-AutoDrive/BEVFusion / functions

Functions3,657 in github.com/ADLab-AutoDrive/BEVFusion

↓ 3 callersMethodsize
mmdet3d/ops/spconv/include/tensorview/tensorview.h:906
↓ 3 callersMethodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
mmdetection-2.11.0/mmdet/models/detectors/base.py:220
↓ 3 callersMethodval_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note t
mmdetection-2.11.0/mmdet/models/detectors/base.py:255
↓ 3 callersFunctionverify_model
Run the model in onnxruntime env. Args: feat (list[Tensor]): A list of tensors from torch.rand, each is a 4D-tensor. Ret
mmdetection-2.11.0/tests/test_onnx/utils.py:64
↓ 3 callersFunctionwindow2flat
(feat_3d_dict, inds_dict)
mmdet3d/ops/sst/sst_ops.py:101
↓ 2 callersMethod__init__
(self, inplanes, planes, stride=1, downsam
mmdet3d/ops/sparse_block.py:26
↓ 2 callersMethod__init__
(self, *args, **kwargs)
mmdet3d/ops/norm.py:47
↓ 2 callersMethod__init__
(self, ndim, kernel_size, stride=1, paddin
mmdet3d/ops/spconv/pool.py:23
↓ 2 callersMethod__init__
(self, ranges, sizes=[[1.6, 3.9, 1.56]], scales=[1],
mmdet3d/core/anchor/anchor_3d_generator.py:32
↓ 2 callersMethod__init__
(self, size=None, size_divisor=None, pad_val=0)
mmdet3d/datasets/pipelines/transforms_2d.py:88
↓ 2 callersMethod__init__
(self, size=None, size_divisor=None, pad_val=0)
mmdet3d/datasets/pipelines/loading.py:365
↓ 2 callersMethod__init__
(self, in_channels=[128], tasks=None, train_cfg=None,
mmdet3d/models/dense_heads/centerpoint_head.py:266
↓ 2 callersMethod__init__
(self, in_channels, out_channels, norm_cfg=dict(type='BN1d'
mmdet3d/models/voxel_encoders/utils.py:48
↓ 2 callersMethod__init__
(self, block, inplanes, planes, num_blocks
mmdetection-2.11.0/mmdet/models/backbones/detectors_resnet.py:139
↓ 2 callersMethod__init__
(self, scales=4, base_width=26, style='pytorch',
mmdetection-2.11.0/mmdet/models/backbones/res2net.py:302
↓ 2 callersMethod__init__
(self, in_channels, out_channels, kernel_size,
mmdetection-2.11.0/mmdet/models/backbones/trident_resnet.py:29
↓ 2 callersMethod__init__
(self, in_channels, out_channels, kernel_size=3,
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:39
↓ 2 callersMethod__init__
(self, num_shared_convs=0, num_shared_fcs=0, num_cls_convs=
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py:20
↓ 2 callersMethod__nice__
str: a "nice" summary string describing this module
mmdetection-2.11.0/mmdet/utils/util_mixins.py:75
↓ 2 callersFunction_adjust_contrast
(img, factor)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_img_augment.py:155
↓ 2 callersMethod_assertArrayLikeAllClose
(self, a, b, rtol=1e-6, atol=1e-6, msg=None)
mmdet3d/ops/spconv/test_utils.py:90
↓ 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:545
↓ 2 callersMethod_bbox_forward
Forward function of roi_extractor and bbox_head used in both training and testing. Args: seg_feats (torch.Tensor): Point-
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:191
↓ 2 callersMethod_bbox_forward
Box head forward function used in both training and testing.
mmdetection-2.11.0/mmdet/models/roi_heads/standard_roi_head.py:133
↓ 2 callersMethod_bboxes_nms
(self, bboxes, labels, cfg)
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:765
↓ 2 callersMethod_broadcast_bn_buffer
(self, runner)
mmdetection-2.11.0/mmdet/core/evaluation/eval_hooks.py:247
↓ 2 callersMethod_check_head
Check whether the `num_classes` in head matches the length of `CLASSSES` in `dataset`. Args: runner (obj:`EpochBasedRunne
mmdetection-2.11.0/mmdet/datasets/utils.py:117
↓ 2 callersFunction_check_img_seg
(results, results_translated, keys, offset, fill_val, direction)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:288
↓ 2 callersFunction_check_parta2_roi_extractor
(config, roi_extractor)
tests/test_runtime/test_config.py:217
↓ 2 callersFunction_check_roi_extractor
(config, roi_extractor, prev_roi_extractor=None)
tests/test_runtime/test_config.py:129
↓ 2 callersFunction_concat_dataset
(cfg, default_args=None)
mmdetection-2.11.0/mmdet/datasets/builder.py:26
↓ 2 callersMethod_crop_image_and_paste
Crop image with a given center and size, then paste the cropped image to a blank image with two centers align. This function is equiv
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:1562
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in nuScenes protocol. Args: result_path (str): Path of the result file. logger (logging
mmdet3d/datasets/nuscenes_dataset.py:450
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in Lyft protocol. Args: result_path (str): Path of the result file. logger (logging.Log
mmdet3d/datasets/lyft_dataset.py:266
↓ 2 callersMethod_filter_boxes
Check whether the center of each box is in the patch. Args: patch (list[int]): The cropped area, [left, top, right, bottom].
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:1546
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_pref
mmdet3d/datasets/nuscenes_dataset.py:381
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_pref
mmdet3d/datasets/lyft_dataset.py:223
↓ 2 callersMethod_freeze_stages
(self)
mmdet3d/models/backbones/cbnet.py:17
↓ 2 callersMethod_freeze_stages
(self)
mmdet3d/models/backbones/swin_transformer.py:566
↓ 2 callersMethod_fuse_glbctx
Fuse global context feats with roi feats.
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:91
↓ 2 callersMethod_get_bboxes
Transform outputs for a batch item into bbox predictions. Args: cls_score_list (list[Tensor]): Box scores for a single scale leve
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_head.py:590
↓ 2 callersMethod_get_bboxes_single
Transform outputs for a single batch item into bbox predictions. Args: cls_scores (list[Tensor]): Box iou-aware scores for a sing
mmdetection-2.11.0/mmdet/models/dense_heads/vfnet_head.py:524
↓ 2 callersMethod_get_border
Get final border for the target size. This function generates a ``final_border`` according to image's shape. The area between ``final
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:1527
↓ 2 callersFunction_get_config_directory
Find the predefined detector config directory.
mmdetection-2.11.0/tests/test_runtime/test_config.py:13
↓ 2 callersFunction_get_config_directory
Find the predefined detector config directory.
tests/test_runtime/test_config.py:4
↓ 2 callersFunction_get_config_module
Load a configuration as a python module.
mmdetection-2.11.0/tests/test_models/test_forward.py:25
↓ 2 callersFunction_get_config_module
Load a configuration as a python module.
tests/test_runtime/test_apis.py:32
↓ 2 callersFunction_get_config_module
Load a configuration as a python module.
tests/test_models/test_detectors.py:35
↓ 2 callersFunction_get_detector_cfg
Grab configs necessary to create a detector. These are deep copied to allow for safe modification of parameters without influencing other tes
tests/test_models/test_forward.py:37
↓ 2 callersMethod_get_fine_grained_point_feats
Sample fine grained feats from each level feature map and concatenate them together.
mmdetection-2.11.0/mmdet/models/roi_heads/point_rend_roi_head.py:71
↓ 2 callersFunction_get_head_cfg
Grab configs necessary to create a bbox_head. These are deep copied to allow for safe modification of parameters without influencing other te
tests/test_models/test_heads/test_heads.py:46
↓ 2 callersFunction_get_mmcv_home
()
mmcv_custom/checkpoint.py:30
↓ 2 callersFunction_get_mmcv_home
()
mmcv_custom/checkpoint_new.py:30
↓ 2 callersMethod_get_plane_fomulation
Compute the equation of the plane. Args: vector1 (torch.Tensor): Parallel vector of the plane. vector2 (torch.Tensor)
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:952
↓ 2 callersMethod_get_pts_filename
(self, idx)
mmdet3d/datasets/waymo_dataset.py:88
↓ 2 callersFunction_get_roi_head_cfg
Grab configs necessary to create a roi_head. These are deep copied to allow for safe modification of parameters without influencing other tes
tests/test_models/test_heads/test_heads.py:82
↓ 2 callersMethod_get_uncertainty
Estimate uncertainty based on pred logits. We estimate uncertainty as L1 distance between 0.0 and the logits prediction in 'mask_pred
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/mask_point_head.py:187
↓ 2 callersFunction_get_vote_head_cfg
Grab configs necessary to create a vote_head. These are deep copied to allow for safe modification of parameters without influencing other te
tests/test_models/test_heads/test_heads.py:118
↓ 2 callersFunction_get_voxel_points_indices
(points, coors, voxel)
tests/test_models/test_voxel_encoder/test_voxelize.py:10
↓ 2 callersMethod_init_rule
Initialize rule, key_indicator, comparison_func, and best score. Args: rule (str | None): Comparison rule for best score.
mmdetection-2.11.0/mmdet/core/evaluation/eval_hooks.py:81
↓ 2 callersMethod_load_from_state_dict
Override the method in the parent class to avoid changing para's name.
mmdetection-2.11.0/mmdet/models/dense_heads/vfnet_head.py:790
↓ 2 callersMethod_load_points
Private function to load point clouds data. Args: pts_filename (str): Filename of point clouds data. Returns:
mmdet3d/datasets/pipelines/loading.py:983
↓ 2 callersMethod_local_maximum
Extract local maximum pixel with given kernel. Args: heat (Tensor): Target heatmap. kernel (int): Kernel size of max
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:807
↓ 2 callersMethod_make_conv_level
(self, inplanes, planes, convs, stride=1, dilation=1)
mmdet3d/models/backbones/DLA.py:289
↓ 2 callersMethod_mask_point_forward_test
Mask refining process with point head in testing.
mmdetection-2.11.0/mmdet/models/roi_heads/point_rend_roi_head.py:96
↓ 2 callersMethod_meshgrid
(self, x, y, row_major=True)
mmdetection-2.11.0/mmdet/core/anchor/point_generator.py:9
↓ 2 callersMethod_meshgrid
Generate mesh grid of x and y. Args: x (torch.Tensor): Grids of x dimension. y (torch.Tensor): Grids of y dimension.
mmdetection-2.11.0/mmdet/core/anchor/anchor_generator.py:187
↓ 2 callersMethod_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:277
↓ 2 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:170
↓ 2 callersMethod_remove_close
Removes point too close within a certain radius from origin. Args: points (np.ndarray): Sweep points. radius (float):
mmdet3d/datasets/pipelines/loading.py:586
↓ 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:754
↓ 2 callersMethod_resize_bboxes
Resize bounding boxes with ``results['scale_factor']``.
mmdet3d/datasets/pipelines/loading.py:223
↓ 2 callersMethod_resize_masks
Resize masks with ``results['scale']``
mmdet3d/datasets/pipelines/loading.py:233
↓ 2 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
mmdet3d/datasets/pipelines/loading.py:243
↓ 2 callersFunction_rotation_box2d_jit_
Rotate 2D boxes. Args: corners (np.ndarray): Corners of boxes. angle (float): Rotation angle. rot_mat_T (np.ndarray): Tra
mmdet3d/datasets/pipelines/data_augment_utils.py:12
↓ 2 callersMethod_sample_points
Sample points for each points subset. Args: points (np.ndarray): Points subset to be sampled. sampler (VoxelGenerator
mmdet3d/datasets/pipelines/transforms_3d.py:846
↓ 2 callersMethod_save_image_gts_results
(self, dataset, results, mAPs, out_dir=None)
mmdetection-2.11.0/tools/analysis_tools/analyze_results.py:63
↓ 2 callersFunction_select_transform
Select transform. Args: transform (np.ndarray): Transforms to select from. indices (np.ndarray): Mask to indicate which transform
mmdet3d/datasets/pipelines/data_augment_utils.py:234
↓ 2 callersMethod_split_point_feats
Split coordinates and features of input points. Args: points (torch.Tensor): Point coordinates with features, wit
mmdet3d/models/backbones/base_pointnet.py:23
↓ 2 callersMethod_topk
Get top k positions from heatmap. Args: scores (Tensor): Target heatmap with shape [batch, num_classes, height, w
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:838
↓ 2 callersFunction_translated_gt
(masks, direction, offset, out_shape)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:455
↓ 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 len
mmdet3d/core/visualizer/show_result.py:53
↓ 2 callersFunctionaddAnnItem
(annotation_id, image_id, category_id, bbox, difficult_flag)
mmdetection-2.11.0/tools/dataset_converters/pascal_voc.py:105
↓ 2 callersFunctionadd_difficulty_to_annos
(info)
tools/data_converter/kitti_data_utils.py:466
↓ 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:417
↓ 2 callersMethodalbu_builder
Import a module from albumentations. It inherits some of :func:`build_from_cfg` logic. Args: cfg (dict): Config dict. It
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:1277
↓ 2 callersFunctionallreduce_grads
Allreduce gradients. Args: params (list[torch.Parameters]): List of parameters of a model coalesce (bool, optional): Whether allr
mmdetection-2.11.0/mmdet/core/utils/dist_utils.py:32
↓ 2 callersMethodanchor_offset
Get offest for deformable conv based on anchor shape NOTE: currently support deformable kernel_size=3 and dilation=1 Args:
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:322
↓ 2 callersMethodanchor_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:11
↓ 2 callersMethodangle2class
Convert continuous angle to a discrete class and a residual. Convert continuous angle to a discrete class and a small regression numb
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:203
↓ 2 callersMethodaug_test
Test function with augmentaiton.
mmdet3d/models/detectors/centerpoint.py:192
↓ 2 callersFunctionautolabel
Attach a text label above each bar in *rects*, displaying its height.
mmdetection-2.11.0/tools/analysis_tools/coco_error_analysis.py:53
↓ 2 callersFunctionaverage_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:7
↓ 2 callersMethodbbox2result_kitti
Convert results to kitti format for evaluation and test submission. Args: net_outputs (List[np.ndarray]): list of array storing t
mmdet3d/datasets/waymo_dataset.py:384
↓ 2 callersFunctionbbox3d_mapping_back
Map bboxes from testing scale to original image scale. Args: bboxes (:obj:`BaseInstance3DBoxes`): Boxes to be mapped back. scale_
mmdet3d/core/bbox/transforms.py:4
↓ 2 callersFunctionbbox_flip
Flip bboxes horizontally or vertically. Args: bboxes (Tensor): Shape (..., 4*k) img_shape (tuple): Image shape. direction
mmdetection-2.11.0/mmdet/core/bbox/transforms.py:5
↓ 2 callersMethodbbox_pred_split
Split batch bbox prediction back to each image.
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/sabl_head.py:277
↓ 2 callersFunctionbbox_rescale
Rescale bounding box w.r.t. scale_factor. Args: bboxes (Tensor): Shape (n, 4) for bboxes or (n, 5) for rois scale_factor (float):
mmdetection-2.11.0/mmdet/core/bbox/transforms.py:183
↓ 2 callersMethodbefore_train_epoch
Check whether the training dataset is compatible with head. Args: runner (obj:`EpochBasedRunner`): Epoch based Runner.
mmdetection-2.11.0/mmdet/datasets/utils.py:144
↓ 2 callersMethodbefore_val_epoch
Check whether the dataset in val epoch is compatible with head. Args: runner (obj:`EpochBasedRunner`): Epoch based Runner.
mmdetection-2.11.0/mmdet/datasets/utils.py:152
← previousnext →401–500 of 3,657, ranked by callers