MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

Methodmean_ap
Calculates the mean AP by averaging over distance thresholds and classes.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:323
Methodmean_dist_aps
Calculates the mean over distance thresholds for each label.
mmdet3d/datasets/nuscenes_styled_eval_utils.py:318
Methodmean_dist_aps
Calculates the mean over distance thresholds for each label.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:318
Methodmetrics_defaults
Return the evaluation summary default values.
mmdet3d/datasets/av2_utils.py:50
Functionmiddle
(fn)
mmdet3d/models/utils/bricks.py:8
Functionminmax_to_corner_2d
Convert minmax box to corners2d. Args: minmax_box (np.ndarray, shape=[N, dims]): minmax boxes. Returns: np.ndarray: 2d corne
mmdet3d/core/bbox/box_np_ops.py:379
FunctionmmlabNormalize
(img)
mmdet3d/datasets/pipelines/loading.py:1469
FunctionmmlabNormalize
(img)
mmdet3d/datasets/pipelines/loading_changan.py:606
FunctionmmlabNormalize
(img, img_norm_cfg=None)
mmdet3d/datasets/pipelines/loading_hop.py:803
Functionmock_torch_nn_functional_interpolate
()
detr2/detectron2/export/shared.py:116
Functionmodulated_deform_conv_backward
detr2/detectron2/layers/csrc/deformable/deform_conv.h:314
Functionmodulated_deform_conv_forward
detr2/detectron2/layers/csrc/deformable/deform_conv.h:262
Functionmono_cam_box2vis
This is a post-processing function on the bboxes from Mono-3D task. If we want to perform projection visualization, we need to: 1. rotate
mmdet3d/core/bbox/structures/utils.py:251
Functionmove_device_like
Tracing friendly way to cast tensor to another tensor's device. Device will be treated as constant during tracing, scripting the casting proc
mmdet3d/models/backbones/eva02/wrappers.py:143
Functionms_deform_attn_backward
mmdet3d/ops/deformattn/src/ms_deform_attn.h:41
Functionms_deform_attn_backward
mmdet3d/models/model_utils/ops/src/ms_deform_attn.h:41
Functionms_deform_attn_backward
detr2/projects/DDETRS/ddetrs/models/deformable_detr/ops/src/ms_deform_attn.h:41
Functionms_deform_attn_cpu_backward
mmdet3d/ops/deformattn/src/cpu/ms_deform_attn_cpu.cpp:29
Functionms_deform_attn_cpu_backward
mmdet3d/models/model_utils/ops/src/cpu/ms_deform_attn_cpu.cpp:29
Functionms_deform_attn_cpu_backward
detr2/projects/DDETRS/ddetrs/models/deformable_detr/ops/src/cpu/ms_deform_attn_cpu.cpp:29
Functionms_deform_attn_cpu_forward
mmdet3d/ops/deformattn/src/cpu/ms_deform_attn_cpu.cpp:17
Functionms_deform_attn_cpu_forward
mmdet3d/models/model_utils/ops/src/cpu/ms_deform_attn_cpu.cpp:17
Functionms_deform_attn_cpu_forward
detr2/projects/DDETRS/ddetrs/models/deformable_detr/ops/src/cpu/ms_deform_attn_cpu.cpp:17
Functionms_deform_attn_cuda_c23456_backward
mmdet3d/ops/csrc/msmv_sampling/msmv_sampling.cpp:283
Functionms_deform_attn_cuda_c23456_forward
mmdet3d/ops/csrc/msmv_sampling/msmv_sampling.cpp:152
Functionms_deform_attn_cuda_c2345_backward
mmdet3d/ops/csrc/msmv_sampling/msmv_sampling.cpp:212
Functionms_deform_attn_cuda_c2345_forward
mmdet3d/ops/csrc/msmv_sampling/msmv_sampling.cpp:98
Functionms_deform_attn_forward
mmdet3d/ops/deformattn/src/ms_deform_attn.h:20
Functionms_deform_attn_forward
mmdet3d/models/model_utils/ops/src/ms_deform_attn.h:20
Functionms_deform_attn_forward
detr2/projects/DDETRS/ddetrs/models/deformable_detr/ops/src/ms_deform_attn.h:20
Functionmulti_gpu_test_debug
(model, data_loader, tmpdir=None, gpu_collect=False)
tools/test.py:453
Methodmulti_image_chat
(self, tokenizer, pixel_values, image_counts, question, generation_config, history=None,
mmdet3d/models/internvl_model/internvl_chat/modeling_internvl_chat.py:280
Functionmulti_scale_deformable_attn_pytorch_quant
CPU version of multi-scale deformable attention. Args: value (torch.Tensor): The value has shape (bs, num_keys, num_heads, em
mmdet3d/models/bevformer/modules/temporal_self_attention.py:26
Methodmulti_view_level_fusion
(self, features, weights)
mmdet3d/models/utils/sparse_blocks.py:305
Functionmy_print_gt_on_bev
(gt, img_metas, name)
tools/vis.py:199
Functionnchw_to_nlc
Flatten [N, C, H, W] shape tensor to [N, L, C] shape tensor. Args: x (Tensor): The input tensor of shape [N, C, H, W] before conversion.
mmdet3d/models/utils/transformer_codetr.py:51
Methodnd_score
Compute the nuScenes detection score (NDS, weighted sum of the individual scores). :return: The NDS.
mmdet3d/datasets/nuscenes_styled_eval_utils.py:357
Methodnd_score
Compute the nuScenes detection score (NDS, weighted sum of the individual scores). :return: The NDS.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:357
Methodnearest_bev
torch.Tensor: A tensor of 2D BEV box of each box without rotation.
mmdet3d/core/bbox/structures/base_box3d.py:144
Functionnew_func
Inner wrapper for the arguments.
mmdet3d/core/utils/array_converter.py:81
Functionnew_import
(name, globals=None, locals=None, fromlist=(), level=0)
detr2/detectron2/config/lazy.py:132
Functionnlc_to_nchw
Convert [N, L, C] shape tensor to [N, C, H, W] shape tensor. Args: x (Tensor): The input tensor of shape [N, L, C] before conversion.
mmdet3d/models/utils/transformer_codetr.py:34
Functionnms_gpu
mmdet3d/ops/iou3d/src/iou3d.cpp:95
Functionnms_normal_bev
Normal NMS function GPU implementation (for BEV boxes). The overlap of two boxes for IoU calculation is defined as the exact overlapping area of
mmdet3d/core/post_processing/box3d_nms.py:331
Functionnms_normal_gpu
Normal non maximum suppression on GPU. Args: boxes (torch.Tensor): Input boxes with shape (N, 5). scores (torch.Tensor): Scores o
mmdet3d/ops/iou3d/iou3d_utils.py:53
Functionnms_normal_gpu
mmdet3d/ops/iou3d/src/iou3d.cpp:149
Functionnms_rotated
Interface for Python inline is needed to prevent multiple function definitions when this header is included by different cpps
detr2/detectron2/layers/csrc/nms_rotated/nms_rotated.h:22
Functionnms_rotated_cpu_kernel
detr2/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:8
Methodno_prefix_space_tokens
(self)
mmdet3d/models/internvl_model/internlm2/tokenization_internlm2.py:80
Methodno_weight_decay
(self)
detr2/projects/DDETRS/ddetrs/backbone/vit.py:480
Methodnonempty
Find boxes that are non-empty. A box is considered empty, if either of its side is no larger than threshold. Args:
mmdet3d/core/bbox/structures/base_box3d.py:281
Methodnonempty
Find masks that are non-empty. Returns: Tensor: a BoolTensor which represents whether each mask is empty
detr2/detectron2/structures/masks.py:153
Methodnonempty
Find masks that are non-empty. Returns: Tensor: a BoolTensor which represents whether each mask is empty
detr2/detectron2/structures/masks.py:335
Functionnonzero_tuple
A 'as_tuple=True' version of torch.nonzero to support torchscript. because of https://github.com/pytorch/pytorch/issues/38718
mmdet3d/models/backbones/eva02/wrappers.py:129
Functionnormalize_angle
(x)
tools/vis_utils.py:431
Functionnormalize_angle_degree
(x)
tools/vis_utils.py:383
Methodnum_anchors
Returns: list[int]: Each int is the number of anchors at every pixel location, on that feature map.
detr2/detectron2/modeling/anchor_generator.py:148
Methodnum_anchors
Returns: list[int]: Each int is the number of anchors at every pixel location, on that feature map.
detr2/detectron2/modeling/anchor_generator.py:300
Methodnum_base_anchors
list[int]: Total number of base anchors in a feature grid.
mmdet3d/core/anchor/anchor_3d_generator.py:78
Methodnum_cell_anchors
Alias of `num_anchors`.
detr2/detectron2/modeling/anchor_generator.py:140
Methodnum_cell_anchors
Alias of `num_anchors`.
detr2/detectron2/modeling/anchor_generator.py:293
Methodnum_levels
int: Number of feature levels that the generator is applied to.
mmdet3d/core/anchor/anchor_3d_generator.py:85
Functionnuscenes_data_prep
Prepare data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth databas
tools/create_data_nuscenes_RC_gt_database.py:91
Methodoffline_2d_transform
(self, img, bboxes, resize, crop, flip=False)
mmdet3d/datasets/pipelines/av2_pipeline.py:224
Functiononnx_compatibale_interpolate
( input, size=None, scale_factor=None, mode="nearest", align_corners=None )
detr2/detectron2/export/shared.py:82
Methodonnx_export
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmdet3d/models/dense_heads/base_dense_head.py:363
Methodonnx_export
(self, img, img_metas)
mmdet3d/models/dense_heads/base_mask_head.py:114
Methodonnx_export
Transform network outputs into bbox predictions, with ONNX exportation. Args: all_cls_scores_list (list[Tensor]): Classif
mmdet3d/models/dense_heads/detr_head_codetr.py:775
Methodonnx_export
Get segmentation masks from mask_pred and bboxes. Args: mask_pred (Tensor): shape (n, #class, h, w). det_bboxes (Tens
mmdet3d/models/roi_heads/mask_heads/fcn_mask_head.py:312
Methodonnx_export
Test function without test time augmentation. Args: img (torch.Tensor): input images. img_metas (list[dict]): List of
mmdet3d/models/codetr/co_detr.py:548
Methodoperator*
detr2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:41
Methodoperator+
detr2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:30
Methodoperator-
detr2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:38
Functionoptimizer_wgc_step
(self, closure=None)
detr2/detectron2/solver/build.py:58
Methodoutput_shape
(self)
mmdet3d/models/backbones/cb_vovnet.py:806
Methodoutput_shape
(self)
mmdet3d/models/backbones/vovnet.py:717
Methodoutput_shape
(self)
mmdet3d/models/backbones/swin_transformer.py:760
Methodoutput_shape
(self)
detr2/detectron2/modeling/mmdet_wrapper.py:116
Methodoutput_shape
Returns: dict[str->ShapeSpec]
detr2/detectron2/modeling/backbone/backbone.py:42
Methodoutput_shape
(self)
detr2/detectron2/modeling/backbone/resnet.py:460
Methodoutput_shape
(self)
detr2/detectron2/modeling/backbone/regnet.py:324
Methodoutput_shape
Returns: ShapeSpec: the output feature shape
detr2/detectron2/modeling/roi_heads/box_head.py:101
Methodoutput_shape
(self)
detr2/projects/DDETRS/ddetrs/backbone/swin.py:759
Functionoutput_to_nusc_box
Convert the output to the box class in the nuScenes. Args: detection (dict): Detection results. - boxes_3d (:obj:`BaseInstan
mmdet3d/datasets/B2D_vad_dataset.py:1043
Functionoutput_to_nusc_box
Convert the output to the box class in the nuScenes. Args: detection (dict): Detection results. - boxes_3d (:obj:`BaseInstan
mmdet3d/datasets/nuscenes_dataset.py:886
Functionpack
(x)
mmdet3d/models/sparsebev/checkpoint.py:381
Functionpad_masks
Args: masks (tensor): A tensor of shape (B, M, M) representing B masks. padding (int): Number of cells to pad on all sides.
detr2/detectron2/layers/mask_ops.py:219
Methodpadding_constraints
(self)
mmdet3d/models/backbones/cb_vovnet.py:714
Methodpadding_constraints
(self)
mmdet3d/models/backbones/vit.py:704
Methodpadding_constraints
(self)
mmdet3d/models/backbones/vovnet.py:632
Methodpadding_constraints
(self)
mmdet3d/models/backbones/eva02/vit.py:556
Methodpadding_constraints
This property is a generalization of size_divisibility. Some backbones and training recipes require specific padding constraints, suc
mmdet3d/models/backbones/eva02/backbone.py:64
Functionpairwise_ioa
Similar to :func:`pariwise_iou` but compute the IoA (intersection over boxes2 area). Args: boxes1,boxes2 (Boxes): two `Boxes`. Conta
detr2/detectron2/structures/boxes.py:359
Functionpairwise_iou
Given two lists of rotated boxes of size N and M, compute the IoU (intersection over union) between **all** N x M pairs of boxes. The
detr2/detectron2/structures/rotated_boxes.py:488
Methodparallelize
(self, device_map=None)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1486
Methodparallelize
(self, device_map=None)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1692
Methodparallelize
(self, device_map=None)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:2086
Methodparse_one_object
Parse one instance in kitti format and convert them to `Object` proto. Args: instance_idx (int): Index of the
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:110
Functionpaste_mask_in_image_old
Paste a single mask in an image. This is a per-box implementation of :func:`paste_masks_in_image`. This function has larger quantization
detr2/detectron2/layers/mask_ops.py:155
Methodpetrel_load_image
(name, color_type)
mmdet3d/datasets/pipelines/loading_hop.py:85
← previousnext →6,401–6,500 of 6,925, ranked by callers