MCPcopy Create free account

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

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

↓ 1 callersFunctionfilter_eval_boxes_by_visibility
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:394
↓ 1 callersFunctionfix_lyft
(root_folder="./data/lyft", version="v1.01")
tools/data_converter/lyft_data_fixer.py:8
↓ 1 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[tuple | numpy.ndarray]): Testing results o
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:446
↓ 1 callersMethodforward
Placeholder of forward function.
projects/mmdet3d_plugin/bevformer/modules/decode_head.py:221
↓ 1 callersMethodforward_pts_train
Forward training function. Args: multi_level_feats (list[torch.Tensor]): Multi level img_feats. voxel_semantics (to
projects/mmdet3d_plugin/bevformer/detectors/occformer_waymo.py:117
↓ 1 callersMethodforward_train
Forward training function. Args: img_metas (list[dict[dict]]): Meta information of each sample.
projects/mmdet3d_plugin/bevformer/detectors/occformer_waymo.py:205
↓ 1 callersMethodforward_train
Forward training function. Args: img_metas (list[dict[dict]]): Meta information of each sample.
projects/mmdet3d_plugin/bevformer/detectors/occformer.py:210
↓ 1 callersMethodfuse_history
Fuse long term history into current BEV. Args: curr_bev (torch.Tensor): Current BEV. shape (B, base_bev_channels, H, W)
projects/mmdet3d_plugin/bevformer/detectors/solofusion.py:330
↓ 1 callersMethodfuse_history_test
(self, all_bev_feats_list, all_img_metas_list, sweep_time_list)
projects/mmdet3d_plugin/bevformer/detectors/solofusion.py:635
↓ 1 callersFunctionfuse_module
(m)
tools/misc/fuse_conv_bn.py:24
↓ 1 callersMethodgather_feature
Args: features (torch.Tensor): (len-1, c, z, h, w) locations (torch.Tensor): (len-1, w, h, z, 3) returns:
projects/mmdet3d_plugin/bevformer/modules/concat_conv_module.py:128
↓ 1 callersMethodgather_feature_scales
Use grid sample to gather feature from previous BEV volume. Args: features (torch.Tensor): shape (bs, len, w, h, z, c).
projects/mmdet3d_plugin/bevformer/modules/cost_volume_module.py:144
↓ 1 callersFunctiongen_dx_bx
(xbound, ybound, zbound)
projects/mmdet3d_plugin/bevformer/modules/view_transformer.py:14
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various informations on top of the 2D bounding box coordinates. Args: ann_rec (dict): Origina
tools/data_converter/kitti_converter.py:505
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various informations on top of the 2D bounding box coordinates. Args: ann_rec (dict): Origina
tools/data_converter/nuscenes_converter.py:633
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various informations on top of the 2D bounding box coordinates. Args: ann_rec (dict): Origina
tools/data_converter/nuscenes_occ_converter.py:634
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various informations on top of the 2D bounding box coordinates. Args: ann_rec (dict): Origina
tools/data_converter/nuscenes_occ_converter_own.py:669
↓ 1 callersFunctionget_2d_boxes
Get the 2D annotation records for a given `sample_data_token`. Args: sample_data_token (str): Sample data token belonging to a camera \
tools/data_converter/nuscenes_converter.py:473
↓ 1 callersFunctionget_2d_boxes
Get the 2D annotation records for a given `sample_data_token`. Args: sample_data_token (str): Sample data token belonging to a camera \
tools/data_converter/nuscenes_occ_converter.py:474
↓ 1 callersFunctionget_2d_boxes
Get the 2D annotation records for a given `sample_data_token`. Args: sample_data_token (str): Sample data token belonging to a camera \
tools/data_converter/nuscenes_occ_converter_own.py:509
↓ 1 callersMethodget_aligned_box_label
(self, idx)
tools/data_converter/scannet_data_utils.py:61
↓ 1 callersMethodget_ann_info
get the annotation info according to the index. Args: index (Int): the index of the data. Returns: an
projects/mmdet3d_plugin/datasets/waymo_temporal_zlt.py:292
↓ 1 callersMethodget_attr_name
Get attribute from predicted index. This is a workaround to predict attribute when the predicted velocity is not reliable. We map th
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:231
↓ 1 callersFunctionget_available_scenes
Get available scenes from the input nuscenes class. Given the raw data, get the information of available scenes for further info generation.
tools/data_converter/nuscenes_occ_converter.py:140
↓ 1 callersFunctionget_available_scenes
Get available scenes from the input nuscenes class. Given the raw data, get the information of available scenes for further info generation.
tools/data_converter/nuscenes_occ_converter_own.py:157
↓ 1 callersMethodget_axis_align_matrix
(self, idx)
tools/data_converter/scannet_data_utils.py:75
↓ 1 callersMethodget_bev_features
This method is used to obtain Bird's Eye View (BEV) features from multi-level features, BEV queries, and other related parameters. us
projects/mmdet3d_plugin/bevformer/modules/occ_transformer_waymo.py:187
↓ 1 callersMethodget_bev_features
obtain bev features.
projects/mmdet3d_plugin/bevformer/modules/transformer.py:104
↓ 1 callersMethodget_bev_ref
Get reference point for reshaped BEV volume. Args: W (int): width of the BEV volume. H (int): height of the
projects/mmdet3d_plugin/bevformer/modules/concat_conv_module.py:107
↓ 1 callersMethodget_bev_ref
Get reference point for reshaped BEV volume. Args: W (int): width of the BEV volume. H (int): height of the
projects/mmdet3d_plugin/bevformer/modules/cost_volume_module.py:122
↓ 1 callersMethodget_bin_centers
(self)
projects/mmdet3d_plugin/bevformer/modules/view_transformer_solo.py:145
↓ 1 callersMethodget_calibration
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:119
↓ 1 callersMethodget_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:138
↓ 1 callersMethodget_depth
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:114
↓ 1 callersMethodget_extrinsics
(self, idx)
tools/data_converter/scannet_data_utils.py:90
↓ 1 callersMethodget_file_names
Get file names of waymo raw data.
projects/mmdet3d_plugin/core/evaluation/kitti2waymo.py:78
↓ 1 callersMethodget_image
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:106
↓ 1 callersMethodget_image_shape
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:110
↓ 1 callersMethodget_images
(self, idx)
tools/data_converter/scannet_data_utils.py:82
↓ 1 callersFunctionget_img_annos
Get semantic segmentation map for an image. Args: nuim (obj:`NuImages`): NuImages dataset object img_info (dict): Meta informatio
tools/data_converter/nuimage_converter.py:77
↓ 1 callersMethodget_infos
Get data infos. This method gets information from the raw data. Args: num_workers (int): Number of threads to be used. D
tools/data_converter/scannet_data_utils.py:103
↓ 1 callersMethodget_input_idx
sample the input index list Args: idx_list (List[int]): the index list from `index - self.history_len` to `index`.
projects/mmdet3d_plugin/datasets/waymo_temporal_zlt.py:95
↓ 1 callersMethodget_intrinsics
(self, idx)
tools/data_converter/scannet_data_utils.py:98
↓ 1 callersMethodget_label_objects
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:128
↓ 1 callersMethodget_loss
(self,loss_occ_fun, cls_score, labels, weight=None)
projects/mmdet3d_plugin/bevformer/dense_heads/solo_head_occ_waymo.py:173
↓ 1 callersMethodget_mask
(self, voxel_semantics, mask_infov, mask_lidar, mask_camera)
projects/mmdet3d_plugin/datasets/cdist.py:35
↓ 1 callersMethodget_mono_depth
(self, curr_sem_feats, rots, trans, intrins, post_rots, post_trans)
projects/mmdet3d_plugin/bevformer/modules/view_transformer_solo.py:194
↓ 1 callersFunctionget_predicted_data
Returns the data path as well as all annotations related to that sample_data. Note that the boxes are transformed into the current sensor's
tools/analysis_tools/visual.py:241
↓ 1 callersMethodget_prev_meshgrid_sampling_points
(self, depth_bins_to_sample,
projects/mmdet3d_plugin/bevformer/modules/view_transformer_solo.py:154
↓ 1 callersMethodget_refine_feat_loss
Calculate refine_feat_loss from refine_feat_w Args: refine_feat_w (torch.Tensor): The weight without sigmoid. shape (b
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head_waymo.py:206
↓ 1 callersMethodget_refine_feat_loss
Calculate refine_feat_loss from refine_feat_w Args: refine_feat_w (torch.Tensor): The weight without sigmoid. shape (b
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head.py:176
↓ 1 callersMethodget_scene_idxs_and_label_weight
Compute scene_idxs for data sampling and label weight for loss \ calculation. We sample more times for scenes with more points. Label
tools/data_converter/s3dis_data_utils.py:217
↓ 1 callersMethodget_scene_idxs_and_label_weight
Compute scene_idxs for data sampling and label weight for loss \ calculation. We sample more times for scenes with more points. Label
tools/data_converter/scannet_data_utils.py:291
↓ 1 callersMethodget_seg_infos
(self)
tools/data_converter/s3dis_data_utils.py:197
↓ 1 callersMethodget_transform_matrix
Args: img_metas (List[dict]): Meta information of each sample. length = batch_size. With ke
projects/mmdet3d_plugin/bevformer/detectors/solofusion.py:563
↓ 1 callersMethodget_unaligned_box_label
(self, idx)
tools/data_converter/scannet_data_utils.py:68
↓ 1 callersMethodget_voxel_features
obtain bev features.
projects/mmdet3d_plugin/bevformer/modules/pyramid_transformer.py:264
↓ 1 callersFunctionget_waymo_image_info
Waymo annotation format version like KITTI: { [optional]points: [N, 3+] point cloud [optional, for kitti]image: {
tools/data_converter/kitti_data_utils.py:320
↓ 1 callersFunctionglobal_nusc_box_to_cam
Convert the box from global to camera coordinate. Args: info (dict): Info for a specific sample data, including the calibra
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:714
↓ 1 callersMethodhist_info
This matrix is called by the function `compute_mIoU`. But I move the count matrix process to the `forward_test` function in the mo
projects/mmdet3d_plugin/datasets/occ_metrics.py:69
↓ 1 callersMethodimage_encoder
(self,img)
projects/mmdet3d_plugin/bevformer/detectors/bevdet_solo.py:21
↓ 1 callersFunctionincrease_brightness
(img, value=30)
tools/vis_tools/vis_occ.py:240
↓ 1 callersMethodinit_acceleration_v2
Pre-compute the necessary information in acceleration including the index of points in the final feature. Args: coor (tor
projects/mmdet3d_plugin/models/necks/view_transformer.py:139
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/bevformer/modules/pyramid_transformer.py:119
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/bevformer/modules/hybrid_transformer.py:108
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/bevformer/modules/occ_transformer_waymo.py:153
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/bevformer/modules/occ_transformer.py:172
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/bevformer/modules/transformer.py:70
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/bevformer/modules/dts_transformer.py:135
↓ 1 callersMethodinit_weight
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention_3d.py:71
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/decoder.py:209
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention.py:106
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention_3d.py:108
↓ 1 callersMethodinit_weights
Initialize the transformer weights.
projects/mmdet3d_plugin/bevformer/modules/occ_transformer.py:188
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention_3d.py:253
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:240
↓ 1 callersFunctioninterp_zeroends
For convenience, assumes the sampling dimension is 0. This also fills in the ends with 0 Args: x: the :math:`x`-coordinates at w
projects/mmdet3d_plugin/bevformer/modules/view_transformer_solo.py:31
↓ 1 callersFunctionkitti_data_prep
Prepare data related to Kitti dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth database.
tools/create_data.py:20
↓ 1 callersFunctionkitti_result_line
(result_dict, precision=4)
tools/data_converter/kitti_data_utils.py:576
↓ 1 callersFunctionlidiar_render
(sample_token, data, out_path=None)
tools/analysis_tools/visual.py:310
↓ 1 callersMethodload_annotations
Load annotations from ann_file. Args: ann_file (str): Path of the annotation file. Returns: list[dict
projects/mmdet3d_plugin/datasets/nuscenes_occ.py:52
↓ 1 callersFunctionload_gt
Loads ground truth boxes from DB. :param nusc: A NuScenes instance. :param eval_split: The evaluation split for which we load GT boxes.
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:244
↓ 1 callersFunctionload_json_logs
(json_logs)
tools/analysis_tools/analyze_logs.py:161
↓ 1 callersMethodloss_single
Args: voxel_semantics (torch.Tensor): occ_outs (torch.Tensor): Predicted occupancy features with shape (bs, w, h,
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head_waymo.py:284
↓ 1 callersMethodloss_single
(self, voxel_semantics, mask_camera, preds_dicts)
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head.py:209
↓ 1 callersMethodloss_single
(self, voxel_semantics, valid_mask, occ_preds,
projects/mmdet3d_plugin/bevformer/dense_heads/solo_head_occ_waymo.py:187
↓ 1 callersMethodlosses
Compute segmentation loss.
projects/mmdet3d_plugin/bevformer/modules/decode_head.py:266
↓ 1 callersFunctionmain
()
tools/train.py:105
↓ 1 callersFunctionmain
()
tools/test.py:119
↓ 1 callersFunctionmain
Convert keys in checkpoints for VoteNet. There can be some breaking changes during the development of mmdetection3d, and this tool is used fo
tools/model_converters/convert_votenet_checkpoints.py:71
↓ 1 callersFunctionmain
()
tools/model_converters/regnet2mmdet.py:81
↓ 1 callersFunctionmain
()
tools/model_converters/publish_model.py:29
↓ 1 callersFunctionmain
()
tools/analysis_tools/benchmark.py:37
↓ 1 callersFunctionmain
()
tools/analysis_tools/analyze_logs.py:181
↓ 1 callersFunctionmain
()
tools/misc/browse_dataset.py:190
↓ 1 callersFunctionmain
()
tools/misc/fuse_conv_bn.py:54
↓ 1 callersFunctionmain
()
tools/misc/visualize_results.py:21
↓ 1 callersFunctionmain
()
tools/misc/print_config.py:18
↓ 1 callersFunctionmain
()
tools/fp16/train.py:102
↓ 1 callersFunctionmain
()
tools/data_converter/nuimage_converter.py:227
← previousnext →201–300 of 691, ranked by callers