MCPcopy Create free account

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

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

↓ 2 callersFunctionlovasz_hinge_flat
Binary Lovasz hinge loss logits: [P] Variable, logits at each prediction (between -\infty and +\infty) labels: [P] Tensor, binary gro
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:94
↓ 2 callersFunctionlovasz_softmax_flat
Multi-class Lovasz-Softmax loss probas: [P, C] Variable, class probabilities at each prediction (between 0 and 1) labels: [P] Tensor,
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:171
↓ 2 callersFunctionlyft_data_prep
Prepare data related to Lyft dataset. Related data consists of '.pkl' files recording basic infos. Although the ground truth database and 2D
tools/create_data.py:155
↓ 2 callersFunctionmy_compute_box_3d
(center, size, heading_angle)
tools/vis_tools/vis_occ.py:99
↓ 2 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_occ_converter.py:347
↓ 2 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_occ_converter_own.py:382
↓ 2 callersFunctionocc_nuscenes_data_prep
Prepare data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth databas
tools/create_data.py:104
↓ 2 callersFunctionoutput_to_nusc_box
Convert the output to the box class in the nuScenes. Args: detection (dict): Detection results. - boxes_3d (:obj:`BaseInsta
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:632
↓ 2 callersMethodper_class_iu
iou = TP / (TP + FP + FN).
projects/mmdet3d_plugin/datasets/occ_metrics.py:96
↓ 2 callersFunctionpost_process_coords
Get the intersection of the convex hull of the reprojected bbox corners and the image canvas, return None if no intersection. Args: c
tools/data_converter/nuscenes_converter.py:599
↓ 2 callersMethodprepare_test_data
Prepare data for testing. Args: index (int): Index for accessing the target data. Returns: dict: Test
projects/mmdet3d_plugin/datasets/nuscenes_occ.py:86
↓ 2 callersMethodsave_image
Parse and save the images in png format. Args: frame (:obj:`Frame`): Open dataset frame proto. file_idx (int): Curren
tools/data_converter/waymo_converter.py:127
↓ 2 callersFunctionshow_point_cloud
:param points: :param colors: false # do not show the color of point :param points_colors: :param bbox3d: voxel boundary Nx7 (center
tools/vis_tools/vis_occ.py:116
↓ 2 callersMethodsimple_test_pts
Test function of point cloud branch.
projects/mmdet3d_plugin/bevformer/detectors/centerpoint_solo.py:77
↓ 2 callersMethodtrain
Convert the model into training mode while keep normalization layer freezed.
projects/mmdet3d_plugin/bevformer/modules/unet.py:516
↓ 2 callersFunctionvoxel2points
(voxel, occ_show, voxelSize)
tools/vis_tools/vis_occ.py:65
↓ 2 callersMethodvoxel2points
(self, voxel)
projects/mmdet3d_plugin/datasets/occ_metrics.py:299
↓ 2 callersMethodvoxel_pooling_accelerated
(self, rots, trans, intrins, post_rots, post_trans, x)
projects/mmdet3d_plugin/bevformer/modules/view_transformer.py:227
↓ 2 callersMethodvoxel_pooling_prepare_v2
Data preparation for voxel pooling. Args: coor (torch.tensor): Coordinate of points in the lidar space in shape (
projects/mmdet3d_plugin/models/necks/view_transformer.py:186
↓ 2 callersFunctionvoxel_profile
(voxel, voxel_size)
tools/vis_tools/vis_occ.py:78
↓ 1 callersMethod__init__
(self, *args, return_intermediate=False, **kwargs)
projects/mmdet3d_plugin/bevformer/modules/decoder.py:61
↓ 1 callersMethod__init__
(self, attn_cfgs, feedforward_channels, ffn_dropout=0.0,
projects/mmdet3d_plugin/bevformer/modules/voxel_encoder.py:327
↓ 1 callersMethod__init__
(self, in_channels, out_channels, conv_cfg=dict(type='Co
projects/mmdet3d_plugin/bevformer/modules/concat_conv_module.py:9
↓ 1 callersMethod__init__
(self, attn_cfgs, feedforward_channels, ffn_dropout=0.0,
projects/mmdet3d_plugin/bevformer/modules/encoder_3d.py:292
↓ 1 callersMethod__init__
(self, embed_dims=256, num_cams=6, pc_range=None,
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention_3d.py:45
↓ 1 callersMethod__init__
(self, attn_cfgs, feedforward_channels, ffn_dropout=0.0,
projects/mmdet3d_plugin/bevformer/modules/vol_encoder.py:333
↓ 1 callersMethod__init__
(self, attn_cfgs, feedforward_channels, bev_h=200,
projects/mmdet3d_plugin/bevformer/modules/encoder.py:293
↓ 1 callersMethod__init__
(self, in_channels=240, out_channels=[16, 128, 64, 32], conv_cfg=dict(type='
projects/mmdet3d_plugin/bevformer/modules/cost_volume_module.py:10
↓ 1 callersMethod__init__
(self, embed_dims=256, num_cams=6, pc_range=None,
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:44
↓ 1 callersMethod__init__
(self, use_sigmoid=True, gamma=2.0, alpha=0.25,
projects/mmdet3d_plugin/bevformer/loss/ohem.py:83
↓ 1 callersMethod__init__
Initialize a DetectionEval object. :param nusc: A NuScenes object. :param config: A DetectionConfig object. :param re
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:512
↓ 1 callersMethod__init__
(self, *args, **kwargs)
projects/mmdet3d_plugin/models/backbones/bevdetresnet.py:15
↓ 1 callersMethod__init__
(self, use_h, use_w, rotate = 1, offset=False, ratio = 0.5, mode=0, prob = 1.)
projects/mmdet3d_plugin/models/utils/grid_mask.py:8
↓ 1 callersMethod__init__
(self, num_feats, row_num_embed=50, col_num_embed=50,
projects/mmdet3d_plugin/models/utils/positional_encoding.py:24
↓ 1 callersMethod_build_default_pipeline
Build the default pipeline for this dataset.
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:586
↓ 1 callersFunction_calc_dynamic_intervals
(start_interval, dynamic_interval_list)
projects/mmdet3d_plugin/core/evaluation/eval_hooks.py:16
↓ 1 callersMethod_check_input_divisible
(self, x)
projects/mmdet3d_plugin/bevformer/modules/unet.py:526
↓ 1 callersMethod_convert_to_label
Convert class_id in loaded segmentation mask to label.
tools/data_converter/s3dis_data_utils.py:207
↓ 1 callersMethod_convert_to_label
Convert class_id in loaded segmentation mask to label.
tools/data_converter/scannet_data_utils.py:281
↓ 1 callersMethod_extract_data
Load data using input pipeline and extract data according to key. Args: index (int): Index for accessing the target data.
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:539
↓ 1 callersFunction_fill_occ_trainval_infos
Generate the train/val infos from the raw data. Args: nusc (:obj:`NuScenes`): Dataset class in the nuScenes dataset. train_scenes
tools/data_converter/nuscenes_occ_converter_own.py:223
↓ 1 callersFunction_fill_trainval_infos
Generate the train/val infos from the raw data. Args: nusc (:obj:`NuScenes`): Dataset class in the nuScenes dataset. train_scenes
tools/data_converter/nuscenes_converter.py:205
↓ 1 callersFunction_fill_trainval_infos
Generate the train/val infos from the raw data. Args: nusc (:obj:`NuScenes`): Dataset class in the nuScenes dataset. train_scenes
tools/data_converter/nuscenes_occ_converter.py:206
↓ 1 callersFunction_fill_trainval_infos
Generate the train/val infos from the raw data. Args: lyft (:obj:`LyftDataset`): Dataset class in the Lyft dataset. train_scenes
tools/data_converter/lyft_converter.py:105
↓ 1 callersMethod_forward_feature
Forward function for feature maps before classifying each pixel with ``self.cls_seg`` fc. Args: inputs (list[Tensor]): Lis
projects/mmdet3d_plugin/bevformer/modules/unet.py:701
↓ 1 callersMethod_freeze_stages
(self)
projects/mmdet3d_plugin/models/backbones/vovnet.py:353
↓ 1 callersFunction_get_can_bus_info
(nusc, nusc_can_bus, sample)
tools/data_converter/nuscenes_converter.py:180
↓ 1 callersFunction_get_can_bus_info
(nusc, nusc_can_bus, sample)
tools/data_converter/nuscenes_occ_converter.py:181
↓ 1 callersFunction_get_can_bus_info
(nusc, nusc_can_bus, sample)
tools/data_converter/nuscenes_occ_converter_own.py:198
↓ 1 callersMethod_get_pipeline
Get data loading pipeline in self.show/evaluate function. Args: pipeline (list[dict] | None): Input pipeline. If None is given,
projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:570
↓ 1 callersMethod_group_indices_per_global_sample_idx
(self, global_sample_idx)
projects/mmdet3d_plugin/datasets/samplers/my_group_batch_sampler.py:109
↓ 1 callersMethod_infinite_group_indices
(self)
projects/mmdet3d_plugin/datasets/samplers/my_group_batch_sampler.py:100
↓ 1 callersMethod_init_inputs
Check and initialize input transforms. The in_channels, in_index and input_transform must match. Specifically, when input_transfor
projects/mmdet3d_plugin/bevformer/modules/decode_head.py:154
↓ 1 callersMethod_pad_img
Pad images according to `self.size`.
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:32
↓ 1 callersFunction_parse_coco_ann_info
(ann_info)
tools/data_converter/create_gt_database.py:32
↓ 1 callersFunction_poly2mask
(mask_ann, img_h, img_w)
tools/data_converter/create_gt_database.py:16
↓ 1 callersFunctionadd_plot_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:112
↓ 1 callersFunctionadd_time_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:135
↓ 1 callersMethodaug_test
Test function without augmentaiton.
projects/mmdet3d_plugin/bevformer/detectors/bevdet_solo.py:127
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton. The function implementation process is as follows: - step 1: map features
projects/mmdet3d_plugin/bevformer/detectors/centerpoint_solo.py:88
↓ 1 callersFunctionbuild_data_cfg
Build data config for loading visualization data.
tools/misc/browse_dataset.py:66
↓ 1 callersMethodcart_to_homo
Convert transformation matrix in Cartesian coordinates to homogeneous format. Args: mat (np.ndarray): Transformation matr
tools/data_converter/waymo_converter.py:522
↓ 1 callersFunctioncenter_in_image
Check if a box is visible inside an image without accounting for occlusions. :param box: The box to be checked. :param intrinsic: <float:
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:187
↓ 1 callersFunctioncheck_2d
()
projects/mmdet3d_plugin/bevformer/modules/unet.py:765
↓ 1 callersFunctioncheck_3d
()
projects/mmdet3d_plugin/bevformer/modules/unet.py:744
↓ 1 callersFunctionclass_tp_curve
Plot the true positive curve for the specified class. :param md_list: DetectionMetricDataList instance. :param metrics: DetectionMetrics
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:74
↓ 1 callersFunctioncollect_results_cpu
(result_part, size, tmpdir=None)
projects/mmdet3d_plugin/bevformer/apis/test_occ.py:111
↓ 1 callersMethodcombine
Combine predictions in waymo format for each sample together. Args: pathnames (str): Paths to save predictions. Returns:
projects/mmdet3d_plugin/core/evaluation/kitti2waymo.py:235
↓ 1 callersMethodcompute_CDist
(self, gtocc, predocc, mask)
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head_waymo.py:350
↓ 1 callersMethodcompute_CDist
(self, gtocc, predocc, mask)
projects/mmdet3d_plugin/datasets/cdist.py:59
↓ 1 callersMethodcompute_count_matrix
Calculate count matrix. Args: voxel_semantics (torch.Tensor): semantic occpuancy ground truth. voxel_sema
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head_waymo.py:401
↓ 1 callersMethodcompute_count_matrix
Calculate count matrix. Args: voxel_semantics (torch.Tensor): semantic occpuancy ground truth. voxel_sema
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head.py:264
↓ 1 callersMethodcompute_count_matrix
Calculate count matrix. Args: voxel_semantics (torch.Tensor): semantic occpuancy ground truth. voxel_semantic
projects/mmdet3d_plugin/bevformer/dense_heads/solo_head_occ_waymo.py:218
↓ 1 callersMethodcompute_count_matrix
(self, gtocc, predocc)
projects/mmdet3d_plugin/datasets/cdist.py:110
↓ 1 callersFunctionconvert
Convert keys in pycls pretrained RegNet models to mmdet style.
tools/model_converters/regnet2mmdet.py:55
↓ 1 callersMethodconvert
Convert action.
projects/mmdet3d_plugin/core/evaluation/kitti2waymo.py:203
↓ 1 callersFunctionconvert_color
(img_path)
projects/mmdet3d_plugin/models/utils/visual.py:8
↓ 1 callersFunctionconvert_head
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:16
↓ 1 callersFunctionconvert_reslayer
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:23
↓ 1 callersFunctionconvert_stem
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:8
↓ 1 callersMethodconvert_valid_bboxes
Convert the boxes into valid format. Args: box_dict (dict): Bounding boxes to be converted. - boxes_3d (:obj:``L
projects/mmdet3d_plugin/datasets/zltwaymo.py:515
↓ 1 callersMethodcreate_folder
Create folder for data preprocessing.
tools/data_converter/waymo_converter.py:387
↓ 1 callersMethodcreate_folder
Create folder for data conversion.
projects/mmdet3d_plugin/core/evaluation/kitti2waymo.py:84
↓ 1 callersMethodcreate_frustum
(self)
projects/mmdet3d_plugin/bevformer/modules/view_transformer.py:117
↓ 1 callersMethodcreate_frustum
Generate the frustum template for each image. Args: depth_cfg (tuple(float)): Config of grid alone depth axis in format
projects/mmdet3d_plugin/models/necks/view_transformer.py:75
↓ 1 callersMethodcreate_grid_infos
Generate the grid information including the lower bound, interval, and size. Args: x (tuple(float)): Config of grid alone
projects/mmdet3d_plugin/models/necks/view_transformer.py:57
↓ 1 callersFunctioncrop_image_patch
(pos_proposals, gt_masks, pos_assigned_gt_inds, org_img)
tools/data_converter/create_gt_database.py:91
↓ 1 callersFunctioncustom_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.py:25
↓ 1 callersFunctioncustom_train_detector
(model, dataset, cfg, distributed=False,
projects/mmdet3d_plugin/bevformer/apis/mmdet_train.py:28
↓ 1 callersMethoddecode_single
Decode bboxes. Args: cls_scores (Tensor): Outputs from the classification head, \ shape [num_query, cls_out_channe
projects/mmdet3d_plugin/core/bbox/coders/nms_free_coder.py:40
↓ 1 callersFunctiondenormalize_bbox
(normalized_bboxes, pc_range)
projects/mmdet3d_plugin/core/bbox/util.py:26
↓ 1 callersMethoddeserialize
Initialize from serialized content.
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:167
↓ 1 callersFunctiondisplay_laser_on_image
pcl: ego frame
tools/vis_tools/utils.py:50
↓ 1 callersFunctiondw_conv3x3
3x3 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:92
↓ 1 callersMethodeval_from_file
(self, pred_path, gt_path, load_interval=1)
projects/mmdet3d_plugin/datasets/occ_metrics.py:228
↓ 1 callersFunctionexport_nuim_to_coco
(nuim, data_root, out_dir, extra_tag, version, nproc)
tools/data_converter/nuimage_converter.py:160
↓ 1 callersMethodextract_img_feat
Extract features of images. Args: img (torch.Tensor): Image tensor with shape (bs, n_views, C, H, W).
projects/mmdet3d_plugin/bevformer/detectors/occformer_waymo.py:74
↓ 1 callersMethodextract_img_feat
Extract image featrues from the input image and some image metas. Args: img_inputs (List[torch.Tensor]): With input image
projects/mmdet3d_plugin/bevformer/detectors/solofusion.py:493
↓ 1 callersMethodextract_img_feat
Extract features of images. Args: img (torch.Tensor): Image tensor with shape (bs, n_views, C, H, W).
projects/mmdet3d_plugin/bevformer/detectors/occformer.py:68
↓ 1 callersMethodextract_img_feat
Extract features of images.
projects/mmdet3d_plugin/bevformer/detectors/bevdet_solo.py:37
← previousnext →101–200 of 691, ranked by callers