MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 2 callersFunctionbox_collision_test
Box collision test. Args: boxes (np.ndarray): Corners of current boxes. qboxes (np.ndarray): Boxes to be avoid colliding.
mmdet3d/datasets/pipelines/data_augment_utils.py:32
↓ 2 callersMethodboxlist_to_tensor
(boxlist, output_box_dim)
detr2/detectron2/evaluation/rotated_coco_evaluation.py:34
↓ 2 callersFunctionbroadcat
(tensors, dim = -1)
mmdet3d/models/backbones/vit_codetr.py:42
↓ 2 callersFunctionbroadcat
(tensors, dim = -1)
mmdet3d/models/backbones/eva02/utils.py:231
↓ 2 callersFunctionbuild_mask_head
Build a mask head defined by `cfg.MODEL.ROI_MASK_HEAD.NAME`.
detr2/detectron2/modeling/roi_heads/mask_head.py:287
↓ 2 callersFunctionbuild_proposal_generator
Build a proposal generator from `cfg.MODEL.PROPOSAL_GENERATOR.NAME`. The name can be "PrecomputedProposals" to use no proposal generator.
detr2/detectron2/modeling/proposal_generator/build.py:15
↓ 2 callersFunctionbuild_resnet_backbone
Create a ResNet instance from config. Returns: ResNet: a :class:`ResNet` instance.
detr2/detectron2/modeling/backbone/resnet.py:614
↓ 2 callersFunctionbuild_sem_seg_head
Build a semantic segmentation head from `cfg.MODEL.SEM_SEG_HEAD.NAME`.
detr2/detectron2/modeling/meta_arch/semantic_seg.py:127
↓ 2 callersMethodbuild_train_loader
Returns: iterable It now calls :func:`detectron2.data.build_detection_train_loader`. Overwrite it if you'd like
detr2/detectron2/engine/defaults.py:543
↓ 2 callersFunctionbuild_vovnet_backbone
Create a VoVNet instance from config. Returns: VoVNet: a :class:`VoVNet` instance.
mmdet3d/models/backbones/vovnet.py:395
↓ 2 callersFunctioncalc_bbox2d_area
Calculate the area of the given 2d bbox Input is assumed to be xmin, ymin, xmax, ymax tuple
tools/vis_utils.py:194
↓ 2 callersFunctioncalc_projected_2d_bbox
Takes in all vertices in pixel projection and calculates min and max of all x and y coordinates. Returns left top, right bottom pixel coordin
tools/vis_utils.py:129
↓ 2 callersFunctioncalc_rel_pos_spatial
Spatial Relative Positional Embeddings.
detr2/projects/DDETRS/ddetrs/backbone/vit.py:150
↓ 2 callersMethodcalculate
(self, infos)
tools/data_converter/kitti_converter.py:109
↓ 2 callersMethodcalculate_cost_volumn
(self, metas, flag=False)
mmdet3d/models/necks/view_transformer.py:729
↓ 2 callersFunctioncenter_to_corner_box2d
Convert kitti locations, dimensions and angles to corners. format: center(xy), dims(xy), angles(counterclockwise when positive) Args:
mmdet3d/core/bbox/box_np_ops.py:96
↓ 2 callersFunctioncenter_to_corner_box3d
Convert kitti locations, dimensions and angles to corners. Args: centers (np.ndarray): Locations in kitti label file with shape (N, 3).
mmdet3d/core/bbox/box_np_ops.py:171
↓ 2 callersFunctioncheck_point_in_img
(points, height, width)
tools/analysis_tools/vis.py:14
↓ 2 callersMethodchoose_cams
(self)
mmdet3d/datasets/pipelines/loading_changan.py:691
↓ 2 callersMethodchoose_cams
(self)
mmdet3d/datasets/pipelines/loading_hop.py:892
↓ 2 callersFunctionclass_tp_curve
Plot the true positive curve for the specified class. :param md_list: DetectionMetricDataList instance. :param metrics: DetectionMetrics
mmdet3d/datasets/nuscnes_eval.py:74
↓ 2 callersFunctionclean_data
(gt_anno, dt_anno, current_class, difficulty, roi_clean=False)
mmdet3d/core/evaluation/vod_utils/kitti_official_evaluate.py:32
↓ 2 callersMethodclip
Clip (in place) the boxes by limiting x coordinates to the range [0, width] and y coordinates to the range [0, height]. For
detr2/detectron2/structures/rotated_boxes.py:253
↓ 2 callersFunctioncollect_env
Collect the information of the running environments.
mmdet3d/utils/collect_env.py:11
↓ 2 callersFunctioncollect_env_info
()
detr2/detectron2/utils/collect_env.py:55
↓ 2 callersMethodcollect_sweeps
(self, index, into_past=60, into_future=60)
mmdet3d/datasets/nuscenes_dataset_occ.py:503
↓ 2 callersMethodcollect_sweeps_det
(self, index, into_past=60, into_future=60)
mmdet3d/datasets/nuscenes_dataset_occ.py:526
↓ 2 callersMethodcompute_and_add_transform_info
(self, batching_info, key, do_shift)
mmdet3d/ops/sst/sst_ops.py:464
↓ 2 callersFunctioncompute_objects_in_roi_mask
(cuboids_ego: NDArrayFloat, city_SE3_ego: SE3, avm: ArgoverseStaticMap)
mmdet3d/datasets/av2_utils.py:222
↓ 2 callersMethodcompute_planner_metric_stp3
Compute planner metric for one sample same as stp3.
mmdet3d/models/detectors/henetpp_planner.py:683
↓ 2 callersFunctioncompute_statistics_jit
(overlaps, gt_datas, dt_datas,
mmdet3d/core/evaluation/kitti_utils/eval.py:164
↓ 2 callersFunctioncompute_statistics_jit
(overlaps, gt_datas, dt_datas,
mmdet3d/core/evaluation/vod_utils/kitti_official_evaluate.py:191
↓ 2 callersFunctionconv1x1
1x1 convolution with padding
mmdet3d/models/backbones/cb_vovnet.py:146
↓ 2 callersFunctionconv1x1
1x1 convolution with padding
mmdet3d/models/backbones/vovnet.py:142
↓ 2 callersFunctionconv1x1
1x1 convolution with padding
mmdet3d/models/backbones/vovnet_sparsebev.py:137
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
mmdet3d/models/backbones/cb_vovnet.py:126
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
mmdet3d/models/backbones/vovnet.py:122
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
mmdet3d/models/backbones/vovnet_sparsebev.py:117
↓ 2 callersMethodconvert_box
Convert boxes from `src` mode to `dst` mode. Args: box (tuple | list | np.ndarray | torch.Tensor | :obj:`BaseInst
mmdet3d/core/bbox/structures/coord_3d_mode.py:109
↓ 2 callersMethodconvert_range_image_to_point_cloud
Convert range images to point cloud. Args: frame (:obj:`Frame`): Open dataset frame. range_images (dict): Mapping fro
tools/data_converter/waymo_converter.py:417
↓ 2 callersFunctionconvert_reduce_type
mmdet3d/ops/voxel/src/voxelization.h:111
↓ 2 callersFunctionconvert_scripted_instances
Convert a scripted Instances object to a regular :class:`Instances` object
detr2/detectron2/utils/testing.py:71
↓ 2 callersFunctioncorners_nd
Generate relative box corners based on length per dim and origin point. Args: dims (np.ndarray, shape=[N, ndim]): Array of length per dim
mmdet3d/core/bbox/box_np_ops.py:62
↓ 2 callersMethodcreate_2D_grid
(self, x_size, y_size)
mmdet3d/models/dense_heads/deepinteraction_decoder.py:162
↓ 2 callersFunctioncreate_dummy_class
When a dependency of a class is not available, create a dummy class which throws ImportError when used. Args: klass (str): name
detr2/detectron2/utils/develop.py:8
↓ 2 callersFunctioncreate_dummy_func
When a dependency of a function is not available, create a dummy function which throws ImportError when used. Args: func (str):
detr2/detectron2/utils/develop.py:37
↓ 2 callersMethodcreate_frustum
Generate the frustum template for each image. Args: depth_cfg (tuple(float)): Config of grid alone depth axis in format
mmdet3d/models/necks/view_transformer.py:85
↓ 2 callersFunctioncrop_image_patch
(pos_proposals, gt_masks, pos_assigned_gt_inds, org_img)
tools/data_converter/create_gt_database.py:91
↓ 2 callersFunctioncummean
Computes the cumulative mean up to each position in a NaN sensitive way - If all values are NaN return an array of ones. - If some values
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:124
↓ 2 callersFunctioncustom_polyline_score
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:217
↓ 2 callersMethoddebug_data
(self, samples, gt_targets)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/segmentation.py:58
↓ 2 callersMethoddecode_box
(self, rot, dim, center, height, vel)
mmdet3d/core/bbox/coders/transfusion_bbox_coder.py:57
↓ 2 callersMethoddecode_corners
Decode center, size residuals and class to corners. Only useful for axis-aligned bounding boxes, so angle isn't considered. Args:
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:102
↓ 2 callersFunctiondefault_setup
Perform some basic common setups at the beginning of a job, including: 1. Set up the detectron2 logger 2. Log basic information about en
detr2/detectron2/engine/defaults.py:174
↓ 2 callersFunctiondenormalize_bbox
(normalized_bboxes, pc_range=None)
mmdet3d/core/bbox/utils.py:25
↓ 2 callersMethoddeserialize
Initialize from serialized content.
mmdet3d/datasets/vad_custom_nuscenes_eval.py:168
↓ 2 callersMethoddevice
str: The device of the boxes are on.
mmdet3d/core/bbox/structures/base_box3d.py:391
↓ 2 callersFunctiondice_coefficient
(x, target)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:851
↓ 2 callersFunctiondiv_up
(m, n)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:15
↓ 2 callersFunctiondo_eval
(gt_annos, dt_annos, current_classes, min_overlaps, eval_types
mmdet3d/core/evaluation/kitti_utils/eval.py:596
↓ 2 callersFunctiondraw_heatmap_gaussian_feat
Get gaussian masked heatmap. Args: heatmap (torch.Tensor): Heatmap to be masked. center (torch.Tensor): Center coord of the heatm
mmdet3d/core/utils/gaussian.py:57
↓ 2 callersFunctiondraw_lidar_bbox3d_on_bev
( bboxes_3d, bev_size, bev_range=115, color=(255, 0, 0), thickness=3)
mmdet3d/datasets/utils_b2d.py:155
↓ 2 callersFunctiondraw_lidar_bbox3d_on_img
Project the 3D bbox on 2D plane and draw on input image. Args: bboxes3d (:obj:`LiDARInstance3DBoxes`): 3d bbox in lidar coord
mmdet3d/datasets/utils_b2d.py:94
↓ 2 callersFunctiondraw_occ
(occ, name)
tools/vis_occ_mask.py:11
↓ 2 callersMethoddraw_polygon
Args: segment: numpy array of shape Nx2, containing all the points in the polygon. color: color of the polygon. Refer
detr2/detectron2/utils/visualizer.py:1123
↓ 2 callersMethoddraw_sem_seg
Draw semantic segmentation predictions/labels. Args: sem_seg (Tensor or ndarray): the segmentation of shape (H, W).
detr2/detectron2/utils/visualizer.py:445
↓ 2 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). This is the same as the DropConnect impl I created for E
mmdet3d/models/backbones/eva02/drop.py:5
↓ 2 callersMethoddrop_single_shift
(self, batch_win_inds, drop_info)
mmdet3d/ops/sst/sst_ops.py:568
↓ 2 callersMethoddrop_single_shift
(self, batch_win_inds)
mmdet3d/models/middle_encoders/sst_input_layer_v2.py:103
↓ 2 callersMethoddrop_single_shift
(self, batch_win_inds)
mmdet3d/models/middle_encoders/sst_input_layer.py:210
↓ 2 callersFunctiondynamic_voxelize
mmdet3d/ops/voxel/src/voxelization.h:97
↓ 2 callersFunctioneval_map
(gen_results, annotations, cls_gens, cls_gts, threshold=0.
mmdet3d/datasets/map_utils/mean_ap.py:218
↓ 2 callersMethodevaluate
Evaluation in COCO protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (str | list[s
mmdet3d/datasets/coco_2d_dataset.py:651
↓ 2 callersMethodevaluate_coll
trajs: torch.Tensor (B, n_future, 2) 自车lidar系为轨迹参考系 ^ y | | 0------->
mmdet3d/datasets/metric_planning_stp3.py:231
↓ 2 callersMethodevaluate_map
(self, results)
mmdet3d/datasets/nuscenes_dataset.py:635
↓ 2 callersMethodevaluate_single_coll
traj: torch.Tensor (n_future, 2) 自车lidar系为轨迹参考系 ^ y | | 0-------
mmdet3d/datasets/metric_planning_stp3.py:155
↓ 2 callersMethodevaluate_single_coll
(self, traj, fut_boxes)
mmdet3d/datasets/evaluation/planning/planning_eval.py:73
↓ 2 callersFunctionextract_2d_info
Extract image augmentation information from img_meta. Args: img_meta(dict): Meta info regarding data transformation. tensor(torch
mmdet3d/models/fusion_layers/coord_transform.py:95
↓ 2 callersMethodextract_feat
Extract features from points.
mmdet3d/models/segmentors/encoder_decoder.py:70
↓ 2 callersMethodextract_feat
Extract features from images and points.
mmdet3d/models/unipad/uvtr_ssl.py:124
↓ 2 callersMethodextract_feat
Extract features from points.
mmdet3d/models/detectors/voxelnet.py:40
↓ 2 callersMethodextract_feat
Extract features from points. Args: points (list[Tensor]): Raw point clouds. Returns: SparseTensor: Voxelize
mmdet3d/models/detectors/mink_single_stage.py:47
↓ 2 callersMethodextract_feat
Extract features from points.
mmdet3d/models/detectors/parta2.py:43
↓ 2 callersMethodextract_feat
Extract features from images and points. Return: (BEV Feature, None, depth)
mmdet3d/models/detectors/bevdet.py:1737
↓ 2 callersMethodextract_feat
Extract features from images and points. Return: (BEV Feature, None, depth)
mmdet3d/models/detectors/bevdet.py:2046
↓ 2 callersMethodextract_feat
(self, points, img, img_metas)
mmdet3d/models/detectors/focalformer3d.py:160
↓ 2 callersMethodextract_feat
Extract features from images and points.
mmdet3d/models/detectors/mvx_two_stage.py:219
↓ 2 callersMethodextract_feat
Extract features from images and points. Return: (BEV Feature, None, depth)
mmdet3d/models/detectors/bevdet_rc_occ.py:480
↓ 2 callersMethodextract_feat
Extract features from images and points. Return: (BEV Feature, None, depth)
mmdet3d/models/detectors/bevdet_rc_occ.py:1816
↓ 2 callersMethodextract_feat
Extract 3d features from the backbone -> fpn -> 3d projection. Args: img (torch.Tensor): Input images of shape (N, C_in, H, W).
mmdet3d/models/detectors/imvoxelnet.py:37
↓ 2 callersMethodextract_feat
Directly extract features from the backbone+neck. Args: points (torch.Tensor): Input points. Returns: dict:
mmdet3d/models/detectors/point_rcnn.py:44
↓ 2 callersMethodextract_feat
Directly extract features from the backbone+neck. Args: points (torch.Tensor): Input points.
mmdet3d/models/detectors/single_stage.py:55
↓ 2 callersMethodextract_feat
(self, points, img, img_metas)
mmdet3d/models/detectors/deepinteraction.py:137
↓ 2 callersMethodextract_feat_v2
(self, img, img_metas, voxels, num_points, coors, gt_bboxes_3d=None)
mmdet3d/models/sparsebev/sparsebev_rc.py:520
↓ 2 callersMethodextract_feats
Extract point and image features of multiple samples.
mmdet3d/models/unipad/uvtr.py:438
↓ 2 callersMethodextract_feature
(self, pixel_values)
mmdet3d/models/internvl_model/internvl_chat/modeling_internvl_chat.py:212
↓ 2 callersMethodextract_img_feat
Extract features of images.
mmdet3d/models/unipad/uvtr.py:209
↓ 2 callersMethodextract_img_feat
(self, img, img_metas, with_bevenco
mmdet3d/models/detectors/bevdet_rc_occ.py:918
↓ 2 callersMethodextract_img_feat
(self, img, img_metas, with_bevenco
mmdet3d/models/detectors/bevdet_rc_occ.py:1335
↓ 2 callersMethodextract_img_feat
Extract features of images.
mmdet3d/models/detectors/far3d.py:37
← previousnext →801–900 of 6,925, ranked by callers