Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WangYueFt/detr3d
/ functions
Functions
250 in github.com/WangYueFt/detr3d
⨍
Functions
250
◇
Types & classes
33
↓ 12 callers
Function
_extend_matrix
(mat)
tools/data_converter/kitti_data_utils.py:136
↓ 6 callers
Function
_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 callers
Function
_read_imageset_file
(path)
tools/data_converter/kitti_converter.py:40
↓ 5 callers
Method
decode
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 callers
Function
get_kitti_info_path
(idx, prefix, info_type='image_2', fil
tools/data_converter/kitti_data_utils.py:17
↓ 5 callers
Function
inverse_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 callers
Method
__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 callers
Function
_calculate_num_points_in_gt
(data_path, infos, relative_path,
tools/data_converter/kitti_converter.py:46
↓ 4 callers
Method
get_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 callers
Function
obtain_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 callers
Function
create_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 callers
Method
get_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 callers
Function
get_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 callers
Function
get_velodyne_path
(idx, prefix, training=True, relative_path=T
tools/data_converter/kitti_data_utils.py:62
↓ 3 callers
Function
get_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 callers
Function
normalize_bbox
(bboxes, pc_range)
projects/mmdet3d_plugin/core/bbox/util.py:4
↓ 2 callers
Method
__init__
(self, embed_dims=256, num_heads=8, num_levels=4,
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py:236
↓ 2 callers
Function
add_difficulty_to_annos
(info)
tools/data_converter/kitti_data_utils.py:467
↓ 2 callers
Method
assign
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 callers
Function
conv1x1
1x1 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:136
↓ 2 callers
Function
conv3x3
3x3 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:116
↓ 2 callers
Method
convert
Convert action.
tools/data_converter/waymo_converter.py:92
↓ 2 callers
Method
convert_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 callers
Method
edge_feats
(self, query, K=16)
projects/mmdet3d_plugin/models/utils/dgcnn_attn.py:82
↓ 2 callers
Method
extract_feat
Extract features from images and points.
projects/mmdet3d_plugin/models/detectors/detr3d.py:69
↓ 2 callers
Function
fuse_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 callers
Function
fuse_module
(m)
tools/misc/fuse_conv_bn.py:26
↓ 2 callers
Function
get_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 callers
Function
get_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 callers
Function
get_calib_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:72
↓ 2 callers
Function
get_image_index_str
(img_idx, use_prefix_id=False)
tools/data_converter/kitti_data_utils.py:10
↓ 2 callers
Function
get_image_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:40
↓ 2 callers
Function
get_label_anno
(label_path)
tools/data_converter/kitti_data_utils.py:92
↓ 2 callers
Function
get_label_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:51
↓ 2 callers
Function
get_pose_path
(idx, prefix, training=True, relative_path=True,
tools/data_converter/kitti_data_utils.py:82
↓ 2 callers
Method
get_seg_infos
(self)
tools/data_converter/scannet_data_utils.py:239
↓ 2 callers
Method
init_weight
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py:297
↓ 2 callers
Function
inverse_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 callers
Method
loss
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 callers
Function
lyft_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 callers
Function
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:47
↓ 2 callers
Function
post_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 callers
Method
__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 callers
Method
_convert_to_label
Convert class_id in loaded segmentation mask to label.
tools/data_converter/s3dis_data_utils.py:201
↓ 1 callers
Method
_convert_to_label
Convert class_id in loaded segmentation mask to label.
tools/data_converter/scannet_data_utils.py:253
↓ 1 callers
Function
_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 callers
Function
_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 callers
Method
_freeze_stages
(self)
projects/mmdet3d_plugin/models/backbones/vovnet.py:353
↓ 1 callers
Method
_pad_img
Pad images according to ``self.size``.
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:27
↓ 1 callers
Function
_parse_coco_ann_info
(ann_info)
tools/data_converter/create_gt_database.py:32
↓ 1 callers
Function
_poly2mask
(mask_ann, img_h, img_w)
tools/data_converter/create_gt_database.py:16
↓ 1 callers
Function
add_plot_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:112
↓ 1 callers
Function
add_time_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:142
↓ 1 callers
Method
aug_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 callers
Method
aug_test_pts
(self, feats, img_metas, rescale=False)
projects/mmdet3d_plugin/models/detectors/detr3d.py:192
↓ 1 callers
Function
build_data_cfg
Build data config for loading visualization data.
tools/misc/browse_dataset.py:53
↓ 1 callers
Method
cart_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 callers
Function
convert
Convert keys in pycls pretrained RegNet models to mmdet style.
tools/model_converters/regnet2mmdet.py:54
↓ 1 callers
Function
convert_head
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:15
↓ 1 callers
Function
convert_reslayer
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:22
↓ 1 callers
Function
convert_stem
(model_key, model_weight, state_dict, converted_names)
tools/model_converters/regnet2mmdet.py:7
↓ 1 callers
Method
create_folder
Create folder for data preprocessing.
tools/data_converter/waymo_converter.py:369
↓ 1 callers
Function
crop_image_patch
(pos_proposals, gt_masks, pos_assigned_gt_inds, org_img)
tools/data_converter/create_gt_database.py:89
↓ 1 callers
Method
decode_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 callers
Function
denormalize_bbox
(normalized_bboxes, pc_range)
projects/mmdet3d_plugin/core/bbox/util.py:26
↓ 1 callers
Function
dw_conv3x3
3x3 convolution with padding
projects/mmdet3d_plugin/models/backbones/vovnet.py:92
↓ 1 callers
Function
export_nuim_to_coco
(nuim, data_root, out_dir, extra_tag, version, nproc)
tools/data_converter/nuimage_converter.py:150
↓ 1 callers
Method
extract_img_feat
Extract features of images.
projects/mmdet3d_plugin/models/detectors/detr3d.py:39
↓ 1 callers
Function
feature_sampling
(mlvl_feats, reference_points, pc_range, img_metas)
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py:381
↓ 1 callers
Function
fix_lyft
(root_folder='./data/lyft', version='v1.01')
tools/data_converter/lyft_data_fixer.py:7
↓ 1 callers
Method
flip_bbox
(self, input_dict, direction='horizontal')
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:292
↓ 1 callers
Method
flip_cam_params
(self, results)
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:279
↓ 1 callers
Method
flip_img
(self, results, direction='horizontal')
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:275
↓ 1 callers
Method
forward_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 callers
Method
forward_test
(self, img_metas, img=None, **kwargs)
projects/mmdet3d_plugin/models/detectors/detr3d.py:157
↓ 1 callers
Method
forward_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 callers
Function
generate_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 callers
Function
generate_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 callers
Function
get_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 callers
Method
get_aligned_box_label
(self, idx)
tools/data_converter/scannet_data_utils.py:47
↓ 1 callers
Method
get_axis_align_matrix
(self, idx)
tools/data_converter/scannet_data_utils.py:59
↓ 1 callers
Method
get_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 callers
Method
get_calibration
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:111
↓ 1 callers
Method
get_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 callers
Method
get_depth
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:106
↓ 1 callers
Method
get_extrinsics
(self, idx)
tools/data_converter/scannet_data_utils.py:73
↓ 1 callers
Method
get_image
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:98
↓ 1 callers
Method
get_image_shape
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:102
↓ 1 callers
Method
get_images
(self, idx)
tools/data_converter/scannet_data_utils.py:65
↓ 1 callers
Function
get_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 callers
Method
get_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 callers
Method
get_intrinsics
(self, idx)
tools/data_converter/scannet_data_utils.py:81
↓ 1 callers
Method
get_label_objects
(self, idx)
tools/data_converter/sunrgbd_data_utils.py:120
↓ 1 callers
Method
get_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 callers
Method
get_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 callers
Method
get_seg_infos
(self)
tools/data_converter/s3dis_data_utils.py:189
↓ 1 callers
Method
get_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 callers
Method
get_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 callers
Method
get_unaligned_box_label
(self, idx)
tools/data_converter/scannet_data_utils.py:53
↓ 1 callers
Method
init_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py:61
next →
1–100 of 250, ranked by callers