MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 1 callersMethodaug_test_bboxes
Test det bboxes with test-time augmentation. Args: feats (list[Tensor]): the outer list indicates test-time augmen
mmdet3d/models/codetr/co_deformable_detr_head.py:1063
↓ 1 callersMethodaug_test_img_only
r"""Test function with augmentation, image network pretrain. May refer to `<https://github.com/open-mmlab/mmdetection/blob/master/mmdet/models
mmdet3d/models/detectors/imvotenet.py:703
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton.
mmdet3d/models/unipad/uvtr.py:449
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton.
mmdet3d/models/detectors/futr3d.py:395
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton. The function implementation process is as follows: - step 1: map features
mmdet3d/models/detectors/centerpoint.py:97
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton.
mmdet3d/models/detectors/mvx_two_stage.py:455
↓ 1 callersMethodaug_test_rpn
Test with augmentation for only for ``RPNHead`` and its variants, e.g., ``GARPNHead``, etc. Args: feats (tuple[Tensor]):
mmdet3d/models/dense_heads/dense_test_mixins.py:133
↓ 1 callersMethodauto_scale_workers
When the config is defined for certain number of workers (according to ``cfg.SOLVER.REFERENCE_WORLD_SIZE``) that's different from the
detr2/detectron2/engine/defaults.py:637
↓ 1 callersMethodaux_loss
Calculate auxiliary loss. Args: points (torch.Tensor): Mean feature value of the points. point_cls (torch.Tensor): Cl
mmdet3d/models/middle_encoders/sparse_encoder.py:410
↓ 1 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:8
↓ 1 callersFunctionaverage_precision
Calculate average precision (for single or multiple scales). Args: recalls (ndarray): shape (num_scales, num_dets) or (num_dets, )
mmdet3d/datasets/map_utils/mean_ap.py:14
↓ 1 callersFunctionaverage_precision
Calculate average precision. Args: recalls (ndarray): shape (num_dets, ) precisions (ndarray): shape (num_dets, ) mode (
mmdet3d/datasets/evaluation/map/AP.py:6
↓ 1 callersFunctionaxis_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 of
mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:210
↓ 1 callersFunctionaxis_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. Arg
mmdet3d/models/losses/axis_aligned_iou_loss.py:11
↓ 1 callersMethodbackward
(ctx, out_grad)
mmdet3d/ops/bev_pool_v2/bev_pool.py:60
↓ 1 callersMethodbackward
(ctx, grad_outputs)
mmdet3d/models/utils/encoder_utils.py:49
↓ 1 callersMethodbbox
(self)
detr2/detectron2/utils/visualizer.py:153
↓ 1 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:5
↓ 1 callersFunctionbbox_2d_transform
Transform 2d bbox according to img_meta. Args: img_meta(dict): Meta info regarding data transformation. bbox_2d (torch.Tensor): S
mmdet3d/models/fusion_layers/coord_transform.py:123
↓ 1 callersMethodbbox_onnx_export
Export bbox branch to onnx which supports batch inference. Args: x (tuple[Tensor]): Feature maps of all scale level.
mmdet3d/models/codetr/co_roi_head.py:374
↓ 1 callersFunctionbbox_overlaps_3d
Calculate 3D IoU using cuda implementation. Note: This function calculates the IoU of 3D boxes based on their volumes. IoU calcul
mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:148
↓ 1 callersMethodbefore_step
Called before each iteration.
detr2/detectron2/engine/train_loop.py:68
↓ 1 callersMethodbefore_step
(self)
detr2/detectron2/engine/train_loop.py:170
↓ 1 callersMethodbefore_train
Called before the first iteration.
detr2/detectron2/engine/train_loop.py:56
↓ 1 callersMethodbefore_train
(self)
detr2/detectron2/engine/train_loop.py:161
↓ 1 callersFunctionbev_box_overlap
(boxes, qboxes, criterion=-1)
mmdet3d/core/evaluation/kitti_utils/eval.py:117
↓ 1 callersFunctionbev_box_overlap
(boxes, q_boxes, criterion=-1)
mmdet3d/core/evaluation/vod_utils/kitti_official_evaluate.py:151
↓ 1 callersFunctionbev_pool
(feats, coords, B, D, H, W)
mmdet3d/ops/bev_pool/bev_pool_op.py:83
↓ 1 callersMethodbev_pool
(self, geom_feats, x)
mmdet3d/models/necks/lss.py:286
↓ 1 callersFunctionbev_predictBox_with_gtBox
(points, gt, predict_result, score_threshold = 0.1, image_size=2048, save_filename='bev_visualize.jpg')
tools/visualize_tools/bev_visualize.py:8
↓ 1 callersFunctionbev_sampling_pytorch
value: [B, N, H1W1 + H2W2..., C] sampling_locations: [B, Q, P, 2] scale_weights: [B, Q, P, 4]
mmdet3d/models/sparsebev/sparsebev_sampling.py:346
↓ 1 callersMethodbev_transform
(self, gt_boxes, rotate_angle, scale_ratio, flip_dx, flip_dy, trans_bda)
mmdet3d/datasets/pipelines/loading.py:2787
↓ 1 callersMethodbev_transform
(self, gt_boxes, rotate_angle, scale_ratio, flip_dx, flip_dy)
mmdet3d/datasets/pipelines/loading.py:3484
↓ 1 callersMethodbev_transform
(self, gt_boxes, rotate_angle, scale_ratio, flip_dx, flip_dy, trans_bda)
mmdet3d/datasets/pipelines/loading.py:3665
↓ 1 callersMethodbev_transform
(self, gt_boxes, rotate_angle, scale_ratio, flip_dx, flip_dy)
mmdet3d/datasets/pipelines/loading.py:3813
↓ 1 callersFunctionbilinear_interpolate_gradient
detr2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:132
↓ 1 callersMethodbin_depths
Converts depth map into bin indices Args: depth_map [torch.Tensor(H, W)]: Depth Map mode [string]: Discretizi
mmdet3d/datasets/pipelines/av2_pipeline.py:501
↓ 1 callersMethodbin_depths
Converts depth map into bin indices Args: depth_map [torch.Tensor(H, W)]: Depth Map mode [string]: Discretizi
mmdet3d/models/depth_predictor/ddn_loss/ddn_loss.py:96
↓ 1 callersFunctionbinary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1) or (N, ). When the shape
mmdet3d/models/losses/cross_entropy_loss.py:177
↓ 1 callersFunctionbinary_focal_loss_with_logits
r"""Function that computes Binary Focal loss. .. math:: \text{FL}(p_t) = -\alpha_t (1 - p_t)^{\gamma} \, \text{log}(p_t) where:
mmdet3d/models/depth_predictor/ddn_loss/focalloss.py:180
↓ 1 callersFunctionbox3d_transform_
Transform 3D boxes. Args: boxes (np.ndarray): 3D boxes to be transformed. loc_transform (np.ndarray): Location transform to be ap
mmdet3d/datasets/pipelines/data_augment_utils.py:314
↓ 1 callersFunctionbox_iou
(boxes1, boxes2)
detr2/projects/DDETRS/ddetrs/util/box_ops.py:34
↓ 1 callersFunctionbox_iou_rotated
Interface for Python inline is needed to prevent multiple function definitions when this header is included by different cpps
detr2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated.h:20
↓ 1 callersFunctionbox_iou_rotated_cpu
detr2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp:23
↓ 1 callersMethodbox_reg_loss
Args: proposal_boxes/gt_boxes are tensors with the same shape (R, 4 or 5). pred_deltas has shape (R, 4 or 5), or (R,
detr2/detectron2/modeling/roi_heads/fast_rcnn.py:320
↓ 1 callersMethodbox_to_av2
(self, boxes)
mmdet3d/datasets/argoverse2_dataset.py:333
↓ 1 callersFunctionbox_xyxy_to_cxcywh
(x)
detr2/projects/DDETRS/ddetrs/util/box_ops.py:26
↓ 1 callersFunctionbuild_MLP
(input_dim, hidden_dim, output_dim, num_layers)
mmdet3d/models/codetr/transformer.py:442
↓ 1 callersFunctionbuild_backbone
(args)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/backbone.py:132
↓ 1 callersMethodbuild_cost_matrix
(self, instances: Instances, prev_instances: Instances)
detr2/detectron2/tracking/hungarian_tracker.py:57
↓ 1 callersFunctionbuild_data_cfg
Build data config for loading visualization data.
tools/misc/browse_dataset.py:59
↓ 1 callersFunctionbuild_dn_generator
Args: dn_args (dict): Returns:
mmdet3d/models/codetr/query_denoising.py:212
↓ 1 callersMethodbuild_evaluator
Returns: DatasetEvaluator or None It is not implemented by default.
detr2/detectron2/engine/defaults.py:565
↓ 1 callersMethodbuild_evaluator
Create evaluator(s) for a given dataset. This uses the special metadata "evaluator_type" associated with each builtin dataset.
detr2/projects/DDETRS/train_net_ori.py:86
↓ 1 callersMethodbuild_evaluator
Create evaluator(s) for a given dataset. This uses the special metadata "evaluator_type" associated with each builtin dataset.
detr2/projects/DDETRS/train_net.py:201
↓ 1 callersMethodbuild_hooks
Build a list of default hooks, including timing, evaluation, checkpointing, lr scheduling, precise BN, writing events. Retur
detr2/detectron2/engine/defaults.py:421
↓ 1 callersMethodbuild_inputs
(self, tokenizer, query: str, history: List[Tuple[str, str]] = [], meta_instruction='')
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:1159
↓ 1 callersFunctionbuild_keypoint_head
Build a keypoint head from `cfg.MODEL.ROI_KEYPOINT_HEAD.NAME`.
detr2/detectron2/modeling/roi_heads/keypoint_head.py:32
↓ 1 callersFunctionbuild_lr_scheduler
Build a LR scheduler from config.
detr2/detectron2/solver/build.py:253
↓ 1 callersMethodbuild_lr_scheduler
It now calls :func:`detectron2.solver.build_lr_scheduler`. Overwrite it if you'd like a different scheduler.
detr2/detectron2/engine/defaults.py:535
↓ 1 callersMethodbuild_optimizer
Returns: torch.optim.Optimizer: It now calls :func:`detectron2.solver.build_optimizer`. Overwrite it if you'd li
detr2/detectron2/engine/defaults.py:524
↓ 1 callersFunctionbuild_position_encoding
(args)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/position_encoding.py:87
↓ 1 callersMethodbuild_query2d_proposal
pred_centers2d: ~~(B*N H*W 2)~~, now is a list, BN*(Mi, 4) pred_depth: (B*N, H, W, 1) if not use topk depth proposals else (BN, H, W,
mmdet3d/models/dense_heads/farhead.py:711
↓ 1 callersFunctionbuild_roi_heads
Build ROIHeads defined by `cfg.MODEL.ROI_HEADS.NAME`.
detr2/detectron2/modeling/roi_heads/roi_heads.py:38
↓ 1 callersMethodbuild_roi_layers
Build roi layers using `layer_cfg`
mmdet3d/models/roi_heads/roi_extractors/single_roipoint_extractor.py:24
↓ 1 callersMethodbuild_roi_layers
Build roi layers using `layer_cfg`
mmdet3d/models/roi_heads/roi_extractors/single_roiaware_extractor.py:23
↓ 1 callersFunctionbuild_rpn_head
Build an RPN head defined by `cfg.MODEL.RPN.HEAD_NAME`.
detr2/detectron2/modeling/proposal_generator/rpn.py:58
↓ 1 callersFunctionbuild_segmentor
Build segmentor.
mmdet3d/models/builder.py:102
↓ 1 callersMethodbuild_target_depth_from_3dcenter_argo
(self, gt_boxes2d, gt_center_depth, HW)
mmdet3d/datasets/pipelines/av2_pipeline.py:478
↓ 1 callersMethodbuild_target_depth_from_3dcenter_argo
(self, depth_logits, gt_boxes2d, gt_center_depth)
mmdet3d/models/depth_predictor/ddn_loss/ddn_loss.py:71
↓ 1 callersMethodbuild_test_loader
Returns: iterable It now calls :func:`detectron2.data.build_detection_test_loader`. Overwrite it if you'd like a
detr2/detectron2/engine/defaults.py:554
↓ 1 callersMethodbuild_writers
Build a list of writers to be used using :func:`default_writers()`. If you'd like a different list of writers, you can overwrite it i
detr2/detectron2/engine/defaults.py:470
↓ 1 callersMethodc2_postprocess
(im_info, rpn_rois, rpn_roi_probs, tensor_mode)
detr2/detectron2/export/c10.py:260
↓ 1 callersMethodc2_preprocess
(box_lists)
detr2/detectron2/export/c10.py:278
↓ 1 callersMethodcal_matrix_refSensor_from_global
(self, nusc, sensor_token)
mmdet3d/datasets/pipelines/loading.py:793
↓ 1 callersMethodcal_matrix_refSensor_to_global
(self, nusc, sensor_token)
mmdet3d/datasets/pipelines/loading.py:803
↓ 1 callersMethodcal_regular_voxel_nor_and_curv
(self,centroid_low,centroid_low_mask,voxel_centroid,indice_pairs)
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_ssl.py:577
↓ 1 callersMethodcal_trans_matrix
(self, nusc, sensor1_token, sensor2_token)
mmdet3d/datasets/pipelines/loading.py:815
↓ 1 callersMethodcalc_bbox_dists
(self, points)
mmdet3d/models/backbones/radar_encoder_adapter_old.py:475
↓ 1 callersMethodcalc_bbox_dists
(self, points)
mmdet3d/models/backbones/radar_encoder_adapter.py:475
↓ 1 callersMethodcalc_bbox_dists
(self, bboxes)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_v2.py:238
↓ 1 callersMethodcalc_bbox_dists
(self, bboxes)
mmdet3d/models/sparsebev/sparsebev_transformer_rc.py:321
↓ 1 callersMethodcalc_bbox_dists
(self, bboxes)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_seg.py:237
↓ 1 callersMethodcalc_bbox_dists
(self, bboxes)
mmdet3d/models/sparsebev/sparsebev_transformer.py:479
↓ 1 callersMethodcalc_bbox_dists
(self, bboxes)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_changan.py:238
↓ 1 callersMethodcalc_dn_loss
(self, loss_dict, preds_dicts, num_dec_layers)
mmdet3d/models/sparsebev/sparsebev_head.py:349
↓ 1 callersMethodcalc_dn_loss
(self, loss_dict, preds_dicts, num_dec_layers)
mmdet3d/models/sparsebev/sparsebev_head_rc.py:311
↓ 1 callersFunctioncalc_euclidian_dist
Calculate the Euclidean distance between two sets of points. Args: xyz1 (torch.Tensor): (N, 3), the first set of points. xyz2 (to
mmdet3d/ops/paconv/utils.py:5
↓ 1 callersFunctioncalc_tp
Calculates true positive errors.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:729
↓ 1 callersMethodcalculate_birds_eye_view_parameters
Parameters ---------- x_bounds: Forward direction in the ego-car. y_bounds: Sides z_bounds: Heigh
mmdet3d/datasets/metric_planning_stp3.py:53
↓ 1 callersMethodcalculate_cost_volumn_henetpp
(self, metas)
mmdet3d/models/necks/view_transformer.py:767
↓ 1 callersMethodcalculate_cost_volumn_trt
(self, metas)
mmdet3d/models/necks/view_transformer.py:859
↓ 1 callersFunctioncalculate_cube_vertices
(center, extent)
tools/vis_utils.py:493
↓ 1 callersFunctioncalculate_iou_partly
Fast iou algorithm. this function can be used independently to do result analysis. Must be used in CAMERA coordinate system. Args: gt
mmdet3d/core/evaluation/kitti_utils/eval.py:343
↓ 1 callersFunctioncalculate_iou_partly
fast iou algorithm. this function can be used independently to do result analysis. Must be used in CAMERA coordinate system. Args: gt_
mmdet3d/core/evaluation/vod_utils/kitti_official_evaluate.py:393
↓ 1 callersFunctioncalculate_occlusion_stats
Draws each vertex in vertices_pos2d if it is in front of the camera The color is based on whether the object is occluded or not. Retu
tools/vis_utils.py:281
↓ 1 callersMethodcalculate_pts_offsets
Find all boxes in which each point is, as well as the offsets from the box centers. Args: points (torch.Tensor): [M, 3],
mmdet3d/models/middle_encoders/sparse_encoder.py:372
↓ 1 callersMethodcart_to_homo
Convert transformation matrix in Cartesian coordinates to homogeneous format. Args: mat (np.ndarray): Transformation matr
tools/data_converter/waymo_converter.py:537
↓ 1 callersMethodcat
Concatenates a list of BitMasks into a single BitMasks Arguments: bitmasks_list (list[BitMasks]) Returns:
detr2/detectron2/structures/masks.py:241
↓ 1 callersFunctioncenter_distance
L2 distance between the box centers (xy only). :param gt_box: GT annotation sample. :param pred_box: Predicted sample. :return: L2 di
mmdet3d/datasets/nuscenes_styled_eval_utils.py:8
← previousnext →1,701–1,800 of 6,925, ranked by callers