MCPcopy Create free account

hub / github.com/Tsinghua-MARS-Lab/CVT-Occ / functions

Functions691 in github.com/Tsinghua-MARS-Lab/CVT-Occ

Method_is_power_of_2
(n)
projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention.py:78
Method_is_power_of_2
(n)
projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention_3d.py:80
Method_is_power_of_2
(n)
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention_3d.py:226
Method_is_power_of_2
(n)
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:213
Method_parse_ann_info
Parse bbox annotation. Args: img_info (list[dict]): Image info. ann_info (list[dict]): Annotation info of an image.
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:134
Method_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor]): List of multi-level img features. Returns:
projects/mmdet3d_plugin/bevformer/modules/decode_head.py:192
Methodadd_batch
(self,semantics_pred,semantics_gt,mask_lidar,mask_camera)
projects/mmdet3d_plugin/datasets/occ_metrics.py:311
Methodafter_train_iter
(self, runner)
projects/mmdet3d_plugin/bevformer/hooks/custom_hooks.py:11
Methodafter_train_iter
(self, runner)
projects/mmdet3d_plugin/models/hooks/hooks.py:8
Methodassign
Computes one-to-one matching based on the weighted costs. This method assign each query prediction to a ground truth or background. Th
projects/mmdet3d_plugin/core/bbox/assigners/hungarian_assigner_3d.py:52
Methodaug_test
Test function with augmentaiton.
projects/mmdet3d_plugin/bevformer/detectors/centerpoint_solo.py:189
Methodbackward
GPU version of backward function. Args: grad_output (Tensor): Gradient of output tensor of forward.
projects/mmdet3d_plugin/bevformer/modules/multi_scale_deformable_attn_function.py:57
Methodbackward
GPU version of backward function. Args: grad_output (Tensor): Gradient of output tensor of forward.
projects/mmdet3d_plugin/bevformer/modules/multi_scale_deformable_attn_function.py:133
Methodbackward
(ctx, gradx, gradgeom)
projects/mmdet3d_plugin/bevformer/modules/view_transformer.py:52
Methodbefore_train_epoch
Evaluate the model only at the start of training by epoch.
projects/mmdet3d_plugin/core/evaluation/eval_hooks.py:44
Methodbefore_train_iter
(self, runner)
projects/mmdet3d_plugin/core/evaluation/eval_hooks.py:49
Functionbinary_xloss
Binary Cross entropy loss logits: [B, H, W] Variable, logits at each pixel (between -\infty and +\infty) labels: [B, H, W] Tensor, bi
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:138
Functioncal_train_time
(log_dicts, args)
tools/analysis_tools/analyze_logs.py:11
Methodcls_seg
Classify each pixel.
projects/mmdet3d_plugin/bevformer/modules/decode_head.py:258
Functioncollect_results_gpu
(result_part, size)
projects/mmdet3d_plugin/bevformer/apis/test_occ.py:157
Methodcompute_mIoU
Because I move the compute count matrix process to the `forward_test` function in the model, this function will not be used.
projects/mmdet3d_plugin/datasets/occ_metrics.py:114
Methodconvert_one
Convert action for single file. Args: file_idx (int): Index of the file to be converted.
tools/data_converter/waymo_converter.py:94
Methodconvert_one
Convert action for single file. Args: file_idx (int): Index of the file to be converted.
projects/mmdet3d_plugin/core/evaluation/kitti2waymo.py:165
Functionconvert_to_kitti_info_version2
convert kitti info v1 to v2 if possible. Args: info (dict): Info of the input kitti data. - image (dict): image info
tools/data_converter/kitti_converter.py:16
Methodcount_fscore
(self,)
projects/mmdet3d_plugin/datasets/occ_metrics.py:356
Functioncreate_indoor_info_file
Create indoor information file. Get information of the raw data and save it to the pkl file. Args: data_path (str): Path of the data
tools/data_converter/indoor_converter.py:12
Functioncreate_kitti_info_file
Create info file of KITTI dataset. Given the raw data, generate its related info file in pkl format. Args: data_path (str): Path of
tools/data_converter/kitti_converter.py:85
Functioncreate_lyft_infos
Create info file of lyft dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path of t
tools/data_converter/lyft_converter.py:27
Functioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
tools/data_converter/nuscenes_converter.py:46
Functioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
tools/data_converter/nuscenes_occ_converter.py:46
Functioncreate_nuscenes_occ_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
tools/data_converter/nuscenes_occ_converter_own.py:47
Functioncreate_reduced_point_cloud
Create reduced point clouds for training/validation/testing. Args: data_path (str): Path of original data. pkl_prefix (str): Pref
tools/data_converter/kitti_converter.py:289
Functioncreate_waymo_info_file
Create info file of waymo dataset. Given the raw data, generate its related info file in pkl format. Args: data_path (str): Path of
tools/data_converter/kitti_converter.py:151
Functioncrop_image_patch_v2
(pos_proposals, pos_assigned_gt_inds, gt_masks)
tools/data_converter/create_gt_database.py:68
Functioncumsum_trick
(x, geom_feats, ranks)
projects/mmdet3d_plugin/bevformer/modules/view_transformer.py:24
Functioncustom_encode_mask_results
Encode bitmap mask to RLE code. Semantic Masks only Args: mask_results (list | tuple[list]): bitmap mask results. In mask s
projects/mmdet3d_plugin/bevformer/apis/test_occ.py:25
Functioncustom_multi_gpu_test
Test model with multiple gpus. This method tests model with multiple gpus and collects the results under two different modes: gpu and cpu mo
projects/mmdet3d_plugin/bevformer/apis/test_occ.py:45
Methodeval_metrics
Evaluation. Args: voxel_semantics (torch.Tensor): semantic occpuancy ground truth. voxel_semantics_preds
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head_waymo.py:420
Methodeval_metrics
Evaluation. Args: voxel_semantics (torch.Tensor): semantic occpuancy ground truth. voxel_semantics_preds (tor
projects/mmdet3d_plugin/bevformer/dense_heads/solo_head_occ_waymo.py:237
Methodeval_metrics
Args: voxel_semantic: bs, w, h, z other four are the same
projects/mmdet3d_plugin/datasets/cdist.py:121
Methodevaluate
This function will be called by `tools/test.py` to evaluate the results. Args: occ_results (List[Dict]): the results of t
projects/mmdet3d_plugin/datasets/waymo_temporal_zlt.py:345
Methodevaluate
Evaluation in KITTI protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str]): M
projects/mmdet3d_plugin/datasets/zltwaymo.py:278
Methodevaluate
Evaluation in nuScenes protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:493
Methodevaluate
Performs the actual evaluation. :return: A tuple of high-level and the raw metric data.
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:624
Functionexist_corners_in_image_but_not_all
Check if a box is visible in images but not all corners in image . :param box: The box to be checked. :param intrinsic: <float: 3, 3>. In
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:217
Functionexport_2d_annotation
Export 2d annotation from the info file and raw data. Args: root_path (str): Root path of the raw data. info_path (str): Path of
tools/data_converter/kitti_converter.py:331
Functionexport_2d_annotation
Export 2d annotation from the info file and raw data. Args: root_path (str): Root path of the raw data. info_path (str): Path of
tools/data_converter/nuscenes_converter.py:407
Functionexport_2d_annotation
Export 2d annotation from the info file and raw data. Args: root_path (str): Root path of the raw data. info_path (str): Path of
tools/data_converter/nuscenes_occ_converter.py:408
Functionexport_2d_annotation
Export 2d annotation from the info file and raw data. Args: root_path (str): Root path of the raw data. info_path (str): Path of
tools/data_converter/lyft_converter.py:222
Functionexport_2d_annotation
Export 2d annotation from the info file and raw data. Args: root_path (str): Root path of the raw data. info_path (str): Path of
tools/data_converter/nuscenes_occ_converter_own.py:443
Methodextra_repr
Extra repr.
projects/mmdet3d_plugin/bevformer/modules/decode_head.py:147
Methodextract_pts_feat
Extract features of points.
projects/mmdet3d_plugin/bevformer/detectors/centerpoint_solo.py:37
Functionfilter_eval_boxes_by_id
Applies filtering to boxes. Distance, bike-racks and points per box. :param nusc: An instance of the NuScenes class. :param eval_boxes: A
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:362
Functionforward
Forward function for `Detr3DTransformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level.
projects/mmdet3d_plugin/bevformer/modules/dts_transformer.py:453
Methodforward
Forward function for `Detr3DTransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs,
projects/mmdet3d_plugin/bevformer/modules/decoder.py:66
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_que
projects/mmdet3d_plugin/bevformer/modules/decoder.py:231
Methodforward
Forward function.
projects/mmdet3d_plugin/bevformer/modules/unet.py:105
Methodforward
Forward function.
projects/mmdet3d_plugin/bevformer/modules/unet.py:178
Methodforward
Forward function.
projects/mmdet3d_plugin/bevformer/modules/unet.py:239
Methodforward
Forward function.
projects/mmdet3d_plugin/bevformer/modules/unet.py:313
Methodforward
(self, x)
projects/mmdet3d_plugin/bevformer/modules/unet.py:503
Methodforward
Forward function.
projects/mmdet3d_plugin/bevformer/modules/unet.py:591
Methodforward
Forward function.
projects/mmdet3d_plugin/bevformer/modules/unet.py:736
Methodforward
(self, curr_sem_feats, rots, trans, intrins, post_rots, post_trans,
projects/mmdet3d_plugin/bevformer/modules/view_transformer_solo.py:218
Methodforward
(self, x)
projects/mmdet3d_plugin/bevformer/modules/residual_block_3d.py:46
Methodforward
Forward function for `TransformerDecoder`. Args: bev_query (Tensor): Input BEV query with shape `(num_query, bs
projects/mmdet3d_plugin/bevformer/modules/voxel_encoder.py:209
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: quer
projects/mmdet3d_plugin/bevformer/modules/voxel_encoder.py:350
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): BEV query of Transformer with shape (bs, num_query, embed_d
projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention.py:127
Methodforward
(self, x)
projects/mmdet3d_plugin/bevformer/modules/concat_conv_module.py:57
Methodforward
Args: bev_list (list[torch.Tensor]): each has shape (bs, h*w, embed_dims). img_metas_list (list[dict]): Include curr
projects/mmdet3d_plugin/bevformer/modules/concat_conv_module.py:148
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_que
projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention_3d.py:129
Methodforward
Forward function for `Detr3DTransformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level.
projects/mmdet3d_plugin/bevformer/modules/pyramid_transformer.py:479
Methodforward
GPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum
projects/mmdet3d_plugin/bevformer/modules/multi_scale_deformable_attn_function.py:19
Methodforward
GPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum
projects/mmdet3d_plugin/bevformer/modules/multi_scale_deformable_attn_function.py:94
Methodforward
(self, x)
projects/mmdet3d_plugin/bevformer/modules/occ_conv_decoder.py:69
Methodforward
Forward function for `Detr3DTransformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level.
projects/mmdet3d_plugin/bevformer/modules/hybrid_transformer.py:456
Methodforward
Forward function for `Detr3DTransformer`. Args: multi_level_feats (list(torch.Tensor)): Current multi level img features
projects/mmdet3d_plugin/bevformer/modules/occ_transformer_waymo.py:374
Methodforward
Forward function for `TransformerDecoder`. Args: bev_query (Tensor): Input BEV query with shape `(num_query, bs
projects/mmdet3d_plugin/bevformer/modules/encoder_3d.py:168
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: quer
projects/mmdet3d_plugin/bevformer/modules/encoder_3d.py:315
Methodforward
Forward function for `Detr3DTransformer`. Args: multi_level_feats (list(torch.Tensor)): Current multi level img featu
projects/mmdet3d_plugin/bevformer/modules/occ_transformer.py:370
Methodforward
(self, x)
projects/mmdet3d_plugin/bevformer/modules/occ_conv_decoder_3d.py:59
Methodforward
Forward Function of Detr3DCrossAtten. Args: query (Tensor): Query of Transformer with shape (num_query, bs, emb
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention_3d.py:76
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape ( bs, num_
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention_3d.py:273
Methodforward
Forward function for `TransformerDecoder`. Args: bev_query (Tensor): Input BEV query with shape `(num_query, bs
projects/mmdet3d_plugin/bevformer/modules/vol_encoder.py:215
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: quer
projects/mmdet3d_plugin/bevformer/modules/vol_encoder.py:356
Methodforward
Forward function for `Detr3DTransformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level.
projects/mmdet3d_plugin/bevformer/modules/transformer.py:203
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: query (T
projects/mmdet3d_plugin/bevformer/modules/custom_base_transformer_layer.py:168
Methodforward
Encoder of bevformer, which contains multiple layers. It can construct BEV features from flattened multi level image features. Args
projects/mmdet3d_plugin/bevformer/modules/encoder.py:171
Methodforward
Forward function for `TransformerDecoderLayer`. Args: query (Tensor): The input BEV query with shape (bs, num_queries,
projects/mmdet3d_plugin/bevformer/modules/encoder.py:317
Methodforward
Forward function for `TransformerDecoder`. Args: bev_query (Tensor): Input BEV query with shape `(num_query, bs
projects/mmdet3d_plugin/bevformer/modules/encoder_3d_conv.py:190
Methodforward
(ctx, x, geom_feats, ranks)
projects/mmdet3d_plugin/bevformer/modules/view_transformer.py:35
Methodforward
(self, input)
projects/mmdet3d_plugin/bevformer/modules/view_transformer.py:292
Methodforward
(self, x, cam_params)
projects/mmdet3d_plugin/bevformer/modules/view_transformer.py:323
Methodforward
(self, input)
projects/mmdet3d_plugin/bevformer/modules/view_transformer.py:360
Methodforward
(self, bev_3d)
projects/mmdet3d_plugin/bevformer/modules/cost_volume_module.py:66
Methodforward
Forward pass of the `CostVolume` temporal fusion method. Args: bev_list (list[torch.Tensor]): each has shape (bs, h*w,
projects/mmdet3d_plugin/bevformer/modules/cost_volume_module.py:177
Methodforward
Encoder of bevformer, which contains multiple layers. It can construct BEV features from flattened multi level image features. Args
projects/mmdet3d_plugin/bevformer/modules/encoder_waymo.py:253
Methodforward
Forward function for `TransformerDecoderLayer`. Args: query (Tensor): The input BEV query with shape (bs, num_queries,
projects/mmdet3d_plugin/bevformer/modules/encoder_waymo.py:441
Methodforward
Forward Function of Detr3DCrossAtten. Args: query (Tensor): BEV query of Transformer with shape (bs, num_query, embed_dims).
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:75
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape ( bs, num_
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:260
← previousnext →501–600 of 691, ranked by callers