MCPcopy Create free account

hub / github.com/HXMap/HRMapNet / functions

Functions2,680 in github.com/HXMap/HRMapNet

Methodfixed_num_sampled_points_torch
return torch.Tensor([N,fixed_num,2]), in xmin, ymin, xmax, ymax form N means the num of instances
projects/mmdet3d_plugin/datasets/nuscenes_offlinemap_dataset.py:189
Methodfixed_num_sampled_points_torch
return torch.Tensor([N,fixed_num,2]), in xmin, ymin, xmax, ymax form N means the num of instances
projects/mmdet3d_plugin/datasets/nuscenes_map_dataset.py:180
Methodflip
Flip the boxes in BEV along given BEV direction. In CAM coordinates, it flips the x (horizontal) or z (vertical) axis. Args:
mmdetection3d/mmdet3d/core/bbox/structures/cam_box3d.py:220
Methodformat_results
Format the results to pkl file. Args: outputs (list[dict]): Testing results of the dataset. pklfile_prefix (str | Non
mmdetection3d/mmdet3d/datasets/custom_3d.py:203
Methodformat_results
Format the results to pkl file. Args: outputs (list[dict]): Testing results of the dataset. pklfile_prefix (str | Non
mmdetection3d/mmdet3d/datasets/custom_3d_seg.py:271
Methodforward
(self, x)
mmdetection3d/mmdet3d/ops/sparse_block.py:39
Methodforward
(self, x)
mmdetection3d/mmdet3d/ops/sparse_block.py:92
Methodforward
(self, input)
mmdetection3d/mmdet3d/ops/norm.py:51
Methodforward
(self, input)
mmdetection3d/mmdet3d/ops/norm.py:105
Methodforward
forward. Args: points_xyz (Tensor): (B, N, 3) xyz coordinates of the features. features (Tensor): (B, C, N) features
mmdetection3d/mmdet3d/ops/pointnet_modules/point_sa_module.py:166
Methodforward
forward. Args: target (Tensor): (B, n, 3) tensor of the xyz positions of the target features. source
mmdetection3d/mmdet3d/ops/pointnet_modules/point_fp_module.py:39
Methodforward
forward. Args: points_xyz (Tensor): (B, N, 3) xyz coordinates of the features. features (Tensor): (B, C, N) features
mmdetection3d/mmdet3d/ops/pointnet_modules/paconv_sa_module.py:239
Methodforward
forward. Args: points_xyz (Tensor): (B, N, 3) xyz coordinates of the features. center_xyz (Tensor): (B, npoint, 3) Ce
mmdetection3d/mmdet3d/ops/group_points/group_points.py:65
Methodforward
forward. Args: features (Tensor): (B, C, N) tensor of features to group. indices (Tensor): (B, npoint, nsample) the i
mmdetection3d/mmdet3d/ops/group_points/group_points.py:176
Methodforward
Forward. Args: scores (torch.Tensor): (B, npoint, K, M), predicted scores to aggregate weight matrices in the wei
mmdetection3d/mmdet3d/ops/paconv/assign_score.py:25
Methodforward
Forward. Args: xyz_features (torch.Tensor): (B, C, N, K), features constructed from xyz coordinates of point pair
mmdetection3d/mmdet3d/ops/paconv/paconv.py:88
Methodforward
Forward. Args: inputs (tuple(torch.Tensor)): - features (torch.Tensor): (B, in_c, npoint, K)
mmdetection3d/mmdet3d/ops/paconv/paconv.py:255
Methodforward
Forward. Args: inputs (tuple(torch.Tensor)): - features (torch.Tensor): (B, in_c, N) Feature
mmdetection3d/mmdet3d/ops/paconv/paconv.py:349
Methodforward
(self, input)
mmdetection3d/mmdet3d/ops/spconv/modules.py:127
Methodforward
(self, x: SparseConvTensor)
mmdetection3d/mmdet3d/ops/spconv/modules.py:196
Methodforward
(self, x: SparseConvTensor)
mmdetection3d/mmdet3d/ops/spconv/modules.py:203
Methodforward
(self, input)
mmdetection3d/mmdet3d/ops/spconv/pool.py:40
Methodforward
( ctx, features, filters, indice_pairs, indice_pair_num, num_activate_out )
mmdetection3d/mmdet3d/ops/spconv/functional.py:25
Methodforward
( ctx, features, filters, indice_pairs, indice_pair_num, num_activate_out )
mmdetection3d/mmdet3d/ops/spconv/functional.py:47
Methodforward
( ctx, features, filters, indice_pairs, indice_pair_num, num_activate_out )
mmdetection3d/mmdet3d/ops/spconv/functional.py:75
Methodforward
(ctx, features, indice_pairs, indice_pair_num, num_activate_out)
mmdetection3d/mmdet3d/ops/spconv/functional.py:103
Methodforward
(self, input)
mmdetection3d/mmdet3d/ops/spconv/conv.py:114
Methodforward
convert kitti points(N, >=3) to voxels. Args: points: [N, ndim] float tensor. points[:, :3] contain xyz points an
mmdetection3d/mmdet3d/ops/voxel/voxelize.py:12
Methodforward
convert kitti points(N, >=3) to voxels. Args: feats: [N, C] float tensor. points features to be reduced into voxe
mmdetection3d/mmdet3d/ops/voxel/scatter_points.py:10
Methodforward
Args: input: NC points
mmdetection3d/mmdet3d/ops/voxel/scatter_points.py:77
Methodforward
forward. Args: points_xyz (Tensor): (B, N, 3) xyz coordinates of the features. features (Tensor): (B, C, N) Descripto
mmdetection3d/mmdet3d/ops/furthest_point_sample/points_sampler.py:67
Methodforward
Sampling points with D-FPS.
mmdetection3d/mmdet3d/ops/furthest_point_sample/points_sampler.py:116
Methodforward
Sampling points with F-FPS.
mmdetection3d/mmdet3d/ops/furthest_point_sample/points_sampler.py:131
Methodforward
Sampling points with FS_Sampling.
mmdetection3d/mmdet3d/ops/furthest_point_sample/points_sampler.py:149
Methodforward
forward. Args: points_xyz (Tensor): (B, N, 3) where N > num_points. num_points (int): Number of points in the sampled
mmdetection3d/mmdet3d/ops/furthest_point_sample/furthest_point_sample.py:15
Methodforward
forward. Args: points_dist (Tensor): (B, N, N) Distance between each point pair. num_points (int): Number of points i
mmdetection3d/mmdet3d/ops/furthest_point_sample/furthest_point_sample.py:50
Methodforward
Find the top-3 nearest neighbors of the target set from the source set. Args: target (Tensor): shape (B, N, 3), points se
mmdetection3d/mmdet3d/ops/interpolate/three_nn.py:10
Methodforward
Performs weighted linear interpolation on 3 features. Args: features (Tensor): (B, C, M) Features descriptors to be
mmdetection3d/mmdet3d/ops/interpolate/three_interpolate.py:10
Methodforward
(ctx, x, geom_feats, ranks)
mmdetection3d/mmdet3d/ops/bev_pool/bev_pool.py:10
Methodforward
(ctx, x, geom_feats, ranks, B, D, H, W)
mmdetection3d/mmdet3d/ops/bev_pool/bev_pool.py:39
Methodforward
forward. Args: features (Tensor): (B, C, N) features to gather. indices (Tensor): (B, M) where M is the number of poi
mmdetection3d/mmdet3d/ops/gather_points/gather_points.py:14
Methodforward
RoIAwarePool3d function forward. Args: rois (torch.Tensor): [N, 7], in LiDAR coordinate, (x, y, z) is the bottom
mmdetection3d/mmdet3d/ops/roiaware_pool3d/roiaware_pool3d.py:45
Methodforward
(ctx, depth, feat, ranks_depth, ranks_feat, ranks_bev, bev_feat_shape, interval_starts, interv
mmdetection3d/mmdet3d/ops/bev_pool_v2/bev_pool.py:17
Methodforward
run forward.
mmdetection3d/mmdet3d/ops/bev_pool_v2/bev_pool.py:122
Methodforward
forward. Args: min_radius (float): minimum radius of the balls. max_radius (float): maximum radius of the balls.
mmdetection3d/mmdet3d/ops/ball_query/ball_query.py:14
Methodforward
Forward of SparseEncoder. Args: voxel_features (torch.float32): Voxel features in shape (N, C). coors (torch.int32):
mmdetection3d/mmdet3d/models/middle_encoders/sparse_encoder.py:100
Methodforward
Forward of SparseUNet. Args: voxel_features (torch.float32): Voxel features in shape [N, C]. coors (torch.int32): Coo
mmdetection3d/mmdet3d/models/middle_encoders/sparse_unet.py:98
Methodforward
Foraward function to scatter features.
mmdetection3d/mmdet3d/models/middle_encoders/pillar_scatter.py:29
Methodforward
Calls either forward_train or forward_test depending on whether return_loss=True. Note this setting will change the expected inputs.
mmdetection3d/mmdet3d/models/segmentors/base.py:54
Methodforward
Forward function. Args: x (torch.Tensor): 4D Tensor in (N, C, H, W) shape. Returns: list[torch.Tensor]: Mult
mmdetection3d/mmdet3d/models/necks/second_fpn.py:75
Methodforward
Forward function. Args: x (torch.Tensor): of shape (N, C_in, N_x, N_y, N_z). Returns: list[torch.Tensor]: of
mmdetection3d/mmdet3d/models/necks/imvoxel_neck.py:50
Methodforward
Forward function. Args: x (torch.Tensor): Input with shape (N, C, H, W). Returns: tuple[torch.Tensor]: Multi
mmdetection3d/mmdet3d/models/backbones/second.py:77
Methodforward
Forward function of backbone. Args: x (torch.Tensor): Features in shape (N, C, H, W). Returns: tuple[torch.T
mmdetection3d/mmdet3d/models/backbones/nostem_regnet.py:69
Methodforward
Forward pass. Args: points (torch.Tensor): point coordinates with features, with shape (B, N, 3 + input_feature_d
mmdetection3d/mmdet3d/models/backbones/pointnet2_sa_msg.py:124
Methodforward
Forward pass. Args: points (torch.Tensor): point coordinates with features, with shape (B, N, 3 + input_feature_d
mmdetection3d/mmdet3d/models/backbones/multi_backbone.py:92
Methodforward
Forward pass. Args: points (torch.Tensor): point coordinates with features, with shape (B, N, 3 + input_feature_d
mmdetection3d/mmdet3d/models/backbones/pointnet2_sa_ssg.py:90
Methodforward
Forward function for SmallHead. Args: x (torch.Tensor): Input feature map with the shape of [B, C, H, W].
mmdetection3d/mmdet3d/models/dense_heads/shape_aware_head.py:122
Methodforward
Forward function for SepHead. Args: x (torch.Tensor): Input feature map with the shape of [B, 512, 128, 128].
mmdetection3d/mmdet3d/models/dense_heads/centerpoint_head.py:93
Methodforward
Forward function for DCNSepHead. Args: x (torch.Tensor): Input feature map with the shape of [B, 512, 128, 128].
mmdetection3d/mmdet3d/models/dense_heads/centerpoint_head.py:208
Methodforward
Forward pass. Args: feats (list[torch.Tensor]): Multi-level features, e.g., features produced by FPN. Re
mmdetection3d/mmdet3d/models/dense_heads/centerpoint_head.py:348
Methodforward
Forward pass. Note: The forward of VoteHead is devided into 4 steps: 1. Generate vote_points from seed_points.
mmdetection3d/mmdet3d/models/dense_heads/vote_head.py:135
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection3d/mmdet3d/models/dense_heads/fcos_mono3d_head.py:117
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection3d/mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:284
Methodforward
Forward pass. Args: feats (list[torch.Tensor]): Multi-level features, e.g., features produced by FPN. Re
mmdetection3d/mmdet3d/models/dense_heads/anchor3d_head.py:158
Methodforward
Forward pass. Args: seed_features (torch.Tensor): seed features, dims: (batch_size, feature_dim, num_seed)
mmdetection3d/mmdet3d/models/dense_heads/groupfree3d_head.py:66
Methodforward
Forward pass. Args: xyz: (B, N, 3) the coordinates of the features. features (Tensor): (B, C, N) features to sample.
mmdetection3d/mmdet3d/models/dense_heads/groupfree3d_head.py:86
Methodforward
Forward pass. Note: The forward of GroupFree3DHead is devided into 2 steps: 1. Initial object candidates samplin
mmdetection3d/mmdet3d/models/dense_heads/groupfree3d_head.py:298
Methodforward
Forward. Args: feats (Tensor): Input features Returns: Tensor: Class scores predictions Tensor:
mmdetection3d/mmdet3d/models/dense_heads/base_conv_bbox_head.py:105
Methodforward
(self, img_features)
mmdetection3d/mmdet3d/models/utils/mlp.py:50
Methodforward
Forward function for `GroupFree3DMHA`. **kwargs allow passing a more general data flow when combining with other operations in `trans
mmdetection3d/mmdet3d/models/model_utils/transformer.py:41
Methodforward
Forward pass. Args: xyz (Tensor): (B, N, 3) the coordinates to embed. Returns: Tensor: (B, num_pos_feats, N)
mmdetection3d/mmdet3d/models/model_utils/transformer.py:127
Methodforward
forward. Args: seed_points (torch.Tensor): Coordinate of the seed points in shape (B, N, 3). seed_fea
mmdetection3d/mmdet3d/models/model_utils/vote_module.py:86
Methodforward
Extract point-wise roi features. Args: feats (torch.FloatTensor): Point-wise features with shape (batch, npoints,
mmdetection3d/mmdet3d/models/roi_heads/roi_extractors/single_roiaware_extractor.py:32
Methodforward
Forward pass. Args: x (torch.Tensor): Features from the first stage. Returns: dict: Part features, segmentat
mmdetection3d/mmdet3d/models/roi_heads/mask_heads/pointwise_semantic_head.py:55
Methodforward
Forward pass. Args: feats_dict (dict): Feature dict from backbone. sample_mod (str): Sample mode for vote aggregation
mmdetection3d/mmdet3d/models/roi_heads/mask_heads/primitive_head.py:116
Methodforward
Forward pass. Args: feats_dict (dict): Feature dict from backbone. sample_mod (str): Sample mode for vote aggregation
mmdetection3d/mmdet3d/models/roi_heads/bbox_heads/h3d_bbox_head.py:204
Methodforward
Forward pass. Args: seg_feats (torch.Tensor): Point-wise semantic features. part_feats (torch.Tensor): Point-wise par
mmdetection3d/mmdet3d/models/roi_heads/bbox_heads/parta2_bbox_head.py:236
Methodforward
Calls either forward_train or forward_test depending on whether return_loss=True. Note this setting will change the expected inputs.
mmdetection3d/mmdet3d/models/detectors/base.py:47
Methodforward
Forward pass. Args: feat_dict (dict): Feature dict from backbone. Returns: torch.Tensor: Segmentation map of
mmdetection3d/mmdet3d/models/decode_heads/paconv_head.py:40
Methodforward
Forward pass. Args: feat_dict (dict): Feature dict from backbone. Returns: torch.Tensor: Segmentation map of
mmdetection3d/mmdet3d/models/decode_heads/pointnet2_head.py:62
Methodforward
Forward function. Args: features (torch.Tensor): Point features in shape (N, M, 3(4)). N is the number of voxels
mmdetection3d/mmdet3d/models/voxel_encoders/voxel_encoder.py:29
Methodforward
Forward function. Args: features (torch.Tensor): Point features in shape (N, 3(4)). N is the number of points.
mmdetection3d/mmdet3d/models/voxel_encoders/voxel_encoder.py:69
Methodforward
Forward functions. Args: features (torch.Tensor): Features of voxels, shape is NxC. coors (torch.Tensor): Coordinates
mmdetection3d/mmdet3d/models/voxel_encoders/voxel_encoder.py:220
Methodforward
Forward functions. Args: features (torch.Tensor): Features of voxels, shape is MxNxC. num_points (torch.Tensor): Numb
mmdetection3d/mmdet3d/models/voxel_encoders/voxel_encoder.py:385
Methodforward
Forward function. Args: inputs (torch.Tensor): Voxels features of shape (N, M, C). N is the number of voxels, M i
mmdetection3d/mmdet3d/models/voxel_encoders/utils.py:65
Methodforward
Forward function. Args: inputs (torch.Tensor): Pillar/Voxel inputs with shape (N, M, C). N is the number of voxel
mmdetection3d/mmdet3d/models/voxel_encoders/utils.py:145
Methodforward
Forward function. Args: features (torch.Tensor): Point features or raw points in shape (N, M, C). num
mmdetection3d/mmdet3d/models/voxel_encoders/pillar_encoder.py:92
Methodforward
Forward function. Args: features (torch.Tensor): Point features or raw points in shape (N, M, C). coo
mmdetection3d/mmdet3d/models/voxel_encoders/pillar_encoder.py:264
Methodforward
Forward function. Args: img_feats (list[torch.Tensor]): Image features. pts: [list[torch.Tensor]]: A batch of points
mmdetection3d/mmdet3d/models/fusion_layers/point_fusion.py:210
Methodforward
Forward function. Args: imgs (list[torch.Tensor]): Image features. bboxes_2d_rescaled (list[torch.Tensor]): 2D bboxes
mmdetection3d/mmdet3d/models/fusion_layers/vote_fusion.py:26
Methodforward
Forward function of loss calculation. Args: modules (List[nn.Module] | :obj:`generator`): A list or a python gene
mmdetection3d/mmdet3d/models/losses/paconv_regularization_loss.py:90
Methodforward
Forward function of loss calculation. Args: pred (torch.Tensor): Bbox predictions with shape [..., 3]. target (torch.
mmdetection3d/mmdet3d/models/losses/axis_aligned_iou_loss.py:45
Methodforward
Forward function of loss calculation. Args: source (torch.Tensor): Source set with shape [B, N, C] to calculate C
mmdetection3d/mmdet3d/models/losses/chamfer_distance.py:102
Methodforward
Forward function for `Detr3DTransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs, emb
projects/mmdet3d_plugin/maptr/modules/decoder.py:78
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_query,
projects/mmdet3d_plugin/maptr/modules/decoder.py:256
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: query (Te
projects/mmdet3d_plugin/maptr/modules/decoder.py:404
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: query (Tens
projects/mmdet3d_plugin/maptr/modules/decoder.py:553
Methodforward
Forward Function of Detr3DCrossAtten. Args: query (Tensor): Query of Transformer with shape (num_query, bs, emb
projects/mmdet3d_plugin/maptr/modules/geometry_kernel_attention.py:64
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape ( bs, num_
projects/mmdet3d_plugin/maptr/modules/geometry_kernel_attention.py:356
Methodforward
(self, inputs: List[torch.Tensor])
projects/mmdet3d_plugin/maptr/modules/transformer.py:31
← previousnext →1,901–2,000 of 2,680, ranked by callers