MCPcopy Create free account

hub / github.com/Jasonkks/PTTR / functions

Functions1,101 in github.com/Jasonkks/PTTR

Functionboxes_iou3d_gpu
Args: boxes_a: (N, 7) [x, y, z, dx, dy, dz, heading] boxes_b: (M, 7) [x, y, z, dx, dy, dz, heading] Returns: ans_iou
OpenPCDet/pcdet/ops/iou3d_nms/iou3d_nms_utils.py:48
Functionboxes_iou_bev
Args: boxes_a: (N, 7) [x, y, z, dx, dy, dz, heading] boxes_b: (M, 7) [x, y, z, dx, dy, dz, heading] Returns: ans_iou
OpenPCDet/pcdet/ops/iou3d_nms/iou3d_nms_utils.py:31
Functionboxes_iou_bev_cpu
OpenPCDet/pcdet/ops/iou3d_nms/src/iou3d_cpu.cpp:232
Functionboxes_iou_bev_gpu
OpenPCDet/pcdet/ops/iou3d_nms/src/iou3d_nms.cpp:70
Functionboxes_overlap_bev_gpu
OpenPCDet/pcdet/ops/iou3d_nms/src/iou3d_nms.cpp:49
Methodbuild_backbone_2d
(self, model_info_dict)
OpenPCDet/pcdet/models/detectors/detector3d_template.py:97
Methodbuild_backbone_3d
(self, model_info_dict)
OpenPCDet/pcdet/models/detectors/detector3d_template.py:68
Methodbuild_dense_head
(self, model_info_dict)
OpenPCDet/pcdet/models/detectors/detector3d_template.py:125
Methodbuild_f2v
Builds frustum to voxel transformation Returns: f2v_module: nn.Module, Frustum to voxel transformation
OpenPCDet/pcdet/models/backbones_3d/vfe/image_vfe.py:39
Methodbuild_ffn
Builds frustum feature network Returns: ffn_module: nn.Module, Frustum feature network
OpenPCDet/pcdet/models/backbones_3d/vfe/image_vfe.py:26
Functionbuild_local_aggregation_module
(input_channels, config)
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py:10
Methodbuild_map_to_bev_module
(self, model_info_dict)
OpenPCDet/pcdet/models/detectors/detector3d_template.py:85
Methodbuild_pfe
(self, model_info_dict)
OpenPCDet/pcdet/models/detectors/detector3d_template.py:109
Methodbuild_point_head
(self, model_info_dict)
OpenPCDet/pcdet/models/detectors/detector3d_template.py:141
Methodbuild_roi_head
(self, model_info_dict)
OpenPCDet/pcdet/models/detectors/detector3d_template.py:160
Methodbuild_vfe
(self, model_info_dict)
OpenPCDet/pcdet/models/detectors/detector3d_template.py:52
Methodcalculate_grid_size
(self, data_dict=None, config=None)
OpenPCDet/pcdet/datasets/processor/data_processor.py:177
Functioncalib_to_matricies
Converts calibration object to transformation matricies Args: calib: calibration.Calibration, Calibration object Returns
OpenPCDet/pcdet/datasets/kitti/kitti_utils.py:52
Methodclear
Reset the state of the inner optimizer.
OpenPCDet/tools/train_utils/optimization/fastai_optim.py:162
Functioncompute_fg_mask
Compute foreground mask for images Args: gt_boxes2d: (B, N, 4), 2D box labels shape: torch.Size or tuple, Foreground mask des
OpenPCDet/pcdet/utils/loss_utils.py:235
Functionconcat_all_gather
Performs all_gather operation on the provided tensors. *** Warning ***: torch.distributed.all_gather has no gradient.
OpenPCDet/pcdet/utils/commu_utils.py:172
MethodconvertToPytorch
Helper from pytorch. :return: Pytorch array of points.
data_classes.py:105
Functionconvert_det_to_lyft_format
(lyft, det_annos)
OpenPCDet/pcdet/datasets/lyft/lyft_utils.py:258
Methodcorners3d_to_img_boxes
:param corners3d: (N, 8, 3) corners in rect coordinate :return: boxes: (None, 4) [x1, y1, x2, y2] in rgb coordinate :return:
OpenPCDet/pcdet/utils/calibration_kitti.py:107
Methodcount
(self)
metrics.py:95
Methodcount
(self)
metrics.py:129
Methodcreate
Create an `optim.Optimizer` from `opt_func` with `lr`. Set lr on `layer_groups`.
OpenPCDet/tools/train_utils/optimization/fastai_optim.py:240
Functioncreate_logger
(log_file=None, rank=0, log_level=logging.INFO)
OpenPCDet/pcdet/utils/common_utils.py:85
FunctioncropAndCenterPC_label
1. get pc inside 4*sample_box 2. label pc inside gt_box 3. move to sample_box 4. crop pc inside sample_box 5. gt_box as la
kitty_utils.py:306
FunctioncropAndCenterPC_label_test
(PC, sample_box, gt_box, offset=0, scale=1.0, normalize=False)
kitty_utils.py:369
FunctioncropAndCenterPC_label_test_time
(PC, sample_box, offset=0, scale=1.0)
kitty_utils.py:348
Functiondecode_bbox_from_heatmap
(heatmap, rot_cos, rot_sin, center, center_z, dim, point_cloud_range=None, voxel_
OpenPCDet/pcdet/models/model_utils/centernet_utils.py:154
Methoddecode_torch
Args: box_encodings: (B, N, 7 + ?) x, y, z, w, l, h, r, custom values anchors: (B, N, 7 + C) or (N, 7 + C) [x, y, z,
OpenPCDet/pcdet/utils/box_coder_utils.py:86
Methoddecode_torch
Args: box_encodings: (B, N, 7 + ?) x, y, z, w, l, h, r, custom values anchors: (B, N, 7 + C) or (N, 7 + C) [x, y, z,
OpenPCDet/pcdet/utils/box_coder_utils.py:118
Methoddecode_torch
Args: box_encodings: (N, 8 + C) [x, y, z, dx, dy, dz, cos, sin, ...] points: [x, y, z] pred_classes: (N)
OpenPCDet/pcdet/utils/box_coder_utils.py:189
Functiondist
(a, x, y)
kitty_utils.py:269
FunctiondistanceBB
(box1, box2)
kitty_utils.py:402
FunctiondistanceBB_Gaussian
(box1, box2, sigma=1)
kitty_utils.py:11
Methoddownsample_depth_map
(self, data_dict=None, config=None)
OpenPCDet/pcdet/datasets/processor/data_processor.py:185
Functiondraw_gaussian_to_heatmap
(heatmap, center, radius, k=1, valid_mask=None)
OpenPCDet/pcdet/models/model_utils/centernet_utils.py:47
Functiondraw_scenes
(points, gt_boxes=None, ref_boxes=None, ref_scores=None, ref_labels=None)
OpenPCDet/tools/visual_utils/visualize_utils.py:142
Functiondraw_scenes
(points, gt_boxes=None, ref_boxes=None, ref_labels=None, ref_scores=None, point_colors=None, draw_origin=True)
OpenPCDet/tools/visual_utils/open3d_vis_utils.py:38
Functiondraw_sphere_pts
(pts, color=(0, 1, 0), fig=None, bgcolor=(0, 0, 0), scale_factor=0.2)
OpenPCDet/tools/visual_utils/visualize_utils.py:94
Functiondrop_info_with_name
(info, name)
OpenPCDet/pcdet/utils/common_utils.py:27
Methodencode
Encodes the box instance to a JSON-friendly vector representation. :return: [<float>: 16]. List of floats encoding the box.
data_classes.py:177
Methodencode_torch
Args: gt_boxes: (N, 7 + C) [x, y, z, dx, dy, dz, heading, ...] points: (N, 3) [x, y, z] gt_classes: (N) [
OpenPCDet/pcdet/utils/box_coder_utils.py:153
Functionenlarge_box3d
Args: boxes3d: [x, y, z, dx, dy, dz, heading], (x, y, z) is the box center extra_width: [extra_x, extra_y, extra_z] Returns:
OpenPCDet/pcdet/utils/box_utils.py:145
Functioneval_one_epoch
(cfg, model, dataloader, epoch_id, logger, dist_test=False, save_to_file=False, result_dir=None)
OpenPCDet/tools/eval_utils/eval_utils.py:22
Functionevaluate
(label_path, result_path, label_split_file, current_class=0,
OpenPCDet/pcdet/datasets/kitti/kitti_object_eval_python/evaluate.py:15
Methodevaluation
(self, det_annos, class_names, **kwargs)
OpenPCDet/pcdet/datasets/pandaset/pandaset_dataset.py:437
Methodevaluation
(self, det_annos, class_names, **kwargs)
OpenPCDet/pcdet/datasets/kitti/kitti_dataset.py:353
Methodevaluation
(self, det_annos, class_names, **kwargs)
OpenPCDet/pcdet/datasets/waymo/waymo_dataset.py:278
Methodevaluation
(self, det_annos, class_names, **kwargs)
OpenPCDet/pcdet/datasets/nuscenes/nuscenes_dataset.py:198
Methodextra_repr
(self)
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py:309
Functionfarthest_point_sampling_wrapper
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:41
Functionfarthest_point_sampling_wrapper
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/src/sampling.cpp:24
Functionfill_trainval_infos
(data_path, lyft, train_scenes, val_scenes, test=False, max_sweeps=10)
OpenPCDet/pcdet/datasets/lyft/lyft_utils.py:86
Functionfill_trainval_infos
(data_path, nusc, train_scenes, val_scenes, test=False, max_sweeps=10)
OpenPCDet/pcdet/datasets/nuscenes/nuscenes_utils.py:252
Functionfilter_annos_low_score
(image_annos, thresh)
OpenPCDet/pcdet/datasets/kitti/kitti_object_eval_python/kitti_common.py:191
Methodfilter_by_difficulty
(self, db_infos, removed_difficulty)
OpenPCDet/pcdet/datasets/augmentor/database_sampler.py:88
Methodfilter_by_min_points
(self, db_infos, min_gt_points_list)
OpenPCDet/pcdet/datasets/augmentor/database_sampler.py:100
Functionfilter_kitti_anno
(image_anno, used_classes, used_difficulty=None,
OpenPCDet/pcdet/datasets/kitti/kitti_object_eval_python/kitti_common.py:152
Functionformat_lyft_results
(classwise_ap, class_names, iou_threshold_list, version='trainval')
OpenPCDet/pcdet/datasets/lyft/lyft_utils.py:319
Functionformat_nuscene_results
(metrics, class_names, version='default')
OpenPCDet/pcdet/datasets/nuscenes/nuscenes_utils.py:471
Methodforward
Uses iterative farthest point sampling to select a set of npoint features that have the largest minimum distance :param ctx:
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_utils.py:12
Methodforward
:param ctx: :param features: (B, C, N) :param idx: (B, npoint) index tensor of the features to gather :return:
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_utils.py:42
Methodforward
Find the three nearest neighbors of unknown in known :param ctx: :param unknown: (B, N, 3) :param known: (B, M, 3)
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_utils.py:79
Methodforward
Performs weight linear interpolation on 3 features :param ctx: :param features: (B, C, M) Features descriptors to be interpol
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_utils.py:111
Methodforward
:param ctx: :param features: (B, C, N) tensor of features to group :param idx: (B, npoint, nsample) tensor containing the ind
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_utils.py:159
Methodforward
:param ctx: :param radius: float, radius of the balls :param nsample: int, maximum number of features in the balls :p
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_utils.py:203
Methodforward
:param xyz: (B, N, 3) xyz coordinates of the features :param new_xyz: (B, npoint, 3) centroids :param features: (B, C, N) des
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_utils.py:241
Methodforward
:param xyz: (B, N, 3) xyz coordinates of the features :param new_xyz: ignored :param features: (B, C, N) descriptors of the f
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_utils.py:272
Methodforward
:param xyz: (B, N, 3) tensor of the xyz coordinates of the features :param features: (B, N, C) tensor of the descriptors of the the f
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_modules.py:19
Methodforward
:param unknown: (B, n, 3) tensor of the xyz positions of the unknown features :param known: (B, m, 3) tensor of the xyz positions of
OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_modules.py:141
Methodforward
Args: ctx: max_range: int, max range of voxels to be grouped nsample: int, maximum number of features in
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/voxel_query_utils.py:13
Methodforward
Args: new_coords: (M1 + M2 ..., 3) centers voxel indices of the ball query xyz: (N1 + N2 ..., 3) xyz coordinates of t
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/voxel_query_utils.py:61
Methodforward
:param xyz: (N1 + N2 ..., 3) tensor of the xyz coordinates of the features :param xyz_batch_cnt: (batch_size), [N1, N2, ...]
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/voxel_pool_modules.py:70
Methodforward
Args: ctx: radius: float, radius of the balls nsample: int, maximum number of features in the balls
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_utils.py:11
Methodforward
Args: ctx: features: (N1 + N2 ..., C) tensor of features to group features_batch_cnt: (batch_size) [N1 +
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_utils.py:51
Methodforward
Args: xyz: (N1 + N2 ..., 3) xyz coordinates of the features xyz_batch_cnt: (batch_size), [N1, N2, ...] ne
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_utils.py:119
Methodforward
Args: ctx: xyz: (B, N, 3) where N > npoint npoint: int, number of features in the sampled set Re
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_utils.py:160
Methodforward
Args: ctx: xyz: (N1 + N2 + ..., 3) where N > npoint xyz_batch_cnt: [N1, N2, ...] npoint: int,
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_utils.py:189
Methodforward
Args: ctx: unknown: (N1 + N2..., 3) unknown_batch_cnt: (batch_size), [N1, N2, ...] known: (M1
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_utils.py:226
Methodforward
Args: ctx: features: (M1 + M2 ..., C) idx: [N1 + N2 ..., 3] weight: [N1 + N2 ..., 3]
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_utils.py:263
Methodforward
Args: ctx: // support_xyz: (N1 + N2 ..., 3) xyz coordinates of the features // xyz_batch_cnt: (batch_size
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_utils.py:304
Methodforward
Args: ctx: support_xyz: (N1 + N2 ..., 3) xyz coordinates of the features xyz_batch_cnt: (batch_size), [N1
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_utils.py:359
Methodforward
Args: unknown: (N1 + N2 ..., 3) known: (M1 + M2 ..., 3) unknow_feats: (N1 + N2 ..., C1) known
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py:131
Methodforward
Args: support_xyz: (N1 + N2 ..., 3) xyz coordinates of the features support_features: (N1 + N2 ..., C) point-wise fea
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py:200
Methodforward
:param xyz: (N1 + N2 ..., 3) tensor of the xyz coordinates of the features :param xyz_batch_cnt: (batch_size), [N1, N2, ...]
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py:383
Methodforward
(self, **kwargs)
OpenPCDet/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py:458
Methodforward
Args: ctx: points: (B, N, 3) point_features: (B, N, C) boxes3d: (B, num_boxes, 7), [x, y, z,
OpenPCDet/pcdet/ops/roipoint_pool3d/roipoint_pool3d_utils.py:33
Methodforward
Args: ctx: rois: (N, 7) [x, y, z, dx, dy, dz, heading] (x, y, z) is the box center pts: (npoints, 3)
OpenPCDet/pcdet/ops/roiaware_pool3d/roiaware_pool3d_utils.py:57
Methodforward
Args: input: (B, #anchors, #classes) float tensor. Predicted logits for each class target: (B, #ancho
OpenPCDet/pcdet/utils/loss_utils.py:44
Methodforward
Args: input: (B, #anchors, #codes) float tensor. Ecoded predicted locations of objects. target: (B, #
OpenPCDet/pcdet/utils/loss_utils.py:109
Methodforward
Args: input: (B, #anchors, #codes) float tensor. Ecoded predicted locations of objects. target: (B, #
OpenPCDet/pcdet/utils/loss_utils.py:151
Methodforward
Args: input: (B, #anchors, #classes) float tensor. Predited logits for each class. target: (B, #ancho
OpenPCDet/pcdet/utils/loss_utils.py:189
Methodforward
(self, out, target, mask=None)
OpenPCDet/pcdet/utils/loss_utils.py:310
Methodforward
Args: output: (batch x dim x h x w) or (batch x max_objects) mask: (batch x max_objects) ind: (batch x ma
OpenPCDet/pcdet/utils/loss_utils.py:372
Methodforward
Args: data_dict: points: (N, 3 + C_in) gt_boxes: optional, (N, 7 + C) [x, y, z, dx, dy, dz, headi
OpenPCDet/pcdet/datasets/processor/data_processor.py:196
Methodforward
Args: data_dict: points: (N, 3 + C_in) ... Returns: data_dict:
OpenPCDet/pcdet/datasets/processor/point_feature_encoder.py:17
← previousnext →701–800 of 1,101, ranked by callers