MCPcopy Create free account

hub / github.com/WangYueFt/detr3d / functions

Functions250 in github.com/WangYueFt/detr3d

↓ 12 callersFunction_extend_matrix
(mat)
tools/data_converter/kitti_data_utils.py:136
↓ 6 callersFunction_create_reduced_point_cloud
Create reduced point clouds for given info. Args: data_path (str): Path of original data. info_path (str): Path of data info.
tools/data_converter/kitti_converter.py:230
↓ 6 callersFunction_read_imageset_file
(path)
tools/data_converter/kitti_converter.py:40
↓ 5 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
↓ 5 callersFunctionget_kitti_info_path
(idx, prefix, info_type='image_2', fil
tools/data_converter/kitti_data_utils.py:17
↓ 5 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py:17
↓ 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 callersFunction_calculate_num_points_in_gt
(data_path, infos, relative_path,
tools/data_converter/kitti_converter.py:46
↓ 4 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/detr3d_head.py:426
↓ 4 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_converter.py:273
↓ 3 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
tools/data_converter/create_gt_database.py:109
↓ 3 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/s3dis_data_utils.py:45
↓ 3 callersFunctionget_kitti_image_info
KITTI annotation format version 2: { [optional]points: [N, 3+] point cloud [optional, for kitti]image: { image_id
tools/data_converter/kitti_data_utils.py:141
↓ 3 callersFunctionget_velodyne_path
(idx, prefix, training=True, relative_path=T
tools/data_converter/kitti_data_utils.py:62
↓ 3 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:265
↓ 3 callersFunctionnormalize_bbox
(bboxes, pc_range)
projects/mmdet3d_plugin/core/bbox/util.py:4
↓ 2 callersMethod__init__
(self, embed_dims=256, num_heads=8, num_levels=4,
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py:236
↓ 2 callersFunctionadd_difficulty_to_annos
(info)
tools/data_converter/kitti_data_utils.py:467
↓ 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 callersMethodconvert
Convert action.
tools/data_converter/waymo_converter.py:92
↓ 2 callersMethodconvert_range_image_to_point_cloud
Convert range images to point cloud. Args: frame (:obj:`Frame`): Open dataset frame. range_images (dict): Mapping fro
tools/data_converter/waymo_converter.py:389
↓ 2 callersMethodedge_feats
(self, query, K=16)
projects/mmdet3d_plugin/models/utils/dgcnn_attn.py:82
↓ 2 callersMethodextract_feat
Extract features from images and points.
projects/mmdet3d_plugin/models/detectors/detr3d.py:69
↓ 2 callersFunctionfuse_conv_bn
During inference, the functionary of batch norm layers is turned off but only the mean and var alone channels are used, which exposes the chance t
tools/misc/fuse_conv_bn.py:10
↓ 2 callersFunctionfuse_module
(m)
tools/misc/fuse_conv_bn.py:26
↓ 2 callersFunctionget_2d_boxes
Get the 2D annotation records for a given info. Args: info: Information of the given sample data. occluded: Integer (0, 1, 2, 3)
tools/data_converter/kitti_converter.py:379
↓ 2 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_converter.py:103
↓ 2 callersFunctionget_calib_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:72
↓ 2 callersFunctionget_image_index_str
(img_idx, use_prefix_id=False)
tools/data_converter/kitti_data_utils.py:10
↓ 2 callersFunctionget_image_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:40
↓ 2 callersFunctionget_label_anno
(label_path)
tools/data_converter/kitti_data_utils.py:92
↓ 2 callersFunctionget_label_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:51
↓ 2 callersFunctionget_pose_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:82
↓ 2 callersMethodget_seg_infos
(self)
tools/data_converter/scannet_data_utils.py:239
↓ 2 callersMethodinit_weight
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py:297
↓ 2 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
projects/mmdet3d_plugin/models/utils/detr.py:6
↓ 2 callersMethodloss
Loss function. Args: gt_bboxes_list (list[Tensor]): Ground truth bboxes for each image with shape (nu
projects/mmdet3d_plugin/models/dense_heads/detr3d_head.py:341
↓ 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:85
↓ 2 callersFunctionnuscenes_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:47
↓ 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:530
↓ 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_convert_to_label
Convert class_id in loaded segmentation mask to label.
tools/data_converter/s3dis_data_utils.py:201
↓ 1 callersMethod_convert_to_label
Convert class_id in loaded segmentation mask to label.
tools/data_converter/scannet_data_utils.py:253
↓ 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:144
↓ 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:93
↓ 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:27
↓ 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:142
↓ 1 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton. The function implementation process is as follows: - step 1: map features b
projects/mmdet3d_plugin/models/detectors/obj_dgcnn.py:84
↓ 1 callersMethodaug_test_pts
(self, feats, img_metas, rescale=False)
projects/mmdet3d_plugin/models/detectors/detr3d.py:192
↓ 1 callersFunctionbuild_data_cfg
Build data config for loading visualization data.
tools/misc/browse_dataset.py:53
↓ 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:497
↓ 1 callersFunctionconvert
Convert keys in pycls pretrained RegNet models to mmdet style.
tools/model_converters/regnet2mmdet.py:54
↓ 1 callersFunctionconvert_head
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:15
↓ 1 callersFunctionconvert_reslayer
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:22
↓ 1 callersFunctionconvert_stem
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:7
↓ 1 callersMethodcreate_folder
Create folder for data preprocessing.
tools/data_converter/waymo_converter.py:369
↓ 1 callersFunctioncrop_image_patch
(pos_proposals, gt_masks, pos_assigned_gt_inds, org_img)
tools/data_converter/create_gt_database.py:89
↓ 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)
projects/mmdet3d_plugin/core/bbox/util.py:26
↓ 1 callersFunctiondw_conv3x3
3x3 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:92
↓ 1 callersFunctionexport_nuim_to_coco
(nuim, data_root, out_dir, extra_tag, version, nproc)
tools/data_converter/nuimage_converter.py:150
↓ 1 callersMethodextract_img_feat
Extract features of images.
projects/mmdet3d_plugin/models/detectors/detr3d.py:39
↓ 1 callersFunctionfeature_sampling
(mlvl_feats, reference_points, pc_range, img_metas)
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py:381
↓ 1 callersFunctionfix_lyft
(root_folder='./data/lyft', version='v1.01')
tools/data_converter/lyft_data_fixer.py:7
↓ 1 callersMethodflip_bbox
(self, input_dict, direction='horizontal')
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:292
↓ 1 callersMethodflip_cam_params
(self, results)
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:279
↓ 1 callersMethodflip_img
(self, results, direction='horizontal')
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:275
↓ 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/detr3d.py:74
↓ 1 callersMethodforward_test
(self, img_metas, img=None, **kwargs)
projects/mmdet3d_plugin/models/detectors/detr3d.py:157
↓ 1 callersMethodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None.
projects/mmdet3d_plugin/models/detectors/detr3d.py:114
↓ 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:490
↓ 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:563
↓ 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:398
↓ 1 callersMethodget_aligned_box_label
(self, idx)
tools/data_converter/scannet_data_utils.py:47
↓ 1 callersMethodget_axis_align_matrix
(self, idx)
tools/data_converter/scannet_data_utils.py:59
↓ 1 callersMethodget_bboxes
Convert instance masks to axis-aligned bounding boxes. Args: points (np.array): Scene points of shape (n, 6). pts_ins
tools/data_converter/s3dis_data_utils.py:112
↓ 1 callersMethodget_calibration
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:111
↓ 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:13
↓ 1 callersMethodget_depth
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:106
↓ 1 callersMethodget_extrinsics
(self, idx)
tools/data_converter/scannet_data_utils.py:73
↓ 1 callersMethodget_image
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:98
↓ 1 callersMethodget_image_shape
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:102
↓ 1 callersMethodget_images
(self, idx)
tools/data_converter/scannet_data_utils.py:65
↓ 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:63
↓ 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:87
↓ 1 callersMethodget_intrinsics
(self, idx)
tools/data_converter/scannet_data_utils.py:81
↓ 1 callersMethodget_label_objects
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:120
↓ 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:211
↓ 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:263
↓ 1 callersMethodget_seg_infos
(self)
tools/data_converter/s3dis_data_utils.py:189
↓ 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/detr3d_head.py:221
↓ 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/dgcnn3d_head.py:258
↓ 1 callersMethodget_unaligned_box_label
(self, idx)
tools/data_converter/scannet_data_utils.py:53
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py:61
next →1–100 of 250, ranked by callers