MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

Methodpetrel_load_image
(name, color_type)
mmdet3d/datasets/pipelines/loading_hop.py:1142
Methodplan_col_loss
Planning ego-agent collsion constraint. Args: pred (torch.Tensor): ego_fut_preds, [B, fut_ts, 2]. target (torch.Tenso
mmdet3d/models/detectors/henetpp_planner.py:812
Functionplot_curve
(log_dicts, args)
tools/analysis_tools/analyze_logs.py:39
Functionplot_logs
Function to plot specific fields from training log(s). Plots both training and test results. :: Inputs - logs = list containing Path objects
detr2/projects/DDETRS/ddetrs/util/plot_utils.py:21
Functionplot_precision_recall
(files, naming_scheme='iter')
detr2/projects/DDETRS/ddetrs/util/plot_utils.py:77
Methodpoint_cloud_range
list[float]: Range of point cloud.
mmdet3d/core/voxel/voxel_generator.py:53
Functionpoint_in_canvas_wh
Return true if point is in canvas
tools/vis_utils.py:355
Functionpoint_is_occluded_vectorized
Equivalent to point_is_occluded
tools/vis_utils.py:255
Methodpoints_in_boxes_all
Find all boxes in which each point is. Args: points (torch.Tensor): Points in shape (1, M, 3) or (M, 3), 3 dimens
mmdet3d/core/bbox/structures/cam_box3d.py:330
Functionpoints_in_boxes_batch
Find points that are in boxes (CUDA) Args: points (torch.Tensor): [B, M, 3], [x, y, z] in LiDAR coordinate boxes (torch.Tensor):
mmdet3d/ops/roiaware_pool3d/points_in_boxes.py:85
Functionpoints_in_boxes_cpu
Find points that are in boxes (CPU) Note: Currently, the output of this function is different from that of points_in_boxes_gpu.
mmdet3d/ops/roiaware_pool3d/points_in_boxes.py:53
Functionpoints_in_boxes_cpu
mmdet3d/ops/roiaware_pool3d/src/points_in_boxes_cpu.cpp:42
Methodpoints_in_boxes_part
Find the box in which each point is. Args: points (torch.Tensor): Points in shape (1, M, 3) or (M, 3), 3 dimensio
mmdet3d/core/bbox/structures/cam_box3d.py:303
Functionpoints_in_convex_polygon_jit
Check points is in 2d convex polygons. True when point in polygon. Args: points (np.ndarray): Input points with the shape of [num_points,
mmdet3d/core/bbox/box_np_ops.py:709
Functionpoints_in_rbbox
Check points in rotated bbox and return indices. Note: This function is for counterclockwise boxes. Args: points (np.ndarray
mmdet3d/core/bbox/box_np_ops.py:353
Methodpoints_transform
(points, poserecord, cs_record, cam_intrinsic, im_size, near_plane=1e-8, render_behin
tools/data_converter/map_api.py:1239
Functionpolygon_area
detr2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:301
Methodpolygons
(self)
detr2/detectron2/utils/visualizer.py:112
Methodpos_inside_boxes
(query_box, bev_pos, margin, min_bev_dim, margin_ratio=None)
mmdet3d/models/dense_heads/focal_decoder.py:741
Methodposition_embedding
(self, do_shift)
mmdet3d/ops/sst/sst_ops.py:664
Methodpre_tokenizer
(self, replacement, add_prefix_space)
mmdet3d/models/internvl_model/internlm2/tokenization_internlm2_fast.py:99
Methodpredict_net
caffe2.core.Net: the underlying caffe2 predict net
detr2/detectron2/export/api.py:141
Methodpredict_proposals
(self, anchors, pred_objectness_logits, pred_anchor_deltas, image_sizes)
detr2/detectron2/modeling/proposal_generator/rrpn.py:198
Methodprepare_decoder_input_ids_from_labels
(self, labels: torch.Tensor)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:2026
Functionprepare_fpn
(self)
detr2/detectron2/export/torchscript_patch.py:365
Methodprepare_inputs_for_generation
( self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, **kwargs )
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:1323
Methodprepare_inputs_for_generation
( self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, **kwargs )
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:1111
Methodprepare_inputs_for_generation
( self, input_ids, past=None, attention_mask=None, head_mask=None,
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1998
Functionprepare_resnet
(self)
detr2/detectron2/export/torchscript_patch.py:356
Methodprepare_test_data
Prepare data for testing. We should take axis_align_matrix from self.data_infos since we need to align point clouds. Arg
mmdet3d/datasets/scannet_dataset.py:176
Methodprepare_test_img
Get testing data after pipeline. Args: idx (int): Index of data. Returns: dict: Testing data after pipeline
mmdet3d/datasets/coco_2d_dataset.py:103
Methodprepare_test_img
Prepare data for testing. Args: index (int): Index for accessing the target image data. Returns: dict: Testi
mmdet3d/datasets/kitti2d_dataset.py:158
Methodprepare_train_img
Training image preparation. Args: index (int): Index for accessing the target image data. Returns: dict: Tra
mmdet3d/datasets/kitti2d_dataset.py:137
Functionpreprocess
(folder_list,idx,tmp_dir,train_or_val)
tools/prepare_B2D.py:192
Methodpreprocess
Normalize pixel values and pad to a square input.
mmdet3d/models/backbones/sam.py:610
Methodprint
(self)
mmdet3d/models/nerf/nerf_head.py:95
Functionprint_bev
(pts_feats, name)
tools/vis.py:173
Functionprint_gt_and_bev
(pts_feats, gt, img_metas, name)
tools/vis.py:234
Functionprint_gt_and_bev
(pts_feats, gt, img_metas, name='vis')
tools/misc/vis_tools.py:17
Functionprint_gt_on_bev
(gt, lid, app)
tools/vis.py:133
Functionprint_pc_on_bev
(pc, name, app)
tools/vis.py:119
Functionprint_pcgt_on_bev
(pc, gt, path, radar=None)
tools/create_data_changan_sparsebev_rc.py:579
Functionprint_pcgt_on_bev
(pc, gt, name, app)
tools/vis.py:78
Functionprint_pcgt_on_bev
(pc, gt, path, radar=None)
tools/create_data_changan_sparsebev_rc_filter.py:605
Functionprint_pcgt_on_bev
(pc, gt, name='vis')
tools/misc/browse_dataset.py:143
Functionprint_pcgt_on_bev
(pc, gt, name='vis')
tools/misc/vis_tools.py:74
Functionprint_pcgt_on_bev_radar
(pc, gt, name='visradar')
tools/misc/vis_tools.py:116
Functionprint_sample_and_bev
(pts_feats, sample, name='vis')
tools/misc/vis_tools.py:156
Methodprocess
(self, inputs, outputs)
detr2/detectron2/evaluation/cityscapes_evaluation.py:60
Methodprocess
(self, inputs, outputs)
detr2/detectron2/evaluation/cityscapes_evaluation.py:142
Methodprocess
(self, inputs, outputs)
detr2/detectron2/evaluation/pascal_voc_evaluation.py:54
Methodprocess
Args: inputs: the inputs to a COCO model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
detr2/detectron2/evaluation/coco_evaluation.py:162
Methodprocess
Args: inputs: the inputs to a LVIS model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
detr2/detectron2/evaluation/lvis_evaluation.py:80
Methodprocess
Args: inputs: the inputs to a COCO model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
detr2/detectron2/evaluation/rotated_coco_evaluation.py:104
Methodprocess
Args: inputs: the inputs to a model. It is a list of dicts. Each dict corresponds to an image and
detr2/detectron2/evaluation/sem_seg_evaluation.py:93
Methodprocess
(self, inputs, outputs)
detr2/detectron2/evaluation/panoptic_evaluation.py:68
Methodprocess
(self, inputs, outputs)
detr2/projects/DDETRS/ddetrs/evaluation/eval.py:19
Methodprocess
(self, inputs, outputs)
detr2/projects/DDETRS/ddetrs/evaluation/eval.py:101
Methodprocess
(self, inputs, outputs)
detr2/projects/DDETRS/ddetrs/evaluation/eval.py:207
Methodprocess_polygons
( polygons_per_instance: List[Union[torch.Tensor, np.ndarray]] )
detr2/detectron2/structures/masks.py:292
Methodprocess_single_scene
(sample_idx)
tools/data_converter/sunrgbd_data_utils.py:146
Methodprocess_single_scene
(sample_idx)
tools/data_converter/s3dis_data_utils.py:63
Methodprocess_single_scene
(sample_idx)
tools/data_converter/scannet_data_utils.py:105
Methodproject_boxes_to_image
(self, img_list, frame_info)
tools/create_data_changan_sparsebev_rc.py:382
Methodproject_boxes_to_image
(self, img_list, frame_info)
tools/create_data_changan_sparsebev_rc_filter.py:408
Functionproject_boxes_to_image_nus
(img_list, frame_info)
tools/create_data_changan_sparsebev_rc.py:487
Functionproject_boxes_to_image_nus
(img_list, frame_info)
tools/create_data_changan_sparsebev_rc_filter.py:513
Methodproject_lidar_to_image
(self, points, img_list, frame_info)
tools/create_data_changan_sparsebev_rc.py:354
Methodproject_lidar_to_image
(self, points, img_list, frame_info)
tools/create_data_changan_sparsebev_rc_filter.py:380
Functionproject_lidar_to_image_nus
(points, img_list, frame_info)
tools/create_data_changan_sparsebev_rc.py:449
Functionproject_lidar_to_image_nus
(points, img_list, frame_info)
tools/create_data_changan_sparsebev_rc_filter.py:475
Functionproject_pseudo_lidar_to_rectcam
(pts_3d)
mmdet3d/models/backbones/mononerd_backbone.py:25
Functionproject_pts_on_img
Project the 3D points cloud on 2D image. Args: points (numpy.array): 3D points cloud (x, y, z) to visualize. raw_img (numpy.array
mmdet3d/core/visualizer/image_vis.py:10
Functionproject_rect_to_image
(pts_3d_rect, P)
mmdet3d/models/backbones/mononerd_backbone.py:35
Functionproject_rectcam_to_pseudo_lidar
(pts_3d)
mmdet3d/models/backbones/mononerd_backbone.py:30
Methodprune_heads
(self, heads)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/modeling_bert.py:200
Methodpts2Dto3D
Args: points (torch.Tensor): points in 2D images, [N, 3], 3 corresponds with x, y in the image and depth.
mmdet3d/models/dense_heads/fcos_mono3d_head.py:696
Methodradar_bev_to_voxel
(self, x)
mmdet3d/models/detectors/bevdet_rc_occ.py:1157
Functionranderobj
(self, path, points)
tools/vis.py:9
Functionrandom_boxes
Create a random Nx4 boxes tensor, with coordinates < max_coord.
detr2/detectron2/utils/testing.py:33
Methodrandom_md
Returns an md instance corresponding to a random results.
mmdet3d/datasets/nuscenes_styled_eval_utils.py:242
Methodrandom_md
Returns an md instance corresponding to a random results.
mmdet3d/datasets/evaluation/motion/motion_utils.py:618
Methodrandom_md
Returns an md instance corresponding to a random results.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:242
Functionraw2alpha
mmdet3d/models/nerf/cuda/render_utils.cpp:120
Functionraw2alpha_backward
mmdet3d/models/nerf/cuda/render_utils.cpp:131
Functionraw2alpha_nonuni
mmdet3d/models/nerf/cuda/render_utils.cpp:125
Functionraw2alpha_nonuni_backward
mmdet3d/models/nerf/cuda/render_utils.cpp:136
Functionrbbox2d_to_near_bbox
convert rotated bbox to nearest 'standing' or 'lying' bbox. Args: rbboxes (np.ndarray): Rotated bboxes with shape of (N, 5(x,
mmdet3d/core/bbox/box_np_ops.py:463
Functionread_feather_remote
Read Apache Feather data from a .feather file. AV2 uses .feather to serialize much of its data. This function handles the deserialization proc
mmdet3d/datasets/av2_eval_util.py:178
Methodrecord_on_point
Query what record of a layer a particular point is on. :param x: x coordinate of the point of interest. :param y: y coordinat
tools/data_converter/map_api.py:486
Methodrecord_stream
(self, *args, **kwargs)
detr2/projects/DDETRS/ddetrs/util/misc.py:335
Functionreduce_dict
Reduce the values in the dictionary from all processes so that process with rank 0 has the reduced results. Args: input_dict (di
detr2/detectron2/utils/comm.py:170
Functionreduce_dict
Args: input_dict (dict): all the values will be reduced average (bool): whether to do average or sum Reduce the values in the
detr2/projects/DDETRS/ddetrs/util/misc.py:136
Functionref
()
tools/data_converter/info2coco.py:8
Methodrefine_bbox
(self, bbox_proposal, bbox_delta)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_seg.py:156
Methodreformat_bbox
Reformat bounding boxes to KITTI 2D styles. Args: outputs (list[np.ndarray]): List of arrays storing the inferenced
mmdet3d/datasets/kitti2d_dataset.py:204
Functionreload_script_model
Save a jit module and load it back. Similar to the `getExportImportCopy` function in torch/testing/
detr2/detectron2/utils/testing.py:133
Functionremove_outside_points
Remove points which are outside of image. Note: This function is for KITTI only. Args: points (np.ndarray, shape=[N, 3+dims]
mmdet3d/core/bbox/box_np_ops.py:553
Methodrender
Renders the box in the provided Matplotlib axis. :param axis: Axis onto which the box should be drawn. :param view: <np.array
mmdet3d/core/bbox/structures/nuscenes_box.py:151
Methodrender
Renders various PR and TP curves. :param metrics: DetectionMetrics instance. :param md_list: DetectionMetricDataList instance
mmdet3d/datasets/vad_custom_nuscenes_eval.py:786
← previousnext →6,501–6,600 of 6,925, ranked by callers