MCPcopy Create free account

hub / github.com/JIA-Lab-research/UVTR / functions

Functions217 in github.com/JIA-Lab-research/UVTR

↓ 8 callersMethodget_bboxes
Generate bboxes from bbox head predictions. Args: preds_dicts (tuple[list[dict]]): Prediction results. img_metas (list
projects/mmdet3d_plugin/models/dense_heads/uvtr_head.py:494
↓ 4 callersMethod__init__
Args: input_ch(int) : the number of input channel out_features (list[str]): name of the layers whose outputs should
projects/mmdet3d_plugin/models/backbones/vovnet.py:270
↓ 4 callersMethodloss
Loss function. Args: gt_bboxes_list (list[Tensor]): Ground truth bboxes for each image with shape (nu
projects/mmdet3d_plugin/models/dense_heads/uvtr_head.py:404
↓ 4 callersFunctionmerge_all_aug_bboxes_3d
Merge augmented detection 3D bboxes and scores. Args: aug_results (list[dict]): The dict of detection results. The dict conta
projects/mmdet3d_plugin/core/merge_all_augs.py:8
↓ 3 callersFunctionnormalize_bbox
(bboxes, pc_range=None)
projects/mmdet3d_plugin/core/bbox/util.py:8
↓ 3 callersFunctionnuscenes_data_prep
Prepare data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth databas
extra_tools/create_data.py:9
↓ 3 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
extra_tools/data_converter/nuscenes_converter.py:307
↓ 2 callersMethod__init__
(self, num_feature_levels=4, num_cams=6, two_stage_num_prop
projects/mmdet3d_plugin/models/utils/uni3d_detr.py:21
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in nuScenes protocol. Args: result_path (str): Path of the result file. logger (logging
projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:478
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_pref
projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:407
↓ 2 callersMethodassign
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
↓ 2 callersFunctionconv1x1
1x1 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:136
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:116
↓ 2 callersFunctioncreate_groundtruth_database
Given the raw data, generate the ground truth database. Args: dataset_class_name (str): Name of the input dataset. data_path (str
extra_tools/data_converter/create_unified_gt_database.py:17
↓ 2 callersMethoddecode
Decode bboxes. Args: all_cls_scores (Tensor): Outputs from the classification head, \ shape [nb_dec, bs, num_query
projects/mmdet3d_plugin/core/bbox/coders/nms_free_coder.py:92
↓ 2 callersMethodextract_feat
Extract features from images and points.
projects/mmdet3d_plugin/models/detectors/uvtr.py:178
↓ 2 callersMethodextract_feat
Extract features from images and points.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:182
↓ 2 callersMethodextract_feat
Extract features from images and points.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:235
↓ 2 callersMethodextract_feat
Extract features from images and points.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:158
↓ 2 callersMethodextract_img_feat
Extract features of images.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:162
↓ 2 callersMethodextract_img_feat
Extract features of images.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:215
↓ 2 callersMethodextract_img_feat
Extract features of images.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:126
↓ 2 callersMethodextract_pts_feat
Extract features of points.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:185
↓ 2 callersMethodextract_pts_feat
Extract features of points.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:108
↓ 2 callersMethodformat_results
Format the results to json (standard format for COCO evaluation). Args: results (list[dict]): Testing results of the dataset.
projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:536
↓ 2 callersMethodget_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:358
↓ 2 callersMethodinit_weight
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/models/utils/uni3d_detr.py:206
↓ 2 callersMethodpred_depth
(self, img_feats, depth_net)
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:230
↓ 2 callersMethodpred_depth
(self, img_feats, depth_net)
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:295
↓ 2 callersMethodpred_depth
(self, img, img_metas, img_feats=None)
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:193
↓ 2 callersMethodpreprocess_img
(self, img, img_metas)
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:143
↓ 2 callersMethodrandom_flip_data_3d
Flip 3D data randomly. Args: input_dict (dict): Result dict from loading pipeline. direction (str): Flip direction. D
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:515
↓ 2 callersMethodsample_all
Sampling all categories of bboxes. Args: gt_bboxes (np.ndarray): Ground truth bounding boxes. gt_labels (np.ndarray):
projects/mmdet3d_plugin/datasets/pipelines/dbsampler.py:126
↓ 1 callersMethod__init__
(self, size=None, size_divisor=None, pad_val=0)
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:27
↓ 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:7
↓ 1 callersMethod__init__
(self, num_cams=6, num_convs=3, num_points=5,
projects/mmdet3d_plugin/models/utils/uni3d_viewtrans.py:13
↓ 1 callersMethod_crop_img
(self, results)
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:276
↓ 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
extra_tools/data_converter/nuscenes_converter.py:148
↓ 1 callersMethod_flip_img
(self, results, flip_type='horizontal')
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:265
↓ 1 callersMethod_freeze_stages
(self)
projects/mmdet3d_plugin/models/backbones/vovnet.py:353
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:35
↓ 1 callersMethod_random_scale
Private function to randomly set the scale factor. Args: input_dict (dict): Result dict from loading pipeline. Returns:
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:430
↓ 1 callersMethod_resize_img
(self, results)
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:251
↓ 1 callersMethod_rot_bbox_points
Private function to rotate bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Return
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:356
↓ 1 callersMethod_scale_bbox_points
Private function to scale bounding boxes and points. Args: input_dict (dict): Result dict from loading pipeline. Returns
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:403
↓ 1 callersMethodaug_test
Test function with augmentaiton.
projects/mmdet3d_plugin/models/detectors/uvtr.py:354
↓ 1 callersMethodaug_test
Test function with augmentaiton.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:384
↓ 1 callersMethodaug_test
Test function with augmentaiton.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:449
↓ 1 callersMethodaug_test
Test function with augmentaiton.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:353
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton.
projects/mmdet3d_plugin/models/detectors/uvtr.py:373
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:403
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:468
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:372
↓ 1 callersFunctionbbox3d_mapping_back
Map bboxes from testing scale to original image scale. Args: bboxes (:obj:`BaseInstance3DBoxes`): Boxes to be mapped back. scale_
projects/mmdet3d_plugin/core/bbox/util.py:76
↓ 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:39
↓ 1 callersFunctiondenormalize_bbox
(normalized_bboxes, pc_range=None, version=0.8)
projects/mmdet3d_plugin/core/bbox/util.py:38
↓ 1 callersFunctiondw_conv3x3
3x3 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:92
↓ 1 callersMethodevaluate
Evaluation in nuScenes protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str],
projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:581
↓ 1 callersMethodextract_feats
Extract point and image features of multiple samples.
projects/mmdet3d_plugin/models/detectors/uvtr.py:363
↓ 1 callersMethodextract_feats
Extract point and image features of multiple samples.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:393
↓ 1 callersMethodextract_feats
Extract point and image features of multiple samples.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:458
↓ 1 callersMethodextract_feats
Extract point and image features of multiple samples.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:362
↓ 1 callersMethodextract_img_feat
Extract features of images.
projects/mmdet3d_plugin/models/detectors/uvtr.py:146
↓ 1 callersMethodextract_pts_feat
Extract features of points.
projects/mmdet3d_plugin/models/detectors/uvtr.py:128
↓ 1 callersMethodfeat_encoding
(self, voxel_space, **kwargs)
projects/mmdet3d_plugin/models/utils/uni3d_viewtrans.py:136
↓ 1 callersFunctionfeature_sampling
(mlvl_feats, reference_voxel, pc_range, img_metas, img_depth=None, num_sweeps=1, num_cam=6, fp16_enabled=False
projects/mmdet3d_plugin/models/utils/uni3d_viewtrans.py:240
↓ 1 callersFunctionfind_img_crop
(gt_boxes_3d, input_img, input_info, points)
extra_tools/data_converter/create_unified_gt_database.py:185
↓ 1 callersMethodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxe
projects/mmdet3d_plugin/models/detectors/uvtr.py:215
↓ 1 callersMethodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxe
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:245
↓ 1 callersMethodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxe
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:310
↓ 1 callersMethodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxe
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:214
↓ 1 callersMethodforward_test
(self, img_metas, points=None, img=None, **kwargs)
projects/mmdet3d_plugin/models/detectors/uvtr.py:308
↓ 1 callersMethodforward_test
(self, img_metas, points=None, img=None, **kwargs)
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:338
↓ 1 callersMethodforward_test
(self, img_metas, points=None, img=None, **kwargs)
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:403
↓ 1 callersMethodforward_test
(self, img_metas, points=None, img=None, **kwargs)
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:307
↓ 1 callersMethodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None.
projects/mmdet3d_plugin/models/detectors/uvtr.py:259
↓ 1 callersMethodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_cs.py:289
↓ 1 callersMethodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:354
↓ 1 callersMethodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None.
projects/mmdet3d_plugin/models/detectors/uvtr_kd_l.py:258
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various information on top of the 2D bounding box coordinates. Args: ann_rec (dict): Original
extra_tools/data_converter/nuscenes_converter.py:598
↓ 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
extra_tools/data_converter/nuscenes_converter.py:433
↓ 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.
extra_tools/data_converter/nuscenes_converter.py:107
↓ 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:200
↓ 1 callersMethodget_targets
Compute regression and classification targets for a batch image. Outputs from a single decoder layer of a single feature level are used.
projects/mmdet3d_plugin/models/dense_heads/uvtr_head.py:284
↓ 1 callersMethodget_targets
Compute regression and classification targets for a batch image. Outputs from a single decoder layer of a single feature level are used.
projects/mmdet3d_plugin/models/dense_heads/uvtr_kd_head.py:299
↓ 1 callersMethodinit_layers
(self)
projects/mmdet3d_plugin/models/utils/uni3d_detr.py:39
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/models/utils/uni3d_viewtrans.py:108
↓ 1 callersMethodinit_weights
Initialize weights of the depth head.
projects/mmdet3d_plugin/models/detectors/uvtr.py:68
↓ 1 callersFunctionlidar_nusc_box_to_global
Convert the box from ego to global coordinate. Args: info (dict): Info for a specific sample data, including the calibration
projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:731
↓ 1 callersMethodloss_single
Loss function for outputs from a single decoder layer of a single feature level. Args: cls_scores (Tensor): Box score logi
projects/mmdet3d_plugin/models/dense_heads/uvtr_head.py:335
↓ 1 callersMethodloss_single
Loss function for outputs from a single decoder layer of a single feature level. Args: cls_scores (Tensor): Box score logi
projects/mmdet3d_plugin/models/dense_heads/uvtr_kd_head.py:350
↓ 1 callersFunctionmain
()
extra_tools/train.py:94
↓ 1 callersFunctionmain
()
extra_tools/test.py:102
↓ 1 callersMethodmake_encoder_layers
make encoder layers using sparse convs. Args: make_block (method): A bounded function to build blocks. norm_cfg (dict
projects/mmdet3d_plugin/models/pts_encoder/sparse_encoder_hd.py:136
↓ 1 callersFunctionoutput_to_nusc_box
Convert the output to the box class in the nuScenes. Args: detection (dict): Detection results. - boxes_3d (:obj:`BaseInstan
projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:684
↓ 1 callersFunctionparse_args
()
extra_tools/train.py:25
↓ 1 callersFunctionparse_args
()
extra_tools/test.py:20
↓ 1 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
extra_tools/data_converter/nuscenes_converter.py:565
↓ 1 callersMethodpred_depth
(self, img, img_metas, img_feats=None)
projects/mmdet3d_plugin/models/detectors/uvtr.py:194
↓ 1 callersMethodpreprocess_img
(self, img, img_metas)
projects/mmdet3d_plugin/models/detectors/uvtr_kd_m.py:196
next →1–100 of 217, ranked by callers