MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 2 callersMethodf
(batched_inputs, c2_inputs, c2_results)
detr2/detectron2/export/caffe2_modeling.py:384
↓ 2 callersFunctionfast_rcnn_inference
Call `fast_rcnn_inference_single_image` for all images. Args: boxes (list[Tensor]): A list of Tensors of predicted class-specific or
detr2/detectron2/modeling/roi_heads/fast_rcnn.py:45
↓ 2 callersFunctionfast_rcnn_inference_single_image
Single-image inference. Return bounding-box detection results by thresholding on scores and applying non-maximum suppression (NMS). Args
detr2/detectron2/modeling/roi_heads/fast_rcnn.py:117
↓ 2 callersMethodfeats_prepare
(self, mlvl_feats, mlvl_masks, mlvl_pos_embeds)
mmdet3d/models/utils/futr3d_transformer.py:335
↓ 2 callersFunctionfilter_by_sample_token
(ori_eval_boxes, valid_sample_tokens=[], verbose=False)
mmdet3d/datasets/vad_custom_nuscenes_eval.py:458
↓ 2 callersFunctionfilter_by_sample_token
(ori_eval_boxes, valid_sample_tokens=[], verbose=False)
mmdet3d/datasets/nuscnes_eval.py:426
↓ 2 callersFunctionfilter_eval_boxes_by_overlap
Applies filtering to boxes. basedon overlap . :param nusc: An instance of the NuScenes class. :param eval_boxes: An instance of the EvalB
mmdet3d/datasets/vad_custom_nuscenes_eval.py:466
↓ 2 callersFunctionfilter_eval_boxes_by_overlap
Applies filtering to boxes. basedon overlap . :param nusc: An instance of the NuScenes class. :param eval_boxes: An instance of the EvalB
mmdet3d/datasets/nuscnes_eval.py:434
↓ 2 callersFunctionfind_latest_checkpoint
Find the latest checkpoint from the working directory. This function is copied from mmdetection. Args: path(str): The path to find ch
mmdet3d/utils/misc.py:7
↓ 2 callersMethodfind_spec
(self, name, path, target=None)
detr2/detectron2/projects/__init__.py:20
↓ 2 callersMethodflip
Flip the boxes in BEV along given BEV direction. Args: bev_direction (str, optional): Direction by which to flip.
mmdet3d/core/bbox/structures/base_box3d.py:200
↓ 2 callersMethodformat_results
Format the results to pkl file. Args: outputs (list[dict]): Testing results of the dataset. pklfile_prefix (str): The
mmdet3d/datasets/waymo_dataset.py:138
↓ 2 callersMethodforward
(ctx, input)
mmdet3d/ops/norm.py:13
↓ 2 callersMethodforward
Foraward function to scatter features.
mmdet3d/models/middle_encoders/pillar_scatter.py:31
↓ 2 callersMethodforward
(self, x, cb_feats=None)
mmdet3d/models/backbones/cb_vovnet.py:402
↓ 2 callersMethodforward
Forward function. Args: mlvl_feats (tuple[Tensor]): Features from the upstream network, each is a 5D-tensor with s
mmdet3d/models/dense_heads/farhead.py:533
↓ 2 callersMethodforward
(self, x)
mmdet3d/models/codetr/norm.py:21
↓ 2 callersMethodforward
Placeholder of forward function.
mmdet3d/models/decode_heads/decode_head.py:69
↓ 2 callersMethodforward
(self, x)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:1038
↓ 2 callersMethodforward_img_train
Forward function for image branch. This function works similar to the forward function of Faster R-CNN. Args: x (list[to
mmdet3d/models/detectors/mvx_two_stage.py:336
↓ 2 callersMethodforward_inference
( self, images: ImageList, features: List[torch.Tensor], predictions: List[Lis
detr2/detectron2/modeling/meta_arch/fcos.py:256
↓ 2 callersMethodforward_loss
(self,centroid_low,centroid_low_mask ,centroid_med,centroid_med_mask ,centroid_high,centroid_normal_low,centro
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_ssl.py:838
↓ 2 callersMethodforward_mask_head_train
(self, outputs, feats, spatial_shapes, reference_points, mask_head_params, num_insts)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:442
↓ 2 callersMethodforward_pts_train
Forward function' Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxes_3d (list[:obj:`BaseIn
mmdet3d/models/bevformer/bevformer.py:111
↓ 2 callersMethodforward_roi_head
(self, location, **data)
mmdet3d/models/detectors/far3d.py:95
↓ 2 callersMethodforward_test
Calls either simple_test or aug_test depending on the length of outer list of points. If len(points) == 1, call simple_test. Otherwise
mmdet3d/models/segmentors/base.py:27
↓ 2 callersMethodforward_test
(self, img_metas, img=None, **kwargs)
mmdet3d/models/bevformer/bevformerV2.py:226
↓ 2 callersMethodforward_test
(self, img_metas, img=None, **kwargs)
mmdet3d/models/bevformer/bevformer.py:236
↓ 2 callersMethodforward_test
(self, img_metas, rescale, **data)
mmdet3d/models/detectors/far3d.py:205
↓ 2 callersMethodforward_train
(self, points=None, img_metas=None, gt_bboxe
mmdet3d/models/bevformer/bevformerV2.py:186
↓ 2 callersMethodforward_trt_debug
(self, mlvl_feats, img_metas, **kwargs)
mmdet3d/models/sparsebev/sparsebev_head.py:156
↓ 2 callersMethodfrom_config
(cls, cfg)
detr2/detectron2/modeling/roi_heads/roi_heads.py:167
↓ 2 callersMethodgen_encoder_output_proposals
Generate proposals from encoded memory. Args: memory (Tensor) : The output of encoder, has shape (bs, num_key, emb
mmdet3d/models/utils/futr3d_transformer.py:210
↓ 2 callersMethodgen_grid
(self, input, sensor2keyegos, bda, bda_adj=None, flag=False)
mmdet3d/models/detectors/bevdet.py:774
↓ 2 callersFunctiongen_sineembed_for_position
(pos_tensor)
mmdet3d/models/utils/utils.py:40
↓ 2 callersMethodgenerate
Generate voxels given points.
mmdet3d/core/voxel/voxel_generator.py:36
↓ 2 callersFunctiongenerate_infos
(folder_list,workers,train_or_val,tmp_dir)
tools/prepare_B2D.py:357
↓ 2 callersFunctiongenerate_rays
r"""NuScenes Dataset. This class serves as the API for experiments on the NuScenes Dataset. Args: coors (Nx2): coordinates of valid
mmdet3d/datasets/ray.py:58
↓ 2 callersFunctionget_1d_sincos_pos_embed_from_grid
embed_dim: output dimension for each position pos: a list of positions to be encoded: size (M,) out: (M, D)
detr2/projects/DDETRS/ddetrs/backbone/pos_embed.py:49
↓ 2 callersFunctionget_2d_boxes
Get the 2D annotation records for a given info. Args: info: Information of the given sample data. occluded: Integer (0, 1, 2, 3)
tools/data_converter/kitti_converter.py:459
↓ 2 callersFunctionget_T_global
(info)
mmdet3d/datasets/B2D_occ_dataset.py:2192
↓ 2 callersFunctionget_abs_pos
Calculate absolute positional embeddings. If needed, resize embeddings and remove cls_token dimension for the original embeddings. Ar
mmdet3d/models/backbones/eva02/utils.py:160
↓ 2 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/kitti_dataset.py:152
↓ 2 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/scannet_dataset.py:127
↓ 2 callersFunctionget_available_scenes
Get available scenes from the input nuscenes class. Given the raw data, get the information of available scenes for further info generation.
tools/data_converter/nuscenes_converter.py:105
↓ 2 callersMethodget_bboxes
(self, preds_dicts, img_metas, rescale=False)
mmdet3d/models/sparsebev/sparsebev_head.py:536
↓ 2 callersMethodget_bounds
Get the bounds of the geometric object that corresponds to a non geometric record. :param layer_name: Name of the layer that we are i
tools/data_converter/map_api.py:512
↓ 2 callersFunctionget_calib_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:86
↓ 2 callersFunctionget_cam_info
(nusc, sample_data)
tools/create_data_nuscenes_sparsebev_rc_future.py:18
↓ 2 callersFunctionget_cam_info
(nusc, sample_data)
tools/create_data_nuscenes_sparsebev_rc.py:18
↓ 2 callersFunctionget_cam_info
(nusc, sample_data)
tools/create_data_nuscenes_sparsebev.py:18
↓ 2 callersMethodget_cat_ids
Get COCO category ids by index. Args: idx (int): Index of data. Returns: list[int]: All categories in the im
mmdet3d/datasets/coco_2d_dataset.py:165
↓ 2 callersMethodget_centers
Returns: The box centers in a Nx2 array of (x, y).
detr2/detectron2/structures/boxes.py:262
↓ 2 callersFunctionget_checkpoint_url
Returns the URL to the model trained using the given config Args: config_path (str): config file name relative to detectron2's "conf
detr2/detectron2/model_zoo/model_zoo.py:111
↓ 2 callersMethodget_classes
Get class names of current dataset. Args: classes (Sequence[str] | str): If classes is None, use default CLASSES
mmdet3d/datasets/custom_3d.py:257
↓ 2 callersFunctionget_code
(mod)
detr2/detectron2/export/torchscript.py:83
↓ 2 callersMethodget_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
mmdet3d/datasets/argoverse2_dataset_t.py:145
↓ 2 callersMethodget_data_info
(self, index)
mmdet3d/datasets/B2D_occ_dataset.py:1373
↓ 2 callersMethodget_deltas
Get box regression transformation deltas (dx, dy, dw, dh) that can be used to transform the `src_boxes` into the `target_boxes`. That
detr2/detectron2/modeling/box_regression.py:43
↓ 2 callersMethodget_depth_dist
(self, x)
mmdet3d/models/necks/view_transformer_mine.py:95
↓ 2 callersMethodget_depth_dist
(self, x, eps=1e-20)
mmdet3d/models/necks/lss.py:133
↓ 2 callersFunctionget_device_states
(*args)
mmdet3d/models/sparsebev/checkpoint.py:43
↓ 2 callersFunctionget_direction_target
Encode direction to 0 ~ num_bins-1. Args: anchors (torch.Tensor): Concatenated multi-level anchor. reg_targets (torch.Tensor): Bb
mmdet3d/models/dense_heads/train_mixins.py:319
↓ 2 callersMethodget_direction_target
Encode direction to 0 ~ num_bins-1. Args: reg_targets (torch.Tensor): Bbox regression targets. dir_offset (int, optio
mmdet3d/models/dense_heads/fcos_mono3d_head.py:216
↓ 2 callersMethodget_ego_future_xy
(self,idx,sample_rate,frames)
mmdet3d/datasets/B2D_occ_dataset.py:805
↓ 2 callersMethodget_ego_future_xy
(self,idx,sample_rate,frames)
mmdet3d/datasets/B2D_e2e_dataset.py:650
↓ 2 callersMethodget_geometry
Determine the (x,y,z) locations (in the ego frame) of the points in the point cloud. Returns B x N x D x H/downsample x W/downsample x
mmdet3d/models/necks/view_transformer_mine.py:111
↓ 2 callersMethodget_geometry
Determine the (x,y,z) locations (in the ego frame) of the points in the point cloud. Returns B x N x D x H/downsample x W/downsample x
mmdet3d/models/necks/lss.py:228
↓ 2 callersFunctionget_image_index_str
(img_idx, use_prefix_id=False)
tools/data_converter/kitti_data_utils.py:13
↓ 2 callersFunctionget_image_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:43
↓ 2 callersMethodget_inner_win_inds
Fast version of get_innner_win_inds_slow Args: win_inds indicates which windows a voxel belongs to. Voxels share a windo
mmdet3d/models/middle_encoders/sst_input_layer.py:146
↓ 2 callersMethodget_key_padding_mask
(self, transform_info, voxel_drop_level, batching_info, device)
mmdet3d/ops/sst/sst_ops.py:651
↓ 2 callersFunctionget_label_anno
(label_path)
tools/data_converter/kitti_data_utils.py:116
↓ 2 callersFunctionget_label_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:54
↓ 2 callersMethodget_lidar_coor
Calculate the locations of the frustum points in the lidar coordinate system. Args: rots (torch.Tensor): Rotation from ca
mmdet3d/models/necks/view_transformer.py:1283
↓ 2 callersMethodget_loss
Calculate loss of voting module. Args: seed_points (torch.Tensor): Coordinate of the seed points. vote_points (torch.
mmdet3d/models/model_utils/vote_module.py:153
↓ 2 callersMethodget_map_info
(self, index)
mmdet3d/datasets/B2D_vad_dataset.py:352
↓ 2 callersMethodget_mask_pos_enc
(self, mlvl_feats)
mmdet3d/models/decode_heads/futr3d_head.py:125
↓ 2 callersFunctionget_official_eval_result
(gt_annotations, dt_annotations, current_classes, pr_detail_dict=None, custom_method=0)
mmdet3d/core/evaluation/vod_utils/kitti_official_evaluate.py:686
↓ 2 callersMethodget_pad_shape
(self, input_shape)
mmdet3d/models/utils/transformer_codetr.py:111
↓ 2 callersFunctionget_paddings_indicator
Create boolean mask by actually number of a padded tensor. Args: actual_num (torch.Tensor): Actual number of points in each voxel.
mmdet3d/models/voxel_encoders/utils.py:9
↓ 2 callersMethodget_past_or_future_xy
(self,idx,sample_rate,frames,past_or_future,local_xy=False)
mmdet3d/datasets/B2D_occ_dataset.py:769
↓ 2 callersMethodget_past_or_future_xy
(self,idx,sample_rate,frames,past_or_future,local_xy=False)
mmdet3d/datasets/B2D_e2e_dataset.py:614
↓ 2 callersFunctionget_pb_arg_valf
(pb, arg_name, default_val)
detr2/detectron2/export/shared.py:174
↓ 2 callersMethodget_pos_embed
mmdet3d/ops/sst/sst_ops.py:668
↓ 2 callersFunctionget_pose_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:96
↓ 2 callersMethodget_private_param
(self, is_gamma, sign_only=False)
mmdet3d/models/backbones/convblock_watermark.py:138
↓ 2 callersMethodget_proj_bbox2d
Decode box predictions and get projected 2D attributes. Args: bbox_preds (list[Tensor]): Box predictions for each scale
mmdet3d/models/dense_heads/pgd_head.py:265
↓ 2 callersMethodget_rays
(self, index)
mmdet3d/datasets/nuscenes_dataset_occ.py:125
↓ 2 callersMethodget_records_in_patch
Get all the record token that intersects or is within a particular rectangular patch. :param box_coords: The rectangular patch coordi
tools/data_converter/map_api.py:445
↓ 2 callersMethodget_records_in_patch
Get all the record token that intersects or within a particular rectangular patch. :param box_coords: The rectangular patch coordinat
tools/data_converter/map_api.py:1674
↓ 2 callersFunctionget_reference_points
(spatial_shapes, device)
mmdet3d/models/backbones/adapter_modules.py:13
↓ 2 callersMethodget_reference_points
Get the reference points used in SCA and TSA. Args: H, W: spatial shape of bev. Z: hight of pillar. D: sam
mmdet3d/models/model_utils/encoder.py:49
↓ 2 callersMethodget_reference_points
Get the reference points used in SCA and TSA. Args: H, W: spatial shape of bev. Z: hight of pillar. D: sam
mmdet3d/models/sparsebev/sparsebev_rc.py:279
↓ 2 callersFunctionget_rel_pos
Get relative positional embeddings according to the relative positions of query and key sizes. Args: q_size (int): size of qu
mmdet3d/models/backbones/eva02/utils.py:66
↓ 2 callersMethodget_results
Get precessed :obj:`InstanceData` of multiple images.
mmdet3d/models/dense_heads/base_mask_head.py:18
↓ 2 callersFunctionget_rope
(t, H, W)
mmdet3d/models/backbones/vit_codetr.py:108
↓ 2 callersMethodget_seg_infos
(self)
tools/data_converter/scannet_data_utils.py:243
↓ 2 callersMethodget_sensor_transforms
(self, cam_info, cam_name)
mmdet3d/datasets/pipelines/loading.py:1623
↓ 2 callersMethodget_sensor_transforms
(self, cam_info, cam_name)
mmdet3d/datasets/pipelines/loading_changan.py:764
← previousnext →901–1,000 of 6,925, ranked by callers