MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 1 callersMethod_rot_bbox_points
Private function to rotate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Return
mmdet3d/datasets/pipelines/transforms_3d.py:915
↓ 1 callersMethod_rot_bbox_points
Private function to rotate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Return
mmdet3d/datasets/pipelines/transforms_3d.py:2061
↓ 1 callersMethod_rot_points
Private function to rotate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. rot
mmdet3d/datasets/pipelines/transforms_3d.py:648
↓ 1 callersFunction_rotation_matrix_3d_
Get the 3D rotation matrix. Args: rot_mat_T (np.ndarray): Transposed rotation matrix. angle (float): Rotation angle. axis
mmdet3d/datasets/pipelines/data_augment_utils.py:255
↓ 1 callersMethod_run_stage
Args: features (list[Tensor]): #lvl input features to ROIHeads proposals (list[Instances]): #image Instances, with th
detr2/detectron2/modeling/roi_heads/cascade_rcnn.py:258
↓ 1 callersMethod_sample
Sample specific number of ground truths and return indices. Args: num (int): Sampled number. Returns: list[i
mmdet3d/datasets/pipelines/dbsampler.py:43
↓ 1 callersMethod_sample_augmentation
(self)
mmdet3d/datasets/pipelines/transforms_3d.py:2687
↓ 1 callersMethod_sample_augmentation_f
(self, img)
mmdet3d/datasets/pipelines/av2_pipeline.py:328
↓ 1 callersMethod_sample_neg
Randomly sample some negative samples.
mmdet3d/core/bbox/samplers/iou_neg_piecewise_sampler.py:57
↓ 1 callersMethod_sample_pos
Randomly sample some positive samples.
mmdet3d/core/bbox/samplers/iou_neg_piecewise_sampler.py:47
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: module
mmdet3d/models/codetr/checkpoint.py:369
↓ 1 callersMethod_scale_bbox_points
Private function to scale bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Returns
mmdet3d/datasets/pipelines/transforms_3d.py:799
↓ 1 callersMethod_scale_bbox_points
Private function to scale bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Returns
mmdet3d/datasets/pipelines/transforms_3d.py:933
↓ 1 callersMethod_scale_bbox_points
Private function to scale bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Returns
mmdet3d/datasets/pipelines/transforms_3d.py:2082
↓ 1 callersMethod_segm2json
Convert instance segmentation results to COCO json style.
mmdet3d/datasets/coco_2d_dataset.py:315
↓ 1 callersMethod_semantic_forward_train
Train semantic head. Args: x (torch.Tensor): Point-wise semantic features for segmentation voxels_dict (dict): Contai
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:305
↓ 1 callersFunction_set
(key_seq: List[str], val: str)
detr2/detectron2/config/compat.py:120
↓ 1 callersMethod_set_aux_loss
(self, outputs_class, outputs_coord, outputs_mask)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:621
↓ 1 callersMethod_set_aux_loss_with_iou
(self, outputs_class, outputs_coord, outputs_mask, outputs_iou)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:628
↓ 1 callersMethod_set_group_flag
Set flag according to image aspect ratio. Images with aspect ratio greater than 1 will be set as group 1, otherwise group 0. In 3D da
mmdet3d/datasets/custom_3d_seg.py:458
↓ 1 callersMethod_set_group_flag
Set flag according to image aspect ratio. Images with aspect ratio greater than 1 will be set as group 1, otherwise group 0. In 3D da
mmdet3d/datasets/custom_3d_ra.py:453
↓ 1 callersMethod_set_sequence_group_flag
Set each sequence to be a different group
mmdet3d/datasets/argoverse2_dataset_t.py:40
↓ 1 callersMethod_set_sequence_group_flag
Set each sequence to be a different group
mmdet3d/datasets/B2D_occ_dataset.py:1243
↓ 1 callersMethod_setup_figure
Args: Same as in :meth:`__init__()`. Returns: fig (matplotlib.pyplot.figure): top level container for all th
detr2/detectron2/utils/visualizer.py:276
↓ 1 callersMethod_single_scene_multiclass_nms
Multi-class nms for a single scene. Args: bboxes (Tensor): Predicted boxes of shape (N_boxes, 6) or (N_boxes, 7).
mmdet3d/models/dense_heads/fcaf3d_head.py:620
↓ 1 callersMethod_sliding_patch_generation
Sampling points in a sliding window fashion. First sample patches to cover all the input points. Then sample points in each patch to
mmdet3d/models/segmentors/encoder_decoder.py:218
↓ 1 callersMethod_split
(values, sizes)
detr2/detectron2/export/flatten.py:54
↓ 1 callersFunction_submodule_name
(key)
detr2/detectron2/checkpoint/c2_model_loading.py:349
↓ 1 callersMethod_tasks_from_predictions
(self, predictions)
detr2/detectron2/evaluation/lvis_evaluation.py:128
↓ 1 callersMethod_trans_bbox_points
Private function to translate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Ret
mmdet3d/datasets/pipelines/transforms_3d.py:750
↓ 1 callersMethod_trans_points
Private function to translate points. Args: input_dict (dict): Result dict from loading pipeline. trans_factor (np.nd
mmdet3d/datasets/pipelines/transforms_3d.py:636
↓ 1 callersMethod_turn_off_roi_heads
Open a context where some heads in `model.roi_heads` are temporarily turned off. Args: attr (list[str]): the attribute in
detr2/detectron2/modeling/test_time_augmentation.py:137
↓ 1 callersMethod_unpad_input
(self, query_layer, key_layer, value_layer, attention_mask, query_length)
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:563
↓ 1 callersMethod_upad_input
(self, query_layer, key_layer, value_layer, attention_mask, query_length)
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:688
↓ 1 callersFunction_visit_dict_config
Apply func recursively to all DictConfig in cfg.
detr2/detectron2/config/lazy.py:60
↓ 1 callersFunction_wrapper_count_operators
( model: nn.Module, inputs: list, mode: str, **kwargs )
detr2/detectron2/utils/analysis.py:128
↓ 1 callersFunctionaccumulate
Average Precision over predefined different recall thresholds for a single distance threshold. The recall/conf thresholds and other raw metri
mmdet3d/datasets/evaluation/motion/motion_utils.py:314
↓ 1 callersFunctionaccuracy
Computes the precision@k for the specified values of k
detr2/projects/DDETRS/ddetrs/util/misc.py:445
↓ 1 callersMethodactivate_density
(self, density, interval=None)
mmdet3d/models/nerf/nerf_head.py:301
↓ 1 callersMethodadd
(self, scale)
mmdet3d/models/backbones/convblock_watermark.py:212
↓ 1 callersFunctionadd_adj_info
()
tools/data_converter/prepare_nuscenes_for_bevdet4d.py:10
↓ 1 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_RC.py:108
↓ 1 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_R_10frame.py:104
↓ 1 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_mini_RC.py:108
↓ 1 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_R.py:104
↓ 1 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_RC_trainval.py:106
↓ 1 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_C.py:104
↓ 1 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_R_with_occ_path.py:104
↓ 1 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_mini_C.py:100
↓ 1 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_R_10frame_future.py:104
↓ 1 callersFunctionadd_decomposed_rel_pos
Calculate decomposed Relative Positional Embeddings from :paper:`mvitv2`. https://github.com/facebookresearch/mvit/blob/19786631e330df9f3622e
mmdet3d/models/backbones/sam.py:359
↓ 1 callersMethodadd_edge
(self, u, v)
detr2/detectron2/export/shared.py:789
↓ 1 callersFunctionadd_ground_truth_to_proposals_single_image
Augment `proposals` with `gt`. Args: Same as `add_ground_truth_to_proposals`, but with gt and proposals per image. Retu
detr2/detectron2/modeling/proposal_generator/proposal_utils.py:158
↓ 1 callersMethodadd_label_ap
(self, detection_name: str, dist_th: float, ap: float)
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:302
↓ 1 callersMethodadd_label_tp
(self, detection_name: str, metric_name: str, tp: float)
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:308
↓ 1 callersFunctionadd_mim_extension
Add extra files that are required to support MIM into the package. These files will be added by creating a symlink to the originals if the pa
setup.py:143
↓ 1 callersFunctionadd_plot_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:118
↓ 1 callersMethodadd_runtime
(self, eval_time: float)
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:314
↓ 1 callersMethodadd_sin_difference
Convert the rotation difference to difference in sine function. Args: boxes1 (torch.Tensor): Original Boxes in shape (NxC), where
mmdet3d/models/dense_heads/fcos_mono3d_head.py:192
↓ 1 callersFunctionadd_time_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:148
↓ 1 callersFunctionadjust_block_compatibility
Adjusts the compatibility of widths, bottlenecks, and groups.
detr2/detectron2/modeling/backbone/regnet.py:356
↓ 1 callersMethodafter_step
Called after each iteration.
detr2/detectron2/engine/train_loop.py:74
↓ 1 callersMethodafter_step
(self)
detr2/detectron2/engine/train_loop.py:178
↓ 1 callersMethodafter_train
Called after the last iteration.
detr2/detectron2/engine/train_loop.py:62
↓ 1 callersMethodafter_train
(self)
detr2/detectron2/engine/train_loop.py:165
↓ 1 callersMethodagent_motion_loss
Args: pred_trajs: Tensor of shape [B, N=200, T, 2] — predicted agent trajectories gt_trajs: Tensor of shape [B, N=2
mmdet3d/models/detectors/henetpp_planner.py:763
↓ 1 callersMethodagent_motion_loss
Args: pred_trajs: Tensor of shape [B, N=200, T, 2] — predicted agent trajectories gt_trajs: Tensor of shape [B, N=2
mmdet3d/models/detectors/henetpp_planner.py:1525
↓ 1 callersFunctionaggregate_predictions
Maps predictions to ScanNet evaluator format. Args: masks (list[torch.Tensor]): Per scene predicted instance masks. labels (list[
mmdet3d/core/evaluation/instance_seg_eval.py:9
↓ 1 callersMethodalign_adj_bbox2keyego
(self, results)
mmdet3d/datasets/pipelines/loading_changan.py:911
↓ 1 callersMethodalign_adj_bbox2keyego
(self, results)
mmdet3d/datasets/pipelines/loading_hop.py:1195
↓ 1 callersMethodalign_adj_bbox_bda
(self, results, rotate_bda, scale_bda, flip_dx, flip_dy)
mmdet3d/datasets/pipelines/loading.py:2529
↓ 1 callersMethodalign_adj_bbox_bda
(self, results, rotate_bda, scale_bda, flip_dx, flip_dy)
mmdet3d/datasets/pipelines/loading_changan.py:1174
↓ 1 callersMethodalign_adj_bbox_bda
(self, results, rotate_bda, scale_bda, flip_dx, flip_dy)
mmdet3d/datasets/pipelines/loading_hop.py:1361
↓ 1 callersFunctionalign_and_update_state_dicts
Match names between the two state-dict, and returns a new chkpt_state_dict with names converted to match model_state_dict with heuristics. Th
detr2/detectron2/checkpoint/c2_model_loading.py:209
↓ 1 callersFunctionalign_images
(im1, im2)
mmdet3d/datasets/pipelines/process_snow.py:118
↓ 1 callersFunctionangle_diff
Get the smallest angle difference between 2 angles: the angle from y to x. :param x: To angle. :param y: From angle. :param period: P
mmdet3d/datasets/nuscenes_styled_eval_utils.py:43
↓ 1 callersFunctionangle_diff
Get the smallest angle difference between 2 angles: the angle from y to x. :param x: To angle. :param y: From angle. :param period: P
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:43
↓ 1 callersMethodanno2geom
(self, annos)
mmdet3d/datasets/B2D_occ_dataset.py:1364
↓ 1 callersMethodapply_coords
Expects a numpy array of length 2 in the final dimension. Requires the original image size in (H, W) format.
mmdet3d/models/backbones/sam.py:711
↓ 1 callersMethodapply_coords_torch
Expects a torch tensor with length 2 in the last dimension. Requires the original image size in (H, W) format.
mmdet3d/models/backbones/sam.py:745
↓ 1 callersMethodapply_image
Expects a numpy array with shape HxWxC in uint8 format.
mmdet3d/models/backbones/sam.py:704
↓ 1 callersFunctionapply_road_cover
(original_img, road_mask, cover_color=(255, 255, 255))
mmdet3d/datasets/pipelines/process_snow.py:102
↓ 1 callersFunctionapply_trans
(vec,world2ego)
tools/prepare_B2D.py:46
↓ 1 callersFunctionarea
(int_pts, num_of_inter)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:26
↓ 1 callersFunctionarea
(int_pts, num_of_inter)
mmdet3d/core/evaluation/vod_utils/rotate_iou_cpu.py:23
↓ 1 callersFunctionassemble_rcnn_outputs_by_name
A function to assemble caffe2 model's outputs (i.e. Dict[str, Tensor]) to detectron2's format (i.e. list of Instances instance). This onl
detr2/detectron2/export/caffe2_modeling.py:27
↓ 1 callersFunctionassign
(dts: NDArrayFloat, gts: NDArrayFloat, cfg: DetectionCfg)
mmdet3d/datasets/av2_utils.py:115
↓ 1 callersFunctionassign_boxes_to_levels
Map each box in `box_lists` to a feature map level index and return the assignment vector. Args: box_lists (list[Boxes] | list[R
detr2/detectron2/modeling/poolers.py:22
↓ 1 callersMethodassign_cost_matrix_values
Based on IoU for each pair of bbox, assign the associated value in cost matrix Args: cost_matrix: np.ndarray, initialize
detr2/detectron2/tracking/vanilla_hungarian_bbox_iou_tracker.py:118
↓ 1 callersMethodassign_depth_target
(self, pts, imgs, img_metas)
mmdet3d/models/utils/uni3d_voxelpooldepth.py:296
↓ 1 callersFunctionassign_instances_for_scan
Assign gt and predicted instances for a single scene. Args: pred_info (dict): Predicted masks, labels and scores. gt_ids (np.arra
mmdet3d/core/evaluation/scannet_utils/evaluate_semantic_instance.py:221
↓ 1 callersFunctionassign_kernel_withoutk
Pre-compute features with weight matrices in weight bank. This function is used before cuda op assign_score_withk in CUDA version PAConv. Arg
mmdet3d/ops/paconv/utils.py:47
↓ 1 callersFunctionassign_score
Perform weighted sum to aggregate output features according to scores. This function is used in non-CUDA version of PAConv. Compared to the c
mmdet3d/ops/paconv/utils.py:21
↓ 1 callersFunctionattr_acc
Computes the classification accuracy for the attribute of this class (if any). If the GT class has no attributes or the annotation is missing
mmdet3d/datasets/nuscenes_styled_eval_utils.py:60
↓ 1 callersFunctionattr_acc
Computes the classification accuracy for the attribute of this class (if any). If the GT class has no attributes or the annotation is missing
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:60
↓ 1 callersMethodaug_test
Test with augmentations. Args: points (list[torch.Tensor]): List of points of shape [B, N, 3+C]. img_metas (list[list
mmdet3d/models/segmentors/encoder_decoder.py:425
↓ 1 callersMethodaug_test
Test function with augmentaiton.
mmdet3d/models/unipad/uvtr.py:427
↓ 1 callersMethodaug_test
Test function without augmentaiton.
mmdet3d/models/detectors/bevmaepp.py:418
↓ 1 callersMethodaug_test
Test function without augmentaiton.
mmdet3d/models/detectors/bevdet.py:588
↓ 1 callersMethodaug_test_bboxes
Test det bboxes with test time augmentation, can be applied in DenseHead except for ``RPNHead`` and its variants, e.g., ``GARPNHead``,
mmdet3d/models/dense_heads/dense_test_mixins.py:41
← previousnext →1,601–1,700 of 6,925, ranked by callers