MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 6 callersMethod__init__
(self, config: InternVisionConfig)
mmdet3d/models/internvl_model/internvl_chat/modeling_intern_vit.py:186
↓ 6 callersMethod_assign_primitive_surface_targets
Generate targets for primitive z and primitive xy. Args: point_mask (torch.Tensor): Tensor to store the ground tr
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:867
↓ 6 callersFunction_create_reduced_point_cloud
Create reduced point clouds for given info. Args: data_path (str): Path of original data. info_path (str): Path of data info.
tools/data_converter/kitti_converter.py:305
↓ 6 callersMethod_get_src_permutation_idx
(self, indices)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:658
↓ 6 callersFunction_is_power_of_2
(n)
mmdet3d/models/model_utils/ops/modules/ms_deform_attn.py:26
↓ 6 callersFunction_read_imageset_file
(path)
tools/data_converter/kitti_converter.py:41
↓ 6 callersFunctionaccumulate
( dts: NDArrayFloat, gts: NDArrayFloat, cfg: DetectionCfg, avm: Optional[ArgoverseStaticMap] =
mmdet3d/datasets/av2_utils.py:70
↓ 6 callersMethodall
Returns all EvalBoxes in a list.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:527
↓ 6 callersFunctioncalc_ap
Calculated average precision.
mmdet3d/datasets/nuscenes_styled_eval_utils.py:716
↓ 6 callersFunctioncalc_tp
Calculates true positive errors.
mmdet3d/datasets/nuscenes_styled_eval_utils.py:729
↓ 6 callersFunctioncompose_lidar2img
(ego2global_translation_curr, ego2global_rotation_curr, lidar2ego_
mmdet3d/datasets/pipelines/loading.py:3992
↓ 6 callersMethodcompress
(self, x)
mmdet3d/models/backbones/radar_encoder_adapter_old.py:801
↓ 6 callersMethodcompress
(self, x)
mmdet3d/models/backbones/radar_encoder_adapter_old.py:1038
↓ 6 callersMethodcompress
(self, x)
mmdet3d/models/backbones/radar_encoder_adapter.py:1181
↓ 6 callersMethodconvert
Convert action.
tools/data_converter/waymo_converter.py:94
↓ 6 callersFunctiondetector_postprocess
Resize the output instances. The input images are often resized when entering an object detector. As a result, we often need the outputs
detr2/detectron2/modeling/postprocessing.py:9
↓ 6 callersFunctiondla_build_norm_layer
Build normalization layer specially designed for DLANet. Args: cfg (dict): The norm layer config, which should contain: - ty
mmdet3d/models/backbones/dla.py:12
↓ 6 callersMethodextract_feat
Extract features from images and points.
mmdet3d/models/unipad/uvtr.py:235
↓ 6 callersMethodextract_feat
Directly extract features from the backbone+neck.
mmdet3d/models/codetr/co_detr.py:131
↓ 6 callersMethodextract_feat_mf
(self, img, img_metas)
mmdet3d/models/detectors/henetpp.py:92
↓ 6 callersMethodextract_img_feat
(self, img)
mmdet3d/models/sparsebev/sparsebev_rc.py:320
↓ 6 callersFunctionextract_result_dict
Extract and return the data corresponding to key in result dict. ``results`` is a dict output from `pipeline(input_dict)`, which is the l
mmdet3d/datasets/utils.py:116
↓ 6 callersFunctionfilter_eval_boxes
Applies filtering to boxes. Distance, bike-racks and points per box. :param nusc: An instance of the NuScenes class. :param eval_boxes: A
mmdet3d/datasets/vad_custom_nuscenes_eval.py:561
↓ 6 callersMethodget
(name)
detr2/detectron2/checkpoint/catalog.py:58
↓ 6 callersMethodget_bboxes
(self, ret, img_metas, rescale=False)
mmdet3d/models/bevformer/bev_head.py:108
↓ 6 callersMethodget_fields
like `get_fields` in the Instances object, but return each field in tensor representations
detr2/detectron2/export/c10.py:58
↓ 6 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:115
↓ 6 callersFunctionget_pb_arg_vals
(pb, arg_name, default_val)
detr2/detectron2/export/shared.py:194
↓ 6 callersMethodget_sensor_transforms
(self, cam_info, cam_name)
mmdet3d/datasets/pipelines/loading.py:1883
↓ 6 callersMethodget_targets
Get targets for ATSS head. This method is almost the same as `AnchorHead.get_targets()`. Besides returning the targets as the parent
mmdet3d/models/codetr/co_atss_head.py:316
↓ 6 callersMethodget_valid_ratio
Get the valid radios of feature maps of all level.
mmdet3d/models/utils/futr3d_transformer.py:307
↓ 6 callersMethodimage_encoder
(self, img, stereo=False)
mmdet3d/models/detectors/bevdet.py:123
↓ 6 callersFunctionis_dist_avail_and_initialized
()
detr2/projects/DDETRS/ddetrs/util/misc.py:362
↓ 6 callersMethodmatch_point2plane
Match points to plane. Args: plane (torch.Tensor): Equation of the plane. points (torch.Tensor): Points of input.
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:716
↓ 6 callersFunctionnested_tensor_from_tensor_list
(tensor_list: List[Tensor], size_divisibility=1, split=True)
detr2/projects/DDETRS/ddetrs/util/misc.py:288
↓ 6 callersFunctionnonzero_tuple
A 'as_tuple=True' version of torch.nonzero to support torchscript. because of https://github.com/pytorch/pytorch/issues/38718
detr2/detectron2/layers/wrappers.py:122
↓ 6 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_converter_R_10frame_future.py:353
↓ 6 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_converter.py:302
↓ 6 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
setup.py:67
↓ 6 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:275
↓ 6 callersMethodscale
Scale the points with horizontal and vertical scaling factors. Args: scale_factors (float): Scale factors to scale the points.
mmdet3d/core/points/base_points.py:268
↓ 6 callersMethodset_private_keys
(self, private_beta_fm, private_gamma_fm)
mmdet3d/models/backbones/convblock_watermark.py:127
↓ 6 callersFunctionshow_seg_result
Convert results into format that is directly readable for meshlab. Args: points (np.ndarray): Points. gt_seg (np.ndarray): Ground
mmdet3d/core/visualizer/show_result.py:187
↓ 6 callersMethodstep
(self, closure=None)
detr2/projects/DDETRS/train_net.py:275
↓ 6 callersMethodtrain
Args: start_iter, max_iter (int): See docs above
detr2/detectron2/engine/train_loop.py:133
↓ 5 callersMethod__init__
(self, dim=768)
mmdet3d/models/backbones/adapter_modules.py:73
↓ 5 callersMethod__init__
Args: img_size (int): Input image size. patch_size (int): Patch size. in_chans (int): Number of input ima
mmdet3d/models/backbones/vit.py:357
↓ 5 callersMethod__init__
Args: dim (int): Number of input channels. num_heads (int): Number of attention heads in each ViT block.
mmdet3d/models/backbones/vit_codetr.py:382
↓ 5 callersMethod__init__
Args: img_size (int): Input image size. patch_size (int): Patch size. in_chans (int): Number of input ima
mmdet3d/models/backbones/eva02/vit.py:294
↓ 5 callersMethod__init__
(self, embed_dims=256, vel_dims=0)
mmdet3d/models/utils/sparse_blocks.py:344
↓ 5 callersMethod__init__
(self, in_dim, in_points, n_groups=1, query_dim=None, out_dim=None, out_points=None)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_seg.py:346
↓ 5 callersMethod__init__
(self, in_dim, in_points, n_groups=1, query_dim=None, out_dim=None, out_points=None)
mmdet3d/models/sparsebev/sparsebev_transformer.py:660
↓ 5 callersMethod__init__
(self, c)
mmdet3d/models/detectors/bevdet_mix.py:28
↓ 5 callersMethod__init__
(self, img_view_transformer, img_view_transformer_forseg=None, img_bev_encoder_backbone=None,
mmdet3d/models/detectors/bevdet.py:30
↓ 5 callersMethod__init__
(self, in_channels, mid_channels)
mmdet3d/models/detectors/bevdet_rc_occ.py:26
↓ 5 callersMethod__init__
(self, input_dim, hidden_dim, output_dim, num_layers)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:900
↓ 5 callersMethod__setattr__
(self, name, val)
detr2/detectron2/export/c10.py:83
↓ 5 callersFunction_broadcast_params
If one size (or aspect ratio) is specified and there are multiple feature maps, we "broadcast" anchors of that single size (or aspect ratio)
detr2/detectron2/modeling/anchor_generator.py:54
↓ 5 callersMethod_change_color_brightness
Depending on the brightness_factor, gives a lighter or darker color i.e. a color with less or more saturation than the original color
detr2/detectron2/utils/visualizer.py:1189
↓ 5 callersFunction_convert_target_to_string
Inverse of ``locate()``. Args: t: any object with ``__module__`` and ``__qualname__``
detr2/detectron2/utils/registry.py:15
↓ 5 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
mmdet3d/models/codetr/checkpoint.py:223
↓ 5 callersMethod_rand_another
Randomly get another item with the same flag. Returns: int: Another index of item with the same flag.
mmdet3d/datasets/custom_3d.py:423
↓ 5 callersMethodaccumulate
Accumulate per image evaluation results and store the result in self.eval :param p: input params for evaluation :return: None
detr2/detectron2/evaluation/refcocoeval.py:327
↓ 5 callersFunctionadd_sweep_info
(nusc, sample_infos)
tools/create_data_nuscenes_sparsebev_rc_future.py:40
↓ 5 callersFunctionadd_sweep_info
(nusc, sample_infos)
tools/create_data_nuscenes_sparsebev_rc.py:40
↓ 5 callersFunctionadd_sweep_info
(nusc, sample_infos)
tools/create_data_nuscenes_sparsebev.py:40
↓ 5 callersMethodanchor_target_single_assigner
Assign anchors and encode positive anchors. Args: bbox_assigner (BaseAssigner): assign positive and negative boxes. a
mmdet3d/models/dense_heads/train_mixins.py:238
↓ 5 callersMethodbev_encoder
(self, x)
mmdet3d/models/detectors/bevmaepp.py:198
↓ 5 callersFunctionbuild_backbone
Build a backbone from `cfg.MODEL.BACKBONE.NAME`. Returns: an instance of :class:`Backbone`
detr2/detectron2/modeling/backbone/build.py:20
↓ 5 callersFunctionbuild_transformer
(cfg)
mmdet3d/models/builder.py:158
↓ 5 callersFunctionchamfer_distance
Calculate Chamfer Distance of two sets. Args: src (torch.Tensor): Source set with shape [B, N, C] to calculate Chamfer Distan
mmdet3d/models/losses/chamfer_distance.py:9
↓ 5 callersMethodcompress
(self, x)
mmdet3d/models/backbones/radar_encoder_adapter.py:203
↓ 5 callersFunctioncreate_groundtruth_database
Given the raw data, generate the ground truth database. Args: dataset_class_name (str): Name of the input dataset. data_path (str
tools/data_converter/create_gt_database.py:111
↓ 5 callersFunctioncreate_small_table
Create a small table using the keys of small_dict as headers. This is only suitable for small dictionaries. Args: small_dict (di
detr2/detectron2/utils/logger.py:209
↓ 5 callersMethoddeparallelize
(self)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1008
↓ 5 callersMethoddeserialize
Initialize from serialized content.
mmdet3d/datasets/nuscnes_eval.py:167
↓ 5 callersFunctiondraw_heatmap_gaussian
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:26
↓ 5 callersMethodextract_feat
Extract features from images and points.
mmdet3d/models/bevformer/bevformer.py:103
↓ 5 callersMethodextract_feat
Extract features from images and points.
mmdet3d/models/detectors/bevdet.py:389
↓ 5 callersFunctionflat2window
Args: feat: shape=[N, C], N is the voxel num in the batch. voxel_drop_lvl: shape=[N, ]. Indicates drop_level of the window the vo
mmdet3d/ops/sst/sst_ops.py:62
↓ 5 callersMethodforward
Forward function for `Transformer`. Args: x (Tensor): Input query with shape [bs, c, h, w] where c = embed_dims.
mmdet3d/models/utils/petr_transformer.py:825
↓ 5 callersMethodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch pts_fea
mmdet3d/models/detectors/bevdet.py:488
↓ 5 callersMethodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxe
mmdet3d/models/detectors/far3d.py:101
↓ 5 callersMethodforward_trt
(self, mlvl_feats, img_metas, **kwargs)
mmdet3d/models/sparsebev/sparsebev_head.py:126
↓ 5 callersMethodforward_trt
(self, x, query)
mmdet3d/models/sparsebev/sparsebev_transformer.py:772
↓ 5 callersMethodforward_trt_debug
(self, query_bbox, query_feat, mlvl_feats, img_metas)
mmdet3d/models/sparsebev/sparsebev_transformer.py:651
↓ 5 callersMethodget_adj_info
(self, info, index)
mmdet3d/datasets/B2D_occ_dataset.py:530
↓ 5 callersMethodget_adj_info_lt
(self, info, index)
mmdet3d/datasets/nuscenes_dataset.py:337
↓ 5 callersMethodget_bev_feat_sequential
( # 提前计算出bev特征图,align after view transformation self, imgs, ranks_depth,
mmdet3d/models/detectors/bevdet.py:1373
↓ 5 callersMethodget_label_tp
(self, detection_name: str, metric_name: str)
mmdet3d/datasets/nuscenes_styled_eval_utils.py:311
↓ 5 callersMethodget_map_mask
Return list of map mask layers of the specified patch. :param patch_box: Patch box defined as [x_center, y_center, height, width]. If
tools/data_converter/map_api.py:415
↓ 5 callersFunctionget_paddings_indicator
Create boolean mask by actually number of a padded tensor. Args: actual_num ([type]): [description] max_num ([type]): [description
mmdet3d/models/backbones/radar_encoder_adapter.py:16
↓ 5 callersMethodimg_transform
(self, img, post_rot, post_tran, resize, resize_dims, crop, flip, rotate)
mmdet3d/datasets/pipelines/loading.py:1780
↓ 5 callersMethodinit_weight
(self)
mmdet3d/models/utils/misc.py:176
↓ 5 callersMethodinit_weights
(self)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_v2.py:275
↓ 5 callersMethodinit_weights
(self)
mmdet3d/models/sparsebev/sparsebev_transformer_rc.py:358
↓ 5 callersMethodinit_weights
(self)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_seg.py:372
↓ 5 callersMethodinit_weights
(self)
mmdet3d/models/sparsebev/sparsebev_transformer.py:686
↓ 5 callersMethodinit_weights
(self)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_changan.py:275
↓ 5 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
mmdet3d/models/sparsebev/utils.py:87
← previousnext →201–300 of 6,925, ranked by callers