MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 12 callersMethodshuffle
(self)
mmdet3d/ops/sst/sst_ops.py:354
↓ 12 callersMethodto_scalar
(self, tensor_or_float)
mmdet3d/datasets/nuscenes_dataset_occ.py:892
↓ 11 callersMethod__init__
(self, config)
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:256
↓ 11 callersMethodextract_polygon
Construct a shapely Polygon object out of a polygon token. :param polygon_token: The token of the polygon record. :return: Th
tools/data_converter/map_api.py:496
↓ 11 callersMethodget_bev_pool_input
(self, input)
mmdet3d/models/detectors/bevdet.py:727
↓ 11 callersFunctionget_box_type
Get the type and mode of box structure. Args: box_type (str): The type of box structure. The valid value are "LiDAR", "Camera
mmdet3d/core/bbox/structures/utils.py:142
↓ 11 callersMethodhas
Returns: bool: whether the field called `name` exists.
detr2/detectron2/structures/instances.py:81
↓ 11 callersFunctionmerge_aug_bboxes_3d
Merge augmented detection 3D bboxes and scores. Args: aug_results (list[dict]): The dict of detection results. The dict conta
mmdet3d/core/post_processing/merge_augs.py:8
↓ 11 callersMethodrun
Start running. Args: data_loaders (list[:obj:`DataLoader`]): Dataloaders for training and validation.
mmdet3d/apis/epoch_based_runner_distill.py:110
↓ 11 callersMethodset
Set the field named `name` to `value`. The length of `value` must be the number of instances, and must agree with other exist
detr2/detectron2/structures/instances.py:68
↓ 11 callersMethodset_reuse
(self, key, do_shift, name, value, allow_override=False)
mmdet3d/ops/sst/sst_ops.py:330
↓ 11 callersMethodshift_feature
(self, input, sensor2keyegos, bda, bda_adj=None)
mmdet3d/models/detectors/bevdet.py:844
↓ 10 callersMethod__getattr__
(self, name)
detr2/detectron2/export/c10.py:89
↓ 10 callersMethod__init__
Pillar Feature Net Layer. The Pillar Feature Net could be composed of a series of these layers, but the PointPillars paper results on
mmdet3d/models/backbones/radar_encoder_adapter_old.py:40
↓ 10 callersMethod__init__
Pillar Feature Net Layer. The Pillar Feature Net could be composed of a series of these layers, but the PointPillars paper results on
mmdet3d/models/backbones/radar_encoder_adapter.py:40
↓ 10 callersMethod__init__
(self, config)
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:251
↓ 10 callersMethod__init__
(self, w_in, w_se, activation_class)
detr2/detectron2/modeling/backbone/regnet.py:94
↓ 10 callersFunctionapply_3d_transformation
Apply transformation to input point cloud. Args: pcd (torch.Tensor): The point cloud to be transformed. coord_type (str): 'DEPTH'
mmdet3d/models/fusion_layers/coord_transform.py:9
↓ 10 callersMethodclear
(self)
mmdet3d/models/nerf/nerf_head.py:87
↓ 10 callersMethodcorners
torch.Tensor: a tensor with 8 corners of each box in shape (N, 8, 3).
mmdet3d/core/bbox/structures/base_box3d.py:132
↓ 10 callersMethoddense
(self, channels_first=True)
mmdet3d/ops/sst/sst_ops.py:338
↓ 10 callersFunctionget_pb_arg
(pb, arg_name)
detr2/detectron2/export/shared.py:167
↓ 10 callersFunctionkitti_eval
KITTI evaluation. Args: gt_annos (list[dict]): Contain gt information of each sample. dt_annos (list[dict]): Contain detected inf
mmdet3d/core/evaluation/kitti_utils/eval.py:662
↓ 10 callersFunctionmake_sparse_convmodule
Make sparse convolution module. Args: in_channels (int): the number of input channels out_channels (int): the number of out chann
mmdet3d/ops/sparse_block.py:137
↓ 10 callersFunctionnormalize_bbox
(bboxes, pc_range=None)
mmdet3d/core/bbox/utils.py:3
↓ 10 callersMethodoutput_shape
(self)
detr2/detectron2/modeling/backbone/fpn.py:156
↓ 10 callersFunctionshow_multi_modality_result
Convert multi-modality detection results into 2D results. Project the predicted 3D bbox to 2D image plane and visualize them. Args:
mmdet3d/core/visualizer/show_result.py:260
↓ 10 callersFunctionshow_result
Convert results into format that is directly readable for meshlab. Args: points (np.ndarray): Points. gt_bboxes (np.ndarray): Gro
mmdet3d/core/visualizer/show_result.py:115
↓ 10 callersMethodupdate
(self, **kwargs)
detr2/projects/DDETRS/ddetrs/util/misc.py:168
↓ 9 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
mmdet3d/models/necks/view_transformer.py:553
↓ 9 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
detr2/projects/DDETRS/ddetrs/backbone/vit.py:43
↓ 9 callersFunction_get_clones
(module, N)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:216
↓ 9 callersMethod_init_branch
Initialize conv layers as a prediction branch.
mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:227
↓ 9 callersFunctionbatched_nms
Same as torchvision.ops.boxes.batched_nms, but with float().
detr2/detectron2/layers/nms.py:9
↓ 9 callersFunctionbev_pool_v2
(depth, feat, ranks_depth, ranks_feat, ranks_bev, bev_feat_shape, interval_starts, interval_le
mmdet3d/ops/bev_pool_v2/bev_pool.py:102
↓ 9 callersMethodextract_feats
Extract features of multiple samples.
mmdet3d/models/detectors/h3dnet.py:171
↓ 9 callersMethodfrom_tensors
Args: tensors: a tuple or list of `torch.Tensor`, each of shape (Hi, Wi) or (C_1, ..., C_K, Hi, Wi) where K >= 1.
detr2/detectron2/structures/image_list.py:59
↓ 9 callersFunctionget_root_logger
Get root logger and add a keyword filter to it. The logger will be initialized if it has not been initialized. By default a StreamHandler wil
mmdet3d/utils/logger.py:7
↓ 9 callersMethodnorm1
nn.Module: normalization layer after the first convolution layer
mmdet3d/models/backbones/resnet_withcp.py:58
↓ 9 callersMethodoverlay_instances
Args: boxes (Boxes, RotatedBoxes or ndarray): either a :class:`Boxes`, or an Nx4 numpy array of XYXY_ABS format f
detr2/detectron2/utils/visualizer.py:616
↓ 9 callersMethodquery
Args: config_path: relative config filename
detr2/detectron2/model_zoo/model_zoo.py:99
↓ 9 callersMethodradar_voxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/futr3d.py:200
↓ 9 callersMethodresult_deserialize
(self, outs)
mmdet3d/models/detectors/bevdet.py:691
↓ 9 callersFunctionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
mmdet3d/apis/train.py:58
↓ 9 callersMethodshow
Results visualization. Args: results (list[dict]): List of bounding boxes results. out_dir (str): Output directory of
mmdet3d/datasets/lyft_dataset.py:443
↓ 8 callersMethod__init__
Args: input_ch(int) : the number of input channel out_features (list[str]): name of the layers whose outputs should
mmdet3d/models/backbones/cb_vovnet.py:280
↓ 8 callersMethod__init__
(self, encoder=None, decoder=None, init_cfg=None, cross=False)
mmdet3d/models/utils/petr_transformer.py:807
↓ 8 callersMethod_extract_data
Load data using input pipeline and extract data according to key. Args: index (int): Index for accessing the target data.
mmdet3d/datasets/custom_3d.py:381
↓ 8 callersMethod_get_pipeline
Get data loading pipeline in self.show/evaluate function. Args: pipeline (list[dict]): Input pipeline. If None is given,
mmdet3d/datasets/custom_3d.py:364
↓ 8 callersFunction_rename
(cfg: CN, old: str, new: str)
detr2/detectron2/config/compat.py:116
↓ 8 callersFunctionbuild_roi_extractor
Build RoI feature extractor.
mmdet3d/models/builder.py:50
↓ 8 callersFunctionconvbn_3d
(in_planes, out_planes, kernel_size, stride, pad,
mmdet3d/models/backbones/mono_submodule.py:30
↓ 8 callersMethodend
(self)
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:1266
↓ 8 callersMethodextract_feat
(self, img, img_metas)
mmdet3d/models/sparsebev/sparsebev.py:51
↓ 8 callersFunctiongaussian_radius
Get radius of gaussian. Args: det_size (tuple[torch.Tensor]): Size of the detection result. min_overlap (float, optional): Gaussi
mmdet3d/core/utils/gaussian.py:108
↓ 8 callersFunctionget_norm
Args: norm (str or callable): either one of BN, SyncBN, FrozenBN, GN; or a callable that takes a channel number and returns
mmdet3d/models/backbones/eva02/batch_norm.py:119
↓ 8 callersFunctionmake_sample_points
query_bbox: [B, Q, 10] offset: [B, Q, num_points, 4], normalized by stride
mmdet3d/models/sparsebev/sparsebev_sampling.py:12
↓ 8 callersMethodnorm2
nn.Module: normalization layer after the second convolution layer
mmdet3d/models/backbones/resnet_withcp.py:63
↓ 8 callersFunctionpairwise_iou
Given two lists of boxes of size N and M, compute the IoU (intersection over union) between **all** N x M pairs of boxes. The box order m
detr2/detectron2/structures/boxes.py:334
↓ 8 callersMethodpoints_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/base_box3d.py:537
↓ 8 callersMethodset
(self, name, value)
detr2/detectron2/export/c10.py:75
↓ 7 callersMethod__init__
Args: input_ch(int) : the number of input channel out_features (list[str]): name of the layers whose outputs should
mmdet3d/models/backbones/vovnet.py:276
↓ 7 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0 )
mmdet3d/models/backbones/swin_transformer.py:22
↓ 7 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0 )
detr2/projects/DDETRS/ddetrs/backbone/swin.py:22
↓ 7 callersMethodadd_boxes
Adds a list of boxes.
mmdet3d/datasets/nuscenes_styled_eval_utils.py:539
↓ 7 callersMethodadd_label_ap
(self, detection_name: str, dist_th: float, ap: float)
mmdet3d/datasets/nuscenes_styled_eval_utils.py:302
↓ 7 callersMethodadd_label_tp
(self, detection_name: str, metric_name: str, tp: float)
mmdet3d/datasets/nuscenes_styled_eval_utils.py:308
↓ 7 callersMethodapply_deltas
Apply transformation `deltas` (dx, dy, dw, dh) to `boxes`. Args: deltas (Tensor): transformation deltas of shape (N, k*4
detr2/detectron2/modeling/box_regression.py:78
↓ 7 callersMethodarea
Computes the area of all the boxes. Returns: torch.Tensor: a vector with areas of each box.
detr2/detectron2/structures/boxes.py:170
↓ 7 callersFunctionbbox_overlaps
Calculate the ious between each bbox of bboxes1 and bboxes2. Args: bboxes1 (ndarray): Shape (n, 4) bboxes2 (ndarray): Shape (k, 4)
mmdet3d/datasets/eval_recall.py:25
↓ 7 callersFunctionbuild_detector
Build detector.
mmdet3d/models/builder.py:84
↓ 7 callersFunctionbuild_sa_module
Build PointNet2 set abstraction (SA) module. Args: cfg (None or dict): The SA module config, which should contain: - type (st
mmdet3d/ops/pointnet_modules/builder.py:7
↓ 7 callersFunctioncircle_nms
Circular NMS. An object is only counted as positive if no other center with a higher confidence exists within a radius r using a bird-eye
mmdet3d/core/post_processing/box3d_nms.py:237
↓ 7 callersFunctionclip_sigmoid
Sigmoid function for input feature. Args: x (torch.Tensor): Input feature map with the shape of [B, N, H, W]. eps (float, optiona
mmdet3d/models/utils/clip_sigmoid.py:5
↓ 7 callersMethodconvert
Convert boxes from `src` mode to `dst` mode. Args: box (tuple | list | np.ndarray | torch.Tensor | :obj:`BaseInst
mmdet3d/core/bbox/structures/box_3d_mode.py:66
↓ 7 callersMethodconvert
Args: box: can be a k-tuple, k-list or an Nxk array/tensor, where k = 4 or 5 from_mode, to_mode (BoxMode) Re
detr2/detectron2/structures/boxes.py:44
↓ 7 callersMethodfrom_pretrained
(cls, pretrained_model_name_or_path: Union[str, os.PathLike], **kwargs)
mmdet3d/models/internvl_model/internvl_chat/configuration_intern_vit.py:107
↓ 7 callersFunctionget_kitti_info_path
(idx, prefix, info_type='image_2', fil
tools/data_converter/kitti_data_utils.py:20
↓ 7 callersFunctionget_pb_arg_vali
(pb, arg_name, default_val)
detr2/detectron2/export/shared.py:189
↓ 7 callersMethodloss
Example: >>> from mmdet.models.roi_heads.mask_heads.fcn_mask_head import * # NOQA >>> N = 7 # N = number of extract
mmdet3d/models/roi_heads/mask_heads/fcn_mask_head.py:148
↓ 7 callersMethodmain
Main function that loads the evaluation code, visualizes samples, runs the evaluation and renders stat plots. :param plot_examples: H
mmdet3d/datasets/evaluation/motion/motion_eval_uniad.py:173
↓ 7 callersMethodrender
Renders various PR and TP curves. :param metrics: DetectionMetrics instance. :param md_list: DetectionMetricDataList instance
mmdet3d/datasets/nuscnes_eval.py:674
↓ 7 callersMethodscale
Scale the box with horizontal and vertical scaling factors
detr2/detectron2/structures/boxes.py:269
↓ 7 callersMethodset
Sets the MetricData entry for a certain detection_name and match_distance.
mmdet3d/datasets/nuscenes_styled_eval_utils.py:277
↓ 7 callersFunctionsetup
Create configs and perform basic setups.
detr2/projects/DDETRS/train_net.py:317
↓ 7 callersMethodto
(self, *args: Any, **kwargs: Any)
detr2/detectron2/structures/masks.py:109
↓ 7 callersMethodtrain
(self, mode=True)
mmdet3d/models/backbones/eva02/vit.py:443
↓ 7 callersMethodtransform
Transform the coordinates with matrix T. Args: T (np.ndarray): Transformation matrix. x(float): Coordinate in x axis.
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:229
↓ 7 callersMethodtranspose_for_scores
(self, x)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/modeling_bert.py:66
↓ 7 callersMethodvoxel_pooling_prepare_v2
Data preparation for voxel pooling. Args: coor (torch.tensor): Coordinate of points in the lidar space in shape (
mmdet3d/models/necks/view_transformer.py:293
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
mmdet3d/models/necks/view_transformer_reproduce_bevdepth.py:187
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
mmdet3d/models/backbones/swinv1.py:24
↓ 6 callersMethod__init__
(self, inplanes, gn=False)
mmdet3d/models/backbones/mono_submodule.py:94
↓ 6 callersMethod__init__
(self, embed_dims, num_heads, window_size,
mmdet3d/models/backbones/swin.py:260
↓ 6 callersMethod__init__
Args: dim (int): Number of input channels. num_heads (int): Number of attention heads in each ViT block.
mmdet3d/models/backbones/sam.py:156
↓ 6 callersMethod__init__
(self, in_channels, heads, head_conv=64, f
mmdet3d/models/utils/decoder_utils.py:498
↓ 6 callersMethod__init__
(self, in_channels: int, out_channels: int, deconv_blocks: int)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_v2.py:252
↓ 6 callersMethod__init__
(self, in_channels: int, out_channels: int, deconv_blocks: int)
mmdet3d/models/sparsebev/sparsebev_transformer_rc.py:335
↓ 6 callersMethod__init__
(self, in_channels: int, out_channels: int, deconv_blocks: int)
mmdet3d/models/sparsebev/sparsebev_transformer_rc_changan.py:252
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
mmdet3d/models/codetr/swin_transformer.py:24
← previousnext →101–200 of 6,925, ranked by callers