MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 1 callersMethodprepare_train_data
Training data preparation. Args: index (int): Index for accessing the target data. Returns: dict: Tra
mmdet3d/datasets/nuscenes_occ.py:54
↓ 1 callersMethodprepare_train_data
Training data preparation. Args: index (int): Index for accessing the target data. Returns: dict: Training d
mmdet3d/datasets/custom_3d_ra.py:216
↓ 1 callersMethodpreprocess_image
Normalize, pad and batch the input images.
detr2/detectron2/modeling/meta_arch/dense_detector.py:120
↓ 1 callersMethodpreprocess_image
Normalize, pad and batch the input images.
detr2/projects/DDETRS/ddetrs/ddetrs_vl_uni.py:347
↓ 1 callersMethodprimitive_decode_scores
Decode predicted parts to primitive head. Args: predictions (torch.Tensor): primitive pridictions of each batch. aggr
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:602
↓ 1 callersFunctionprint_csv_format
Print main metrics in a format similar to Detectron, so that they are easy to copypaste into a spreadsheet. Args: results (Order
detr2/detectron2/evaluation/testing.py:9
↓ 1 callersFunctionprint_map_summary
Print mAP and results of each class. A table will be printed to show the gts/dets/recall/AP of each class and the mAP. Args: mea
mmdet3d/datasets/map_utils/mean_ap.py:329
↓ 1 callersMethodprocess
Process the pair of inputs and outputs. If they contain batches, the pairs can be consumed one-by-one using `zip`: .. code-b
detr2/detectron2/evaluation/evaluator.py:33
↓ 1 callersMethodprocess
(self, inputs, outputs)
detr2/detectron2/evaluation/evaluator.py:86
↓ 1 callersFunctionprocess_checkpoint
(in_file, out_file)
tools/model_converters/publish_model.py:17
↓ 1 callersFunctionprocess_dataset
(nusc,dataroot, save_dir)
mmdet3d/datasets/pipelines/process_snow.py:196
↓ 1 callersFunctionprocess_img_anno
(img_info)
tools/data_converter/nuimage_converter.py:179
↓ 1 callersMethodproj2im
(self, nusc, pc_cam, cam_token, min_z = 2)
mmdet3d/datasets/pipelines/loading.py:821
↓ 1 callersFunctionprojection_matrix_to_CRT_kitti
Split projection matrix of KITTI. Note: This function is for KITTI only. P = C @ [R|T] C is upper triangular matrix, so we need
mmdet3d/core/bbox/box_np_ops.py:526
↓ 1 callersFunctionquadrilateral_intersection
(pts1, pts2, int_pts)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:177
↓ 1 callersFunctionquadrilateral_intersection
(pts1, pts2, int_pts)
mmdet3d/core/evaluation/vod_utils/rotate_iou_cpu.py:182
↓ 1 callersMethodradar_bev_to_voxel
(self, x)
mmdet3d/models/detectors/bevdet_rc_occ.py:747
↓ 1 callersMethodradar_bev_to_voxel
(self, x)
mmdet3d/models/detectors/bevdet_rc_occ.py:1634
↓ 1 callersMethodradar_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/sparsebev/sparsebev_rc_seg.py:173
↓ 1 callersMethodradar_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/sparsebev/sparsebev_rc.py:167
↓ 1 callersMethodradar_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/bevmaepp.py:170
↓ 1 callersMethodradar_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/bevdet_rc_occ.py:254
↓ 1 callersMethodradar_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/bevdet_rc_occ.py:686
↓ 1 callersMethodradar_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/bevdet_rc_occ.py:1115
↓ 1 callersMethodradar_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/bevdet_rc_occ.py:1576
↓ 1 callersFunctionrandom_colors
Args: N (int): number of unique colors needed rgb (bool): whether to return RGB colors or BGR colors. maximum (int): eith
detr2/detectron2/utils/colormap.py:128
↓ 1 callersMethodrandom_sample_ratio
Randomly sample an img_scale when ``ratio_range`` is specified. A ratio will be randomly sampled from the range specified by ``ratio_r
mmdet3d/datasets/pipelines/transform_3d_focalformer3d.py:531
↓ 1 callersFunctionrandom_sampling
Random sampling. Sampling point cloud to a certain number of points. Args: points (ndarray): Point cloud. num_points (int):
tools/data_converter/sunrgbd_data_utils.py:10
↓ 1 callersMethodrandom_select
Randomly select an img_scale from given candidates. Args: img_scales (list[tuple]): Images scales for selection. Returns:
mmdet3d/datasets/pipelines/transform_3d_focalformer3d.py:490
↓ 1 callersFunctionrasterize_polygons_within_box
Rasterize the polygons into a mask image and crop the mask content in the given box. The cropped mask is resized to (mask_size, mask_size
detr2/detectron2/structures/masks.py:39
↓ 1 callersFunctionrbbox_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:86
↓ 1 callersFunctionreadme
()
setup.py:14
↓ 1 callersMethodrecord_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:1747
↓ 1 callersMethodrecover
(self, input_array)
mmdet3d/core/utils/array_converter.py:312
↓ 1 callersFunctionrecursive_recover
(input_data)
mmdet3d/core/utils/array_converter.py:175
↓ 1 callersMethodreduce_channel
reduce channel for element-wise addition. Args: x (:obj:`SparseConvTensor`): Sparse tensor, ``x.features`` are in
mmdet3d/models/middle_encoders/sparse_unet.py:181
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
mmdet3d/models/losses/utils.py:9
↓ 1 callersFunctionreduce_param_groups
(params: List[Dict[str, Any]])
detr2/detectron2/solver/build.py:233
↓ 1 callersMethodrefine_bbox
(self, bbox_proposal, bbox_delta)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_v2.py:156
↓ 1 callersMethodrefine_bbox
(self, bbox_proposal, bbox_delta)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_changan.py:156
↓ 1 callersMethodregister_hooks
Register hooks to the trainer. The hooks are executed in the order they are registered. Args: hooks (list[Option
detr2/detectron2/engine/train_loop.py:115
↓ 1 callersFunctionregister_spconv2
This func registers spconv2.0 spconv ops to overwrite the default mmcv spconv ops.
mmdet3d/ops/spconv/overwrite_spconv/write_spconv2.py:8
↓ 1 callersFunctionremove_dead_end_ops
remove ops if its output is not used or not in external_output
detr2/detectron2/export/shared.py:1010
↓ 1 callersMethodremove_dontcare
Remove annotations that do not need to be cared. Args: ann_info (dict): Dict of annotation infos. The ``'DontCare'``
mmdet3d/datasets/kitti_dataset.py:261
↓ 1 callersMethodremove_points_in_boxes
Remove the points in the sampled bounding boxes. Args: points (:obj:`BasePoints`): Input point cloud array. boxes (np
mmdet3d/datasets/pipelines/transforms_3d.py:455
↓ 1 callersMethodremove_prefix
(cls)
mmdet3d/models/utils/time_utils.py:51
↓ 1 callersFunctionremove_reshape_for_fc
In PyTorch nn.Linear has to take 2D tensor, this often leads to reshape a 4D tensor to 2D by calling .view(). However this (dynamic) resh
detr2/detectron2/export/shared.py:882
↓ 1 callersFunctionrename_gt
Maps gt instance and semantic masks to instance masks for ScanNet evaluator. Args: gt_semantic_masks (list[torch.Tensor]): Per scene
mmdet3d/core/evaluation/instance_seg_eval.py:39
↓ 1 callersFunctionrename_op_input
Rename the op_id-th operator in predict_net, change it's input_id-th input's name to the new_name. It also does automatic re-route and ch
detr2/detectron2/export/shared.py:662
↓ 1 callersMethodrender_depth
(self, results)
mmdet3d/models/nerf/nerf_head.py:285
↓ 1 callersMethodrender_layers
Render a list of layers. :param layer_names: A list of layer names. :param alpha: The opacity of each layer. :param f
tools/data_converter/map_api.py:992
↓ 1 callersMethodrender_map_in_image
Render a nuScenes camera image and overlay the polygons for the specified map layers. Note that the projections are not always accura
tools/data_converter/map_api.py:285
↓ 1 callersFunctionrender_map_on_image
(nusc, nusc_map, sample_token, camera_channel)
mmdet3d/datasets/pipelines/process_snow.py:30
↓ 1 callersMethodrender_map_patch
Renders a rectangular patch specified by `box_coords`. By default renders all layers. :param box_coords: The rectangular patch coordi
tools/data_converter/map_api.py:1024
↓ 1 callersMethodrender_one_scene
(self, rays_o_tr, rays_d_tr, bda, density, semanti
mmdet3d/models/nerf/nerf_head.py:162
↓ 1 callersMethodrender_semantic
(self, results)
mmdet3d/models/nerf/nerf_head.py:293
↓ 1 callersMethodrescale
(param, layer_id)
detr2/projects/DDETRS/ddetrs/backbone/vit.py:460
↓ 1 callersMethodreset
(self)
mmdet3d/models/backbones/convblock_watermark.py:236
↓ 1 callersMethodreset
(self)
detr2/detectron2/evaluation/evaluator.py:82
↓ 1 callersMethodreset_parameters
(self)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/position_encoding.py:69
↓ 1 callersMethodreshape_input
(self, results)
mmdet3d/datasets/pipelines/loading.py:2562
↓ 1 callersMethodresult_serialize
(self, outs)
mmdet3d/models/detectors/bevdet.py:684
↓ 1 callersMethodresult_serialize
(self, outs)
mmdet3d/models/detectors/bevdet.py:1172
↓ 1 callersMethodresult_serialize
(self, outs)
mmdet3d/models/detectors/bevdet.py:1301
↓ 1 callersMethodresults2json
Dump the detection results to a COCO style json file. There are 3 types of results: proposals, bbox predictions, mask predictions, an
mmdet3d/datasets/coco_2d_dataset.py:353
↓ 1 callersFunctionrgb_to_hsv
r"""Convert an image from RGB to HSV. .. image:: _static/img/rgb_to_hsv.png The image data is assumed to be in the range of (0, 1). Arg
mmdet3d/models/sparsebev/utils.py:124
↓ 1 callersMethodrotate_z
(self, results, rot_angle)
mmdet3d/datasets/pipelines/transforms_3d.py:2490
↓ 1 callersFunctionrotated_iou_3d_loss
Calculate the IoU loss (1-IoU) of two sets of rotated bounding boxes. Note that predictions and targets are one-to-one corresponded. Args:
mmdet3d/models/losses/rotated_iou_loss.py:11
↓ 1 callersFunctionrun_and_save_graph
Run the caffe2 model on given inputs, recording the shape and draw the graph. predict_net/init_net: caffe2 model. tensor_inputs: a list
detr2/detectron2/export/caffe2_export.py:175
↓ 1 callersMethodrun_distill
Start running. Args: data_loaders (list[:obj:`DataLoader`]): Dataloaders for training and validation.
mmdet3d/apis/epoch_based_runner_distill.py:174
↓ 1 callersMethodrun_step
(self)
detr2/detectron2/engine/train_loop.py:182
↓ 1 callersMethods2c
(self, x)
mmdet3d/models/necks/lss.py:373
↓ 1 callersFunctions3dis_data_prep
Prepare the info file for s3dis dataset. Args: root_path (str): Path of dataset root. info_prefix (str): The prefix of info filen
tools/create_data.py:127
↓ 1 callersFunctionsample_along_rays
Sample disparity for frustum
mmdet3d/utils/render_utils.py:68
↓ 1 callersMethodsample_augmentation
https://github.com/Megvii-BaseDetection/BEVStereo/blob/master/dataset/nusc_mv_det_dataset.py#L247
mmdet3d/datasets/pipelines/transforms_3d.py:2430
↓ 1 callersMethodsample_augmentation
(self, H, W, flip=None, scale=None)
mmdet3d/datasets/pipelines/loading.py:1595
↓ 1 callersMethodsample_augmentation
(self, H, W, flip=None, scale=None)
mmdet3d/datasets/pipelines/loading.py:3158
↓ 1 callersMethodsample_augmentation
(self, H, W, flip=None, scale=None)
mmdet3d/datasets/pipelines/loading_changan.py:702
↓ 1 callersMethodsample_augmentation
(self, results)
mmdet3d/datasets/pipelines/transform_3d_focalformer3d.py:32
↓ 1 callersMethodsample_augmentation
https://github.com/Megvii-BaseDetection/BEVStereo/blob/master/dataset/nusc_mv_det_dataset.py#L247
mmdet3d/datasets/pipelines/transforms_3d_changan.py:141
↓ 1 callersMethodsample_augmentation
(self, H, W, flip=None, scale=None)
mmdet3d/datasets/pipelines/loading_hop.py:903
↓ 1 callersMethodsample_bda_augmentation
Generate bda augmentation values based on bda_config.
mmdet3d/datasets/pipelines/loading.py:2336
↓ 1 callersMethodsample_bda_augmentation
Generate bda augmentation values based on bda_config.
mmdet3d/datasets/pipelines/loading.py:2761
↓ 1 callersMethodsample_bda_augmentation
Generate bda augmentation values based on bda_config.
mmdet3d/datasets/pipelines/loading.py:3470
↓ 1 callersMethodsample_bda_augmentation
Generate bda augmentation values based on bda_config.
mmdet3d/datasets/pipelines/loading.py:3639
↓ 1 callersMethodsample_bda_augmentation
Generate bda augmentation values based on bda_config.
mmdet3d/datasets/pipelines/loading.py:3799
↓ 1 callersMethodsample_bda_augmentation
Generate bda augmentation values based on bda_config.
mmdet3d/datasets/pipelines/loading_changan.py:1023
↓ 1 callersMethodsample_bda_augmentation
Generate bda augmentation values based on bda_config.
mmdet3d/datasets/pipelines/loading_hop.py:1263
↓ 1 callersMethodsample_class_v2
Sampling specific categories of bounding boxes. Args: name (str): Class of objects to be sampled. num (int): Number o
mmdet3d/datasets/pipelines/dbsampler.py:314
↓ 1 callersFunctionsample_ray
(ori_rays_o, ori_rays_d, step_size, scene_center, scene_radius, bg_len, world_len, bda, **render_kwargs)
mmdet3d/models/nerf/nerf_head.py:32
↓ 1 callersMethodsample_single
Sample features from single level image feature map. Args: img_feats (torch.Tensor): Image feature map in shape (
mmdet3d/models/fusion_layers/point_fusion.py:270
↓ 1 callersFunctionsampling_4d_trt_debug
Args: sample_points: 3D sampling points in shape [B, Q, T, G, P, 3] mlvl_feats: list of multi-scale features from neck, each in s
mmdet3d/models/sparsebev/sparsebev_sampling.py:241
↓ 1 callersMethodsave
Args: filepath (str): a string that contains the absolute path, including the file name, where the visualized ima
detr2/detectron2/utils/visualizer.py:309
↓ 1 callersMethodsave_calib
Parse and save the calibration data. Args: frame (:obj:`Frame`): Open dataset frame proto. file_idx (int): Current fi
tools/data_converter/waymo_converter.py:147
↓ 1 callersMethodsave_checkpoint
(self, runner)
mmdet3d/core/hook/ema.py:106
↓ 1 callersMethodsave_data
(self, path)
tools/create_data_changan_sparsebev_rc.py:64
↓ 1 callersMethodsave_data
(self, path)
tools/create_data_changan_sparsebev_rc_filter.py:66
↓ 1 callersFunctionsave_graph_base
(net, file_name, graph_name="net", op_only=True, blob_rename_func=None)
detr2/detectron2/export/shared.py:528
↓ 1 callersMethodsave_label
Parse and save the label data in txt format. The relation between waymo and kitti coordinates is noteworthy: 1. x, y, z correspond to
tools/data_converter/waymo_converter.py:257
↓ 1 callersMethodsave_lidar
Parse and save the lidar data in psd format. Args: frame (:obj:`Frame`): Open dataset frame proto. file_idx (int): Cu
tools/data_converter/waymo_converter.py:203
← previousnext →2,901–3,000 of 6,925, ranked by callers