cosense3d.modules.projection package
Submodules
cosense3d.modules.projection.fax module
- class cosense3d.modules.projection.fax.FAXModule(middle, dim, img_size, strides, feat_dims, cross_view, cross_view_swap, bev_embedding, self_attn, **kwargs)[source]
- Bases: - BaseModule- forward(img_feat, intrinsic, extrinsic, **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 - Moduleinstance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.
 - training: bool
 
- cosense3d.modules.projection.fax.ResNetBottleNeck(c)
cosense3d.modules.projection.petr module
- class cosense3d.modules.projection.petr.PETR(in_channels, transformer, position_range, num_reg_fcs=2, num_pred=3, topk=2048, num_query=644, depth_num=64, LID=True, depth_start=1, **kwargs)[source]
- Bases: - BaseModule- forward(img_feat, img_roi, img_coor, img_size, intrinsics, lidar2img, **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 - Moduleinstance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.
 - training: bool
 
cosense3d.modules.projection.spatial_transform module
Module contents
Modules for projecting image features to BEV space