MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 2 callersFunctionquaternion_yaw
Calculate the yaw angle from a quaternion. Note that this only works for a quaternion that represents a box in lidar or global coordinate fra
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:105
↓ 2 callersMethodrandom_flip_data_3d
Flip 3D data randomly. Args: input_dict (dict): Result dict from loading pipeline. direction (str, optional): Flip di
mmdet3d/datasets/pipelines/transforms_3d.py:115
↓ 2 callersMethodrandom_flip_data_3d
Flip 3D data randomly. Args: input_dict (dict): Result dict from loading pipeline. direction (str): Flip direction. D
mmdet3d/datasets/pipelines/transform_3d_focalformer3d.py:842
↓ 2 callersMethodrandom_sample
Randomly sample an img_scale when ``multiscale_mode=='range'``. Args: img_scales (list[tuple]): Images scale range for sampling.
mmdet3d/datasets/pipelines/transform_3d_focalformer3d.py:506
↓ 2 callersFunctionrbbox_to_corners
(corners, rbbox)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:201
↓ 2 callersFunctionrbbox_to_corners
(corners, rbbox)
mmdet3d/core/evaluation/vod_utils/rotate_iou_cpu.py:206
↓ 2 callersMethodrefine_bbox
(self, bbox_proposal, bbox_delta)
mmdet3d/models/sparsebev/sparsebev_transformer_rc.py:213
↓ 2 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:268
↓ 2 callersMethodreset
(self)
mmdet3d/datasets/evaluation/planning/planning_eval.py:67
↓ 2 callersMethodreset_memory
(self)
mmdet3d/models/dense_heads/farhead.py:446
↓ 2 callersFunctionrotate_half
(x)
mmdet3d/models/backbones/vit_codetr.py:59
↓ 2 callersFunctionrotate_half
(x)
mmdet3d/models/backbones/eva02/utils.py:248
↓ 2 callersFunctionrotate_half
Rotates half the hidden dims of the input.
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:220
↓ 2 callersFunctionrotate_half
Rotates half the hidden dims of the input.
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:233
↓ 2 callersFunctionrotate_iou_eval
(boxes, query_boxes, criterion=-1)
mmdet3d/core/evaluation/vod_utils/rotate_iou_cpu.py:264
↓ 2 callersFunctionrotate_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]( http
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:337
↓ 2 callersMethodrotate_z
(theta)
tools/create_data_changan_sparsebev_rc.py:76
↓ 2 callersMethodrotate_z
(theta)
tools/create_data_changan_sparsebev_rc_filter.py:78
↓ 2 callersFunctionrotation_3d_in_axis
(points, angles)
mmdet3d/models/sparsebev/utils.py:49
↓ 2 callersMethodsample_all
Sampling all categories of bboxes. Args: gt_bboxes (np.ndarray): Ground truth bounding boxes. gt_labels (np.ndarray):
mmdet3d/datasets/pipelines/dbsampler.py:216
↓ 2 callersFunctionsampling_4d_trt
Args: sample_points: 3D sampling points in shape [B, Q, T, G, P, 3] mlvl_feats: list of multi-scale features from neck, each in s
mmdet3d/models/sparsebev/sparsebev_sampling.py:137
↓ 2 callersFunctionsave_checkpoint
Save checkpoint to file. The checkpoint will have 3 fields: ``meta``, ``state_dict`` and ``optimizer``. By default ``meta`` will contain versi
mmdet3d/models/codetr/checkpoint.py:427
↓ 2 callersMethodsave_image
Parse and save the images in png format. Args: frame (:obj:`Frame`): Open dataset frame proto. file_idx (int): Curren
tools/data_converter/waymo_converter.py:132
↓ 2 callersFunctionsem_seg_postprocess
Return semantic segmentation predictions in the original resolution. The input images are often resized when entering semantic segmentor. Mo
detr2/detectron2/modeling/postprocessing.py:78
↓ 2 callersMethodsemantic_masks
(self)
detr2/detectron2/utils/visualizer.py:219
↓ 2 callersFunctionset_device_states
(devices, states)
mmdet3d/models/sparsebev/checkpoint.py:57
↓ 2 callersMethodset_image
Calculates the image embeddings for the provided image, allowing masks to be predicted with the 'predict' method. Arguments:
mmdet3d/models/backbones/sam.py:539
↓ 2 callersMethodset_template
Set template array. Args: array (tuple | list | int | float | np.ndarray | torch.Tensor): Template array.
mmdet3d/core/utils/array_converter.py:212
↓ 2 callersMethodset_temporal_flag
(self, runner, flag)
mmdet3d/core/hook/sequentialcontrol.py:16
↓ 2 callersFunctionshapes_to_tensor
Turn a list of integer scalars or integer Tensor scalars into a vector, in a way that's both traceable and scriptable. In tracing, `x` s
detr2/detectron2/layers/wrappers.py:16
↓ 2 callersMethodshow
Visualize the points cloud. Args: save_path (str, optional): path to save image. Default: None.
mmdet3d/core/visualizer/open3d_vis.py:447
↓ 2 callersFunctionsigmoid_focal_loss
Loss used in RetinaNet for dense detection: https://arxiv.org/abs/1708.02002. Args: inputs: A float tensor of arbitrary shape.
detr2/projects/DDETRS/ddetrs/models/deformable_detr/segmentation.py:163
↓ 2 callersFunctionsigmoid_xent_loss
( inputs: torch.Tensor, targets: torch.Tensor, reduction: str = "mean", )
mmdet3d/models/dense_heads/vanilla_seg.py:14
↓ 2 callersMethodsimple_test
Test function without augmentaiton.
mmdet3d/models/unipad/uvtr.py:413
↓ 2 callersMethodsimple_test_bboxes
Test det bboxes without test-time augmentation. Args: feats (tuple[torch.Tensor]): Multi-level features from the
mmdet3d/models/codetr/co_deformable_detr_head.py:1079
↓ 2 callersMethodsimple_test_img
Test without augmentation.
mmdet3d/models/detectors/mvx_two_stage.py:390
↓ 2 callersMethodsimple_test_mask
Obtain mask prediction without augmentation.
mmdet3d/models/codetr/co_detr.py:436
↓ 2 callersMethodsimple_test_pts
(self, x, radar_feats, img_metas, gt_map, maps, rescale=False)
mmdet3d/models/sparsebev/sparsebev_rc_seg.py:596
↓ 2 callersMethodsimple_test_pts
(self, x, radar_feats, img_metas, rescale=False)
mmdet3d/models/sparsebev/sparsebev_rc.py:715
↓ 2 callersMethodsimple_test_pts
(self, x, img_metas, rescale=False, **kwargs)
mmdet3d/models/sparsebev/sparsebev.py:228
↓ 2 callersMethodsimple_test_rpn
Test without augmentation, only for ``RPNHead`` and its variants, e.g., ``GARPNHead``, etc. Args: x (tuple[Tensor]): Feat
mmdet3d/models/dense_heads/dense_test_mixins.py:116
↓ 2 callersFunctionsubsample_labels
Return `num_samples` (or fewer, if not enough found) random samples from `labels` which is a mixture of positives & negatives. It will tr
detr2/detectron2/modeling/sampling.py:9
↓ 2 callersMethodsummarize
Compute and display summary metrics for evaluation results given a custom value for max_dets_per_image
detr2/detectron2/evaluation/coco_evaluation.py:709
↓ 2 callersMethodto_bitmasks
Args: see documentation of :func:`paste_masks_in_image`.
detr2/detectron2/structures/masks.py:518
↓ 2 callersMethodto_d2_instances_list
Convert InstancesList to List[Instances]. The input `instances_list` can also be a List[Instances], in this case this method is a non
detr2/detectron2/export/c10.py:107
↓ 2 callersMethodtrain
Convert the model into training mode while keep layers freezed.
mmdet3d/models/backbones/cbnet.py:88
↓ 2 callersMethodtrain
Convert the model into training mode while keep layers freezed.
detr2/projects/DDETRS/ddetrs/backbone/swin.py:681
↓ 2 callersFunctiontransform_reference_points
(reference_points, egopose, reverse=False, translation=True)
mmdet3d/models/utils/misc.py:193
↓ 2 callersFunctionunfold_wo_center
(x, kernel_size, dilation)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:767
↓ 2 callersMethodupdate
(self, value, n=1)
detr2/projects/DDETRS/ddetrs/util/misc.py:44
↓ 2 callersFunctionvec_iou
each line with 1 meter width pred_lines: num_preds, npts, 2 gt_lines: num_gts, npts, 2
mmdet3d/datasets/map_utils/tpfp_chamfer.py:15
↓ 2 callersFunctionverify_results
Args: results (OrderedDict[dict]): task_name -> {metric -> score} Returns: bool: whether the verification succeeds or not
detr2/detectron2/evaluation/testing.py:31
↓ 2 callersMethodview_transform_core
(self, input, depth, tran_feat)
mmdet3d/models/necks/view_transformer.py:359
↓ 2 callersMethodvoxel2points
(self, voxel)
mmdet3d/datasets/occ_metrics.py:175
↓ 2 callersMethodvoxel_pooling
(self, geom_feats, x)
mmdet3d/models/necks/view_transformer_mine.py:141
↓ 2 callersMethodvoxel_pooling
(self, geom_feats, x)
mmdet3d/models/necks/lss.py:324
↓ 2 callersMethodvoxel_pooling_prepare_v2
Data preparation for voxel pooling. Args: coor (torch.tensor): Coordinate of points in the lidar space in shape (
mmdet3d/models/necks/view_transformer.py:1370
↓ 2 callersMethodvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/dynamic_centerpoint.py:214
↓ 2 callersMethodvoxelize
(self, points, voxel_type='voxel')
mmdet3d/models/detectors/deepinteraction.py:145
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
mmdet3d/models/backbones/swinv1.py:42
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
mmdet3d/models/backbones/swin_transformer.py:42
↓ 2 callersFunctionwindow_partition
Partition into non-overlapping windows with padding if needed. Args: x (tensor): input tokens with [B, H, W, C]. window_size
mmdet3d/models/backbones/eva02/utils.py:19
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
mmdet3d/models/codetr/swin_transformer.py:42
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
detr2/projects/DDETRS/ddetrs/backbone/swin.py:42
↓ 2 callersMethodwindow_partition
(self, do_shift)
mmdet3d/ops/sst/sst_ops.py:515
↓ 2 callersMethodwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_siz
mmdet3d/models/backbones/swin.py:494
↓ 2 callersFunctionwindow_unpartition
Window unpartition into original sequences and removing padding. Args: x (tensor): input tokens with [B * num_windows, window_size, w
mmdet3d/models/backbones/eva02/utils.py:43
↓ 2 callersMethodwith_pos_embed
(tensor, pos)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_transformer.py:289
↓ 1 callersFunctionBilinearInterpolation
(tensor_in, up_scale)
detr2/detectron2/export/shared.py:48
↓ 1 callersFunctionBuildSortedDetectionList
Helper function to Accumulate() Considers the evaluation results applicable to a particular category, area range, and max_detections parameter setting
detr2/detectron2/layers/csrc/cocoeval/cocoeval.cpp:223
↓ 1 callersFunctionComputePrecisionRecallCurve
Helper function to Accumulate() Compute a precision recall curve given a sorted list of detected instances encoded in evaluations, evaluation_indices,
detr2/detectron2/layers/csrc/cocoeval/cocoeval.cpp:284
↓ 1 callersFunctionIOU
(intputs, targets, eps=1e-6)
mmdet3d/models/sparsebev/sparsebev_rc_seg.py:66
↓ 1 callersMethodInstanceAnnotation
detr2/detectron2/layers/csrc/cocoeval/cocoeval.h:18
↓ 1 callersFunctionMatchDetectionsToGroundTruth
For each IOU threshold, greedily match each detected instance to a ground truth instance (if possible) and store the results
detr2/detectron2/layers/csrc/cocoeval/cocoeval.cpp:61
↓ 1 callersFunctionROIAlignRotated_backward_cpu
detr2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:466
↓ 1 callersFunctionROIAlignRotated_forward_cpu
detr2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:418
↓ 1 callersFunctionSortInstancesByDetectionScore
Sort detections from highest score to lowest, such that detection_instances[detection_sorted_indices[t]] >= detection_instances[detection_sorted_indic
detr2/detectron2/layers/csrc/cocoeval/cocoeval.cpp:18
↓ 1 callersFunctionSortInstancesByIgnore
Partition the ground truth objects based on whether or not to ignore them based on area
detr2/detectron2/layers/csrc/cocoeval/cocoeval.cpp:34
↓ 1 callersMethod__call__
Call function to pad images, masks, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline. R
mmdet3d/datasets/pipelines/transform_3d_focalformer3d.py:786
↓ 1 callersMethod__call__
Call function to load multiple types annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. R
mmdet3d/datasets/pipelines/loading_hop.py:670
↓ 1 callersMethod__exit__
(self, *args)
detr2/detectron2/export/shared.py:145
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_2kf.py:81
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_2kf_orin.py:102
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_orin.py:80
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac.py:81
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_1kf_orin.py:81
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp/benchmark_trt_henetpp_v3.py:95
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp/benchmark_trt_henetpp_orin.py:88
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_1kf.py:81
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp/benchmark_trt_henetpp.py:92
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/henetpp_centerpoint/benchmark_trt_henetpp_centerpoint_ac_orin.py:87
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/bevdepth4d/benchmark_trt_bevdepth4d_old_orin.py:90
↓ 1 callersMethod__init__
(self, engine: Union[str, trt.ICudaEngine], output_names: Optional[Sequence[
tools/analysis_tools/bevdepth4d/benchmark_trt_bevdepth4d_old.py:90
↓ 1 callersMethod__init__
(self, *args, **kwargs)
mmdet3d/ops/norm.py:47
↓ 1 callersMethod__init__
(self, mlp_channels, num_sample=None, knn_mode='F-KNN',
mmdet3d/ops/dgcnn_modules/dgcnn_gf_module.py:183
↓ 1 callersMethod__init__
(self, voxel_size, point_cloud_range, max_num_points,
mmdet3d/ops/voxel/voxelize.py:65
↓ 1 callersMethod__init__
(self, beta=0.1)
mmdet3d/utils/render_utils.py:9
↓ 1 callersMethod__init__
:param center: Center of box given as x, y, z. :param size: Size of box in width, length, height. :param orientation: Box ori
mmdet3d/core/bbox/structures/nuscenes_box.py:37
↓ 1 callersMethod__init__
Args: model (nn.Module): model to apply EMA. decay (float): ema decay reate. updates (int): counter of EM
mmdet3d/core/hook/ema.py:31
↓ 1 callersMethod__init__
Initialize a DetectionEval object. :param nusc: A NuScenes object. :param config: A DetectionConfig object. :param re
mmdet3d/datasets/vad_custom_nuscenes_eval.py:624
← previousnext →1,101–1,200 of 6,925, ranked by callers