MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 2 callersFunctionget_split_parts
(num, num_part)
mmdet3d/core/evaluation/kitti_utils/eval.py:284
↓ 2 callersFunctionget_split_parts
(num, num_part)
mmdet3d/core/evaluation/vod_utils/kitti_official_evaluate.py:333
↓ 2 callersFunctionget_sub_graph_external_input_output
Return the list of external input/output of sub-graph, each element is tuple of the name and corresponding version in predict_net. exter
detr2/detectron2/export/shared.py:750
↓ 2 callersMethodget_target_masks
(self, targets, src_masks)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:751
↓ 2 callersMethodget_targets
Generate training targets. Args: gt_bboxes_3d (:obj:`LiDARInstance3DBoxes`): Ground truth gt boxes. gt_labels_3d (tor
mmdet3d/models/dense_heads/deepinteraction_decoder.py:315
↓ 2 callersMethodget_targets
Generate training targets. Args: gt_bboxes_3d (:obj:`LiDARInstance3DBoxes`): Ground truth gt boxes. gt_labels_3d (tor
mmdet3d/models/dense_heads/focal_decoder.py:995
↓ 2 callersMethodget_targets
Generate training targets. Args: gt_bboxes_3d (:obj:`LiDARInstance3DBoxes`): Ground truth gt boxes. gt_labels_3d (tor
mmdet3d/models/dense_heads/transfusion_head.py:1067
↓ 2 callersMethodget_task_detections
Rotate nms for each task. Args: batch_cls_preds (list[torch.Tensor]): Prediction score with the shape of [N].
mmdet3d/models/dense_heads/centerpoint_head.py:957
↓ 2 callersFunctionget_timestamp_path
(idx, prefix, training=True, relative_pat
tools/data_converter/kitti_data_utils.py:106
↓ 2 callersFunctionget_torchvision_models
()
mmdet3d/models/codetr/checkpoint.py:170
↓ 2 callersFunctionimage_Tensor2ndarray
将tensor转化为cv2格式
mmdet3d/models/backbones/sam.py:466
↓ 2 callersFunctionimage_box_overlap
(boxes, query_boxes, criterion=-1)
mmdet3d/core/evaluation/kitti_utils/eval.py:86
↓ 2 callersFunctionimage_box_overlap
(boxes, query_boxes, criterion=-1)
mmdet3d/core/evaluation/vod_utils/kitti_official_evaluate.py:119
↓ 2 callersMethodimg_transform
https://github.com/Megvii-BaseDetection/BEVStereo/blob/master/dataset/nusc_mv_det_dataset.py#L48
mmdet3d/datasets/pipelines/transforms_3d.py:2386
↓ 2 callersMethodimg_transform_core
(self, img, resize_dims, crop, flip, rotate)
mmdet3d/datasets/pipelines/loading.py:1575
↓ 2 callersMethodimg_transform_core
(self, img, resize_dims, crop, flip, rotate)
mmdet3d/datasets/pipelines/loading.py:3138
↓ 2 callersMethodimg_transform_core
(self, img, resize_dims, crop, flip, rotate)
mmdet3d/datasets/pipelines/loading_changan.py:682
↓ 2 callersMethodimg_transform_core
(self, img, resize_dims, crop, flip, rotate)
mmdet3d/datasets/pipelines/loading_hop.py:883
↓ 2 callersFunctionindoor_eval
Indoor Evaluation. Evaluate the result of the detection. Args: gt_annos (list[dict]): Ground truth annotations. dt_annos (li
mmdet3d/core/evaluation/indoor_eval.py:203
↓ 2 callersMethodinference
Inference with slide/whole style. Args: points (torch.Tensor): Input points of shape [B, N, 3+C]. img_metas (list[dic
mmdet3d/models/segmentors/encoder_decoder.py:372
↓ 2 callersMethodinference
Args: predictions: return values of :meth:`forward()`. proposals (list[Instances]): proposals that match the features
detr2/detectron2/modeling/roi_heads/fast_rcnn.py:361
↓ 2 callersMethodinference
(self, box_cls, logprobs, box_pred, pred_object_descriptions, mask_pred, image_sizes, score_thres=0.0, iou_pre
detr2/projects/DDETRS/ddetrs/ddetrs_vl_uni.py:264
↓ 2 callersMethodinit_weight
Default initialization for Parameters of Module.
mmdet3d/models/model_utils/spatial_cross_attention.py:71
↓ 2 callersMethodinit_weights
(self)
mmdet3d/models/backbones/swin.py:297
↓ 2 callersMethodinstance_masks
(self)
detr2/detectron2/utils/visualizer.py:227
↓ 2 callersFunctioninstances_to_coco_json
Dump an "Instances" object to a COCO-format json that's used for evaluation. Args: instances (Instances): img_id (int): the
detr2/detectron2/evaluation/coco_evaluation.py:454
↓ 2 callersFunctioninstances_to_coco_json
Add object_descriptions and logit (if applicable) to detectron2's instances_to_coco_json
detr2/projects/DDETRS/ddetrs/evaluation/eval.py:424
↓ 2 callersFunctioninstantiate
Recursively instantiate objects defined in dictionaries by "_target_" and arguments. Args: cfg: a dict-like object with "_target
detr2/detectron2/config/instantiate.py:36
↓ 2 callersMethodinterp_fixed_num
Interpolate a polyline. Args: vector (array): line coordinates, shape (M, 2) num_pts (int):
mmdet3d/datasets/evaluation/map/vector_eval.py:55
↓ 2 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
mmdet3d/models/model_utils/decoder.py:34
↓ 2 callersMethodinvert_pose
(self, pose)
mmdet3d/datasets/B2D_vad_dataset.py:172
↓ 2 callersMethodinvert_pose
(self, pose)
mmdet3d/datasets/B2D_occ_dataset.py:1617
↓ 2 callersFunctionis_main_process
()
detr2/detectron2/utils/comm.py:63
↓ 2 callersFunctionis_main_process
()
detr2/projects/DDETRS/ddetrs/util/misc.py:394
↓ 2 callersMethodis_rotated
(box_list)
detr2/detectron2/evaluation/rotated_coco_evaluation.py:17
↓ 2 callersFunctionlaunch
Launch multi-gpu or distributed training. This function must be called on all machines involved in the training. It will spawn child proc
detr2/detectron2/engine/launch.py:27
↓ 2 callersMethodload_adj_occ_gt_path
(self, index=-1, aux_frames=[-3, -2, -1])
mmdet3d/datasets/nuscenes_dataset_occ.py:494
↓ 2 callersMethodload_annotations
Load annotations from ann_file. Args: ann_file (str): Path of the annotation file. Returns: list[dict]: List
mmdet3d/datasets/custom_3d.py:108
↓ 2 callersMethodload_annotations
Load annotations from ann_file. Args: ann_file (str): Path of the annotation file. Returns: list[dict]: List
mmdet3d/datasets/custom_3d_seg.py:100
↓ 2 callersMethodload_annotations
Load annotation from COCO style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdet3d/datasets/coco_2d_dataset.py:121
↓ 2 callersMethodload_annotations
Load annotations from ann_file. Args: ann_file (str): Path of the annotation file. Returns: list[dict]: List
mmdet3d/datasets/custom_3d_ra.py:105
↓ 2 callersFunctionload_depth
(img_file_path, gt_path)
mmdet3d/datasets/nuscenes_dataset_occ.py:33
↓ 2 callersFunctionload_depth
(img_file_path, gt_path)
mmdet3d/datasets/renderocc_dataset.py:25
↓ 2 callersMethodload_image
Adapt for petrel. Origin Implementation: img = Image.open(filename) copy from LoadMultiViewImageFromFiles Image.open() default is RGB
mmdet3d/datasets/pipelines/loading_hop.py:1132
↓ 2 callersFunctionload_prediction
Loads object predictions from file. :param result_path: Path to the .json result file provided by the user. :param max_boxes_per_sample:
mmdet3d/datasets/vad_custom_nuscenes_eval.py:244
↓ 2 callersMethodloss_3d
(self,voxel_semantics,mask_camera,density_prob, semantic)
mmdet3d/models/detectors/render_occ.py:82
↓ 2 callersMethodloss_single
(self, voxel_semantics, mask_camera, preds)
mmdet3d/models/detectors/bevdet_rc_occ.py:1165
↓ 2 callersFunctionlyft_data_prep
Prepare data related to Lyft dataset. Related data consists of '.pkl' files recording basic infos. Although the ground truth database and 2D
tools/create_data.py:96
↓ 2 callersFunctionmake_continuous_inds
(inds)
mmdet3d/ops/sst/sst_ops.py:250
↓ 2 callersMethodmap_geom_to_mask
Return list of map mask layers of the specified patch. :param map_geom: List of layer names and their corresponding geometries.
tools/data_converter/map_api.py:840
↓ 2 callersMethodmap_voxel_center_to_point
Map voxel features to its corresponding points. Args: pts_coors (torch.Tensor): Voxel coordinate of each point. voxel
mmdet3d/models/voxel_encoders/voxel_encoder.py:179
↓ 2 callersMethodmap_voxel_center_to_point
Map the centers of voxels to its corresponding points. Args: pts_coors (torch.Tensor): The coordinates of each points, shape
mmdet3d/models/voxel_encoders/pillar_encoder.py:236
↓ 2 callersFunctionmask_rcnn_inference
Convert pred_mask_logits to estimated foreground probability masks while also extracting only the masks for the predicted classes in pred_ins
detr2/detectron2/modeling/roi_heads/mask_head.py:114
↓ 2 callersMethodmask_to_polygons
(self, mask)
detr2/detectron2/utils/visualizer.py:126
↓ 2 callersFunctionmaybe_to_cpu
(x)
detr2/detectron2/utils/memory.py:57
↓ 2 callersMethodmedian
(self)
detr2/projects/DDETRS/ddetrs/util/misc.py:63
↓ 2 callersMethodmotion_loss
Compute the loss between predicted and ground truth trajectories. Args: traj_output (Tensor): Predicted trajectory, shap
mmdet3d/models/detectors/henetpp_planner.py:734
↓ 2 callersMethodmotion_loss
Compute the loss between predicted and ground truth trajectories. Args: traj_output (Tensor): Predicted trajectory, shap
mmdet3d/models/detectors/henetpp_planner.py:1497
↓ 2 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
mmdet3d/ops/deformattn/functions/ms_deform_attn_func.py:41
↓ 2 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
mmdet3d/models/model_utils/ops/functions/ms_deform_attn_func.py:41
↓ 2 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/ops/functions/ms_deform_attn_func.py:43
↓ 2 callersFunctionmulti_head_attention_forward
r""" Args: query, key, value: map a query and a set of key-value pairs to an output. See "Attention Is All You Need" for more
mmdet3d/models/dense_heads/transfusion_head.py:255
↓ 2 callersFunctionmulti_head_attention_forward
r""" Args: query, key, value: map a query and a set of key-value pairs to an output. See "Attention Is All You Need" for more
mmdet3d/models/utils/decoder_utils.py:245
↓ 2 callersFunctionnerf_positional_encoding
r"""Apply positional encoding to the input. Args: tensor (torch.Tensor): Input tensor to be positionally encoded. encoding_size (o
mmdet3d/models/utils/positional_encoding.py:38
↓ 2 callersFunctionnms_bev
NMS function GPU implementation (for BEV boxes). The overlap of two boxes for IoU calculation is defined as the exact overlapping area of the
mmdet3d/core/post_processing/box3d_nms.py:286
↓ 2 callersFunctionnms_rotated
Performs non-maximum suppression (NMS) on the rotated boxes according to their intersection-over-union (IoU). Rotated NMS iteratively re
detr2/detectron2/layers/nms.py:25
↓ 2 callersMethodno_predictions
Returns a md instance corresponding to having no predictions.
mmdet3d/datasets/nuscenes_styled_eval_utils.py:230
↓ 2 callersMethodno_predictions
Returns a md instance corresponding to having no predictions.
mmdet3d/datasets/evaluation/motion/motion_utils.py:608
↓ 2 callersMethodno_predictions
Returns a md instance corresponding to having no predictions.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:230
↓ 2 callersMethodnon_empty_mask
Returns: (H, W) array, a mask for all pixels that have a prediction
detr2/detectron2/utils/visualizer.py:203
↓ 2 callersFunctionnuscenes_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.py:91
↓ 2 callersFunctionnuscenes_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_C.py:87
↓ 2 callersMethodobtain_history_bev
Obtain history BEV features iteratively. To save GPU memory, gradients are not calculated.
mmdet3d/models/bevformer/bevformerV2.py:165
↓ 2 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_converter_seg.py:310
↓ 2 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_converter_C.py:287
↓ 2 callersFunctionone_hot
r"""Convert an integer label x-D tensor to a one-hot (x+1)-D tensor. Args: labels: tensor with labels of shape :math:`(N, *)`, where N is
mmdet3d/models/depth_predictor/ddn_loss/focalloss.py:12
↓ 2 callersMethodonnx_export
Test without augmentation.
mmdet3d/models/codetr/co_roi_head.py:319
↓ 2 callersFunctionoval_nms
Circular NMS. An object is only counted as positive if no other center with a higher confidence exists within a radius r using a bird-eye
mmdet3d/core/post_processing/box3d_nms.py:182
↓ 2 callersMethodoverlaps
Calculate 3D overlaps of two boxes. Note: This function calculates the overlaps between ``boxes1`` and ``boxes2``, ``
mmdet3d/core/bbox/structures/base_box3d.py:436
↓ 2 callersFunctionpairwise_intersection
Given two lists of boxes of size N and M, compute the intersection area between __all__ N x M pairs of boxes. The box order must be (xmin
detr2/detectron2/structures/boxes.py:310
↓ 2 callersFunctionparse_require_file
(fpath)
setup.py:117
↓ 2 callersFunctionpatch
recursively (post-order) update all modules with the target type and its subclasses, make a initialization/composition/inheritance/... via th
detr2/detectron2/export/caffe2_patch.py:57
↓ 2 callersMethodper_class_iu
(self, hist)
mmdet3d/datasets/occ_metrics.py:102
↓ 2 callersFunctionpoint_in_canvas_hw
Return true if point is in canvas
tools/vis_utils.py:349
↓ 2 callersFunctionpoint_in_quadrilateral
(pt_x, pt_y, corners)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:158
↓ 2 callersFunctionpoint_in_quadrilateral
(pt_x, pt_y, corners)
mmdet3d/core/evaluation/vod_utils/rotate_iou_cpu.py:163
↓ 2 callersFunctionpoint_is_occluded
Checks whether or not the four pixels directly around the given point has less depth than the given vertex depth If True, this means that the
tools/vis_utils.py:220
↓ 2 callersFunctionpoint_sample
Obtain image features using points. Args: img_meta (dict): Meta info. img_features (torch.Tensor): 1 x C x H x W image features.
mmdet3d/models/fusion_layers/point_fusion.py:14
↓ 2 callersFunctionpoints_in_convex_polygon_3d_jit
Check points is in 3d convex polygons. Args: points (np.ndarray): Input points with shape of (num_points, 3). polygon_surfaces (n
mmdet3d/core/bbox/box_np_ops.py:679
↓ 2 callersFunctionpolygons_to_bitmask
Args: polygons (list[ndarray]): each array has shape (Nx2,) height, width (int) Returns: ndarray: a bool mask of sha
detr2/detectron2/structures/masks.py:22
↓ 2 callersFunctionpos2posemb1d
(pos, num_pos_feats=256, temperature=10000)
mmdet3d/models/utils/positional_encoding.py:27
↓ 2 callersFunctionpost_process_coords
Get the intersection of the convex hull of the reprojected bbox corners and the image canvas, return None if no intersection. Args: c
tools/data_converter/nuscenes_converter.py:560
↓ 2 callersMethodprepare_bev_feat
(self, img, sensor2keyego, ego2global, intrin, post_rot, post_tran, bda, mlp_input, f
mmdet3d/models/detectors/bevmaepp.py:1021
↓ 2 callersMethodprepare_for_dn_input
(self, batch_size, init_query_bbox, label_enc, img_metas)
mmdet3d/models/sparsebev/sparsebev_head_rc.py:152
↓ 2 callersMethodprepare_inputs
(self, inputs)
mmdet3d/models/detectors/bevmaepp.py:207
↓ 2 callersMethodprepare_inputs
(self, inputs, stereo=False, flag=False, openad=False)
mmdet3d/models/detectors/bevdet.py:891
↓ 2 callersMethodprepare_location
(self, img_metas, **data)
mmdet3d/models/detectors/far3d.py:84
↓ 2 callersMethodproject
projects hidden states correctly to key/query states
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:524
↓ 2 callersMethodprune_heads
(self, heads)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:380
↓ 2 callersFunctionpts2ray
(coor, label_depth, label_seg, c2w, cam_intrinsic)
mmdet3d/datasets/ray.py:49
← previousnext →1,001–1,100 of 6,925, ranked by callers