cosense3d.modules package
Subpackages
- cosense3d.modules.backbone2d package
- cosense3d.modules.backbone3d package
- cosense3d.modules.fusion package
- Submodules
- cosense3d.modules.fusion.attn_fusion module
- cosense3d.modules.fusion.box_fusion module
- cosense3d.modules.fusion.fax module
- cosense3d.modules.fusion.keypoints module
- cosense3d.modules.fusion.maxout_fusion module
- cosense3d.modules.fusion.naive_fusion module
- cosense3d.modules.fusion.spatial_query_fusion module
- cosense3d.modules.fusion.temporal_fusion module
- Module contents
- cosense3d.modules.heads package
- Submodules
- cosense3d.modules.heads.bev module
- cosense3d.modules.heads.bev_dense module
- cosense3d.modules.heads.det_anchor_dense module
- cosense3d.modules.heads.det_anchor_sparse module
- cosense3d.modules.heads.det_center_sparse module
- cosense3d.modules.heads.det_roi_refine module
- cosense3d.modules.heads.img_focal module
- cosense3d.modules.heads.lidar_petr_head module
- cosense3d.modules.heads.multitask_head module
- cosense3d.modules.heads.nbr_attn_bev module
- cosense3d.modules.heads.petr_head module
- cosense3d.modules.heads.query_guided_petr_head module
- Module contents
- cosense3d.modules.losses package
- Submodules
- cosense3d.modules.losses.base_loss module
- cosense3d.modules.losses.common module
- cosense3d.modules.losses.edl module
- cosense3d.modules.losses.focal_loss module
- cosense3d.modules.losses.iou_loss module
- cosense3d.modules.losses.l1_loss module
- cosense3d.modules.losses.vanilla_seg_loss module
- Module contents
- cosense3d.modules.necks package
- cosense3d.modules.plugin package
- Submodules
- cosense3d.modules.plugin.attn module
- cosense3d.modules.plugin.bev_rpn module
- cosense3d.modules.plugin.downsample_conv module
- cosense3d.modules.plugin.flash_attn module
- cosense3d.modules.plugin.fpn module
- cosense3d.modules.plugin.gevbev_decoder module
- cosense3d.modules.plugin.mink_spconv module
- cosense3d.modules.plugin.naive_compressor module
- cosense3d.modules.plugin.pillar_encoder module
- cosense3d.modules.plugin.ssfa module
- cosense3d.modules.plugin.target_assigners module
BEVBoxAssigner
BEVCenternessAssigner
BEVPointAssigner
BEVSemsegAssigner
BaseAssigner
BoxAnchorAssigner
BoxCenterAssigner
BoxSparseAnchorAssigner
ContiBEVAssigner
DiscreteBEVAssigner
HeatmapAssigner
HungarianAssigner2D
HungarianAssigner3D
MatchCost
RoIBox3DAssigner
RoadLineAssigner
pos_neg_sampling()
sample_mining()
- cosense3d.modules.plugin.transformer module
- cosense3d.modules.plugin.voxel_encoder module
- cosense3d.modules.plugin.voxel_generator module
- cosense3d.modules.plugin.voxnet_utils module
- cosense3d.modules.plugin.vsa module
- Module contents
- cosense3d.modules.projection package
- cosense3d.modules.utils package
- Submodules
- cosense3d.modules.utils.box_coder module
- cosense3d.modules.utils.common module
bias_init_with_prob()
cat_coor_with_idx()
cat_name_str()
clip_sigmoid()
draw_sample_prob()
fuse_batch_indices()
get_conv2d_layers()
get_norm_layer()
get_voxel_centers()
instantiate()
inverse_sigmoid()
limit_period()
linear_last()
linear_layers()
meshgrid()
meshgrid_cross()
pad_l()
pad_r()
topk_gather()
weighted_mahalanobis_dists()
xavier_init()
- cosense3d.modules.utils.conv module
- cosense3d.modules.utils.edl_utils module
- cosense3d.modules.utils.gaussian_utils module
- cosense3d.modules.utils.init module
- cosense3d.modules.utils.me_utils module
bev_sparse_to_dense()
devoxelize_with_centroids()
downsample_embeddings()
downsample_points()
get_conv_block()
get_kernel_map_and_out_key()
indices2metric()
me_coor_to_grid_indices()
metric2indices()
mink_coor_limit()
minkconv_conv_block()
minkconv_layer()
normalize_centroids()
normalize_points()
prepare_input_data()
sparse_to_dense()
stride_centroids()
update_me_essentials()
voxelize_with_centroids()
- cosense3d.modules.utils.misc module
- cosense3d.modules.utils.nbr_attn module
- cosense3d.modules.utils.norm module
- cosense3d.modules.utils.positional_encoding module
- Module contents
Module contents
- class cosense3d.modules.BaseModule(gather_keys, scatter_keys, gt_keys=[], freeze=False, **kwargs)[source]
Bases:
Module
- forward(*args, **kwargs)[source]
Defines the computation performed at every call.
Should be overridden by all subclasses.
Note
Although the recipe for forward pass needs to be defined within this function, one should call the
Module
instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.
- training: bool