MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 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/evaluation/detection/nuscenes_styled_eval_utils.py:8
↓ 1 callersFunctioncenter_in_image
Check if a box is visible inside an image without accounting for occlusions. :param box: The box to be checked. :param intrinsic: <float:
mmdet3d/datasets/vad_custom_nuscenes_eval.py:188
↓ 1 callersFunctioncenter_in_image
Check if a box is visible inside an image without accounting for occlusions. :param box: The box to be checked. :param intrinsic: <float:
mmdet3d/datasets/nuscnes_eval.py:187
↓ 1 callersFunctioncenter_to_minmax_2d
Center to minmax. Args: centers (np.ndarray): Center points. dims (np.ndarray): Dimensions. origin (list or array or floa
mmdet3d/core/bbox/box_np_ops.py:444
↓ 1 callersMethodcenterness_target
(self, anchors, gts)
mmdet3d/models/codetr/co_atss_head.py:299
↓ 1 callersFunctionchamfer_distance_batch
Calculate chamfer distance between two group of lines. Make sure the lines are interpolated. Args: pred_lines (array or tensor): sh
mmdet3d/datasets/evaluation/map/distance.py:37
↓ 1 callersMethodchat
( self, tokenizer, query: str, history: List[Tuple[str, str]]
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:1172
↓ 1 callersFunctioncheck_backward_validity
(inputs: Iterable[Any])
mmdet3d/models/sparsebev/checkpoint.py:31
↓ 1 callersFunctioncheck_collision
ego_box: tensor with shape [7], [x, y, z, w, l, h, yaw] boxes: tensor with shape [N, 7]
mmdet3d/datasets/evaluation/planning/planning_eval.py:13
↓ 1 callersMethodcheck_dist
Whether the mean of points to plane distance is lower than thresh. Args: plane_equ (torch.Tensor): Plane to be checked.
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:643
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_double
()
mmdet3d/ops/deformattn/test.py:32
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_double
()
mmdet3d/models/model_utils/ops/test.py:32
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_double
()
detr2/projects/DDETRS/ddetrs/models/deformable_detr/ops/test.py:32
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_float
()
mmdet3d/ops/deformattn/test.py:48
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_float
()
mmdet3d/models/model_utils/ops/test.py:48
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_float
()
detr2/projects/DDETRS/ddetrs/models/deformable_detr/ops/test.py:48
↓ 1 callersFunctioncheck_gradient_numerical
(channels=4, grad_value=True, grad_sampling_loc=True, grad_attn_weight=True)
mmdet3d/ops/deformattn/test.py:63
↓ 1 callersFunctioncheck_gradient_numerical
(channels=4, grad_value=True, grad_sampling_loc=True, grad_attn_weight=True)
mmdet3d/models/model_utils/ops/test.py:63
↓ 1 callersFunctioncheck_gradient_numerical
(channels=4, grad_value=True, grad_sampling_loc=True, grad_attn_weight=True)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/ops/test.py:63
↓ 1 callersMethodcheck_horizon
Check whether is a horizontal plane. Args: points (torch.Tensor): Points of input. Returns: Bool: Flag of re
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:630
↓ 1 callersFunctioncheck_pt_in_box3d_cpu
mmdet3d/ops/roiaware_pool3d/src/points_in_boxes_cpu.cpp:25
↓ 1 callersMethodchoose_cams
(self)
mmdet3d/datasets/pipelines/loading.py:1584
↓ 1 callersMethodchoose_cams
(self)
mmdet3d/datasets/pipelines/loading.py:3147
↓ 1 callersFunctionciou_loss
Complete Intersection over Union Loss (Zhaohui Zheng et. al) https://arxiv.org/abs/1911.08287 Args: boxes1, boxes2 (Tensor): box
detr2/detectron2/layers/losses.py:66
↓ 1 callersMethodclass_agnostic_nms
Class agnostic nms for single batch. Args: mlvl_bboxes (torch.Tensor): Bboxes from Multi-level. mlvl_bboxes_for_nms (
mmdet3d/models/dense_heads/parta2_rpn_head.py:222
↓ 1 callersMethodclass_agnostic_nms
Class agnostic nms. Args: obj_scores (torch.Tensor): Objectness score of bounding boxes. sem_scores (torch.Tensor): S
mmdet3d/models/dense_heads/point_rpn_head.py:284
↓ 1 callersFunctionclass_tp_curve
Plot the true positive curve for the specified class. :param md_list: DetectionMetricDataList instance. :param metrics: DetectionMetrics
mmdet3d/datasets/vad_custom_nuscenes_eval.py:75
↓ 1 callersFunctionclean_data
(gt_anno, dt_anno, current_class, difficulty)
mmdet3d/core/evaluation/kitti_utils/eval.py:30
↓ 1 callersFunctioncollect_results_cpu
(result_part, size, tmpdir=None)
mmdet3d/apis/test.py:170
↓ 1 callersFunctioncollect_results_gpu
(result_part, size)
mmdet3d/apis/test.py:215
↓ 1 callersFunctioncollect_torch_env
()
detr2/detectron2/utils/collect_env.py:17
↓ 1 callersFunctioncolor_map
数值映射为颜色
mmdet3d/core/bbox/structures/nuscenes_box.py:18
↓ 1 callersMethodcombine
Combine predictions in waymo format for each sample together. Args: pathnames (str): Paths to save predictions. Returns:
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:245
↓ 1 callersMethodcombine_depths
Combine all the prediced depths with depth uncertainty. Args: depth (torch.Tensor): Predicted depths of each object.
mmdet3d/core/bbox/coders/monoflex_bbox_coder.py:495
↓ 1 callersFunctioncombine_semantic_and_instance_outputs
Implement a simple combining logic following "combine_semantic_and_instance_predictions.py" in panopticapi to produce panoptic segmentati
detr2/detectron2/modeling/meta_arch/panoptic_fpn.py:181
↓ 1 callersMethodcommand2hot
(self,command,max_dim=6)
mmdet3d/datasets/B2D_vad_dataset.py:504
↓ 1 callersMethodcommand2hot
(self,command,max_dim=6)
mmdet3d/datasets/B2D_occ_dataset.py:1609
↓ 1 callersFunctioncompat_imgs_per_gpu
(cfg)
mmdet3d/utils/compat_cfg.py:37
↓ 1 callersFunctioncompat_loader_args
Deprecated sample_per_gpu in cfg.data.
mmdet3d/utils/compat_cfg.py:54
↓ 1 callersFunctioncompat_runner_args
(cfg)
mmdet3d/utils/compat_cfg.py:22
↓ 1 callersMethodcompute
(self)
mmdet3d/datasets/evaluation/planning/planning_eval.py:126
↓ 1 callersMethodcompute_L2
trajs: torch.Tensor (B, n_future, 3) gt_trajs: torch.Tensor (B, n_future, 3)
mmdet3d/datasets/evaluation/planning/planning_eval.py:107
↓ 1 callersMethodcompute_L2_ade
trajs: torch.Tensor (n_future, 2) gt_trajs: torch.Tensor (n_future, 2)
mmdet3d/datasets/metric_planning_stp3.py:282
↓ 1 callersMethodcompute_L2_fde
trajs: torch.Tensor (n_future, 2) gt_trajs: torch.Tensor (n_future, 2)
mmdet3d/datasets/metric_planning_stp3.py:302
↓ 1 callersFunctioncompute_affinity_matrix
(dts: NDArrayFloat, gts: NDArrayFloat, metric: AffinityType)
mmdet3d/datasets/av2_utils.py:175
↓ 1 callersFunctioncompute_alpha_weights
:param density: # b c d h w :param sdist: :param dirs: :param s_to_t: :return:
mmdet3d/utils/render_utils.py:102
↓ 1 callersFunctioncompute_average_precision
Compute precision and recall, interpolated over N fixed recall points. Args: tps: True positive detections (ranked by confidence).
mmdet3d/datasets/summarize_metrics_av2.py:132
↓ 1 callersFunctioncompute_averages
Averages AP scores for all categories. Args: aps (np.array): AP scores for all thresholds and categories. options (dict): ScanNet
mmdet3d/core/evaluation/scannet_utils/evaluate_semantic_instance.py:189
↓ 1 callersFunctioncompute_bbox_iou
(boxes1: torch.Tensor, boxes2: torch.Tensor)
detr2/detectron2/evaluation/refcocoeval.py:15
↓ 1 callersMethodcompute_bias
Compute binned relative position bias
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:451
↓ 1 callersFunctioncompute_box_iou
Compute pairwise iou between inputs, targets Both have the shape of [N, 4] and xyxy format
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:833
↓ 1 callersMethodcompute_cost
(self, batch_idx, out_bbox, out_prob, targets, nf)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/matcher.py:73
↓ 1 callersMethodcompute_cost
(self, batch_idx, out_bbox, out_prob, targets, nf)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/matcher.py:319
↓ 1 callersMethodcompute_ctrness_targets
( self, anchors: List[Boxes], gt_boxes: List[torch.Tensor] )
detr2/detectron2/modeling/meta_arch/fcos.py:241
↓ 1 callersFunctioncompute_evaluated_dts_mask
( xyz_m_ego: NDArrayFloat, cfg: DetectionCfg, )
mmdet3d/datasets/av2_utils.py:185
↓ 1 callersFunctioncompute_evaluated_gts_mask
( xyz_m_ego: NDArrayFloat, num_interior_pts: NDArrayInt, cfg: DetectionCfg, )
mmdet3d/datasets/av2_utils.py:205
↓ 1 callersFunctioncompute_fg_mask
Compute foreground mask for images Args: gt_boxes2d [torch.Tensor(B, N, 4)]: 2D box labels shape [torch.Size or tuple]: Foreg
mmdet3d/models/depth_predictor/ddn_loss/balancer.py:55
↓ 1 callersMethodcompute_iou_dt_gt
(self, dt, gt, is_crowd)
detr2/detectron2/evaluation/rotated_coco_evaluation.py:57
↓ 1 callersFunctioncompute_locations
(h, w, device, stride=1)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:966
↓ 1 callersMethodcompute_loss
(self, results)
mmdet3d/models/nerf/nerf_head.py:259
↓ 1 callersMethodcompute_mIoU
(self, pred, label, n_classes)
mmdet3d/datasets/occ_metrics.py:106
↓ 1 callersFunctioncompute_mask_iou
(outputs: torch.Tensor, labels: torch.Tensor, EPS=1e-6)
detr2/detectron2/evaluation/refcocoeval.py:31
↓ 1 callersFunctioncompute_pairwise_term
(mask_logits, pairwise_size, pairwise_dilation)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:804
↓ 1 callersMethodcompute_primitive_loss
Compute loss of primitive module. Args: primitive_center (torch.Tensor): Pridictions of primitive center. primitive_s
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:734
↓ 1 callersFunctioncompute_project_term
(mask_scores, gt_bitmasks)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:792
↓ 1 callersMethodconcat_data_infos
Concat data_infos from several datasets to form self.data_infos. Args: data_infos (list[list[dict]])
mmdet3d/datasets/s3dis_dataset.py:396
↓ 1 callersMethodconcat_scene_idxs
Concat scene_idxs from several datasets to form self.scene_idxs. Needs to manually add offset to scene_idxs[1, 2, ...]. Args:
mmdet3d/datasets/s3dis_dataset.py:406
↓ 1 callersFunctionconditions_match
(weather, conditions)
tools/vis_utils.py:639
↓ 1 callersFunctionconstruct_init_net_from_params
Construct the init_net from params dictionary
detr2/detectron2/export/shared.py:290
↓ 1 callersFunctionconstruct_ray_warps
Construct a bijection between metric distances and normalized distances. See the text around Equation 11 in https://arxiv.org/abs/2111.12077 f
mmdet3d/utils/render_utils.py:45
↓ 1 callersFunctioncontain_targets
(op_ssa)
detr2/detectron2/export/shared.py:701
↓ 1 callersFunctionconv_with_kaiming_uniform
( norm=None, activation=None, use_deformable=False, use_sep=False)
detr2/projects/DDETRS/ddetrs/models/conv_with_kaiming_uniform.py:8
↓ 1 callersFunctionconvert
Convert keys in pycls pretrained RegNet models to mmdet style.
tools/model_converters/regnet2mmdet.py:55
↓ 1 callersMethodconvert
Convert boxes or points from `src` mode to `dst` mode. Args: input (tuple | list | np.ndarray | torch.Tensor | :o
mmdet3d/core/bbox/structures/coord_3d_mode.py:65
↓ 1 callersMethodconvert
Convert action.
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:211
↓ 1 callersFunctionconvert_SyncBN
Convert config's naiveSyncBN to BN. Args: config (str or :obj:`mmcv.Config`): Config file path or the config object.
mmdet3d/apis/inference.py:22
↓ 1 callersFunctionconvert_basic_c2_names
Apply some basic name conversion to names in C2 weights. It only deals with typical backbone models. Args: original_keys (list[s
detr2/detectron2/checkpoint/c2_model_loading.py:10
↓ 1 callersFunctionconvert_boxes_to_pooler_format
Convert all boxes in `box_lists` to the low-level format used by ROI pooling ops (see description under Returns). Args: box_list
detr2/detectron2/modeling/poolers.py:61
↓ 1 callersFunctionconvert_c2_detectron_names
Map Caffe2 Detectron weight names to Detectron2 names. Args: weights (dict): name -> tensor Returns: dict: detectron2 n
detr2/detectron2/checkpoint/c2_model_loading.py:66
↓ 1 callersMethodconvert_classname_to_id
(self, results)
detr2/projects/DDETRS/ddetrs/evaluation/eval.py:75
↓ 1 callersFunctionconvert_color
(img_path)
mmdet3d/models/utils/visual.py:8
↓ 1 callersMethodconvert_frozen_batchnorm
Convert all BatchNorm/SyncBatchNorm in module into FrozenBatchNorm. Args: module (torch.nn.Module): Returns:
detr2/detectron2/layers/batch_norm.py:88
↓ 1 callersFunctionconvert_head
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:16
↓ 1 callersFunctionconvert_info_to_coco
(data_infos, name2nori, images, annotations)
tools/data_converter/info2coco.py:90
↓ 1 callersFunctionconvert_oriented_box_to_trimesh_fmt
(box)
mmdet3d/core/visualizer/show_result.py:92
↓ 1 callersFunctionconvert_reslayer
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:23
↓ 1 callersFunctionconvert_stem
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:8
↓ 1 callersFunctionconvert_to_nusc_box
(bboxes, scores=None, labels=None, names=None, score_threshold=0.3, lift_center=False)
tools/viz_bbox_predictions.py:38
↓ 1 callersMethodconvert_valid_bboxes
Convert the predicted boxes into valid ones. Args: box_dict (dict): Box dictionaries to be converted. - boxes_3d
mmdet3d/datasets/kitti_dataset.py:656
↓ 1 callersMethodconvert_valid_bboxes
Convert the predicted boxes into valid ones. Args: box_dict (dict): Box dictionaries to be converted. - boxes_3d
mmdet3d/datasets/kitti_mono_dataset.py:497
↓ 1 callersMethodconvert_valid_bboxes
Convert the boxes into valid format. Args: box_dict (dict): Bounding boxes to be converted. - boxes_3d (:obj:``L
mmdet3d/datasets/waymo_dataset.py:475
↓ 1 callersFunctionconvex_iou
each line with 1 meter width pred_lines: num_preds, List [npts, 2] gt_lines: num_gts, npts, 2 gt_mask: num_gts, npts,
mmdet3d/datasets/map_utils/tpfp_chamfer.py:52
↓ 1 callersFunctioncoord_2d_transform
Transform 2d pixel coordinates according to img_meta. Args: img_meta(dict): Meta info regarding data transformation. coord_2d (to
mmdet3d/models/fusion_layers/coord_transform.py:177
↓ 1 callersMethodcoord_preparing
(self, img_metas)
mmdet3d/models/utils/uni3d_voxelpooldepth.py:407
↓ 1 callersFunctioncorner_to_surfaces_3d
convert 3d box corners from corner function above to surfaces that normal vectors all direct to internal. Args: corners (np.ndarray):
mmdet3d/core/bbox/box_np_ops.py:331
↓ 1 callersFunctioncorner_to_surfaces_3d_jit
Convert 3d box corners from corner function above to surfaces that normal vectors all direct to internal. Args: corners (np.ndarray):
mmdet3d/core/bbox/box_np_ops.py:256
↓ 1 callersFunctioncorrect_unfold_norm_order
(x)
mmdet3d/models/backbones/swin.py:35
↓ 1 callersFunctioncorrect_unfold_reduction_order
(x)
mmdet3d/models/backbones/swin.py:28
↓ 1 callersMethodcount_fscore
(self,)
mmdet3d/datasets/occ_metrics.py:232
↓ 1 callersFunctioncreate_av2_infos
(dataset_dir, split, out_dir)
tools/create_av2_infos.py:38
← previousnext →1,801–1,900 of 6,925, ranked by callers