MCPcopy Create free account

hub / github.com/Xin-Ye-1/BEVDiffuser / functions

Functions674 in github.com/Xin-Ye-1/BEVDiffuser

↓ 1 callersFunctioncount_flops_attn
A counter for the `thop` package to count the operations in an attention operation. Meant to be used like: macs, params = thop.pr
BEVFormer/projects/bevdiffuser/layout_diffusion/layout_diffusion_unet.py:539
↓ 1 callersMethodcreate_folder
Create folder for data preprocessing.
BEVFormer/tools/data_converter/waymo_converter.py:372
↓ 1 callersFunctioncrop_image_patch
(pos_proposals, gt_masks, pos_assigned_gt_inds, org_img)
BEVFormer/tools/data_converter/create_gt_database.py:94
↓ 1 callersFunctioncustom_train_detector
(model, dataset, cfg, distributed=False,
BEVFormer/projects/mmdet3d_plugin/bevformer/apis/mmdet_train.py:36
↓ 1 callersMethoddecode_single
Decode bboxes. Args: cls_scores (Tensor): Outputs from the classification head, \ shape [num_query, cls_out_channe
BEVFormer/projects/mmdet3d_plugin/core/bbox/coders/nms_free_coder.py:45
↓ 1 callersFunctiondenormalize_bbox
(normalized_bboxes, pc_range)
BEVFormer/projects/mmdet3d_plugin/core/bbox/util.py:31
↓ 1 callersMethoddeserialize
Initialize from serialized content.
BEVFormer/projects/mmdet3d_plugin/datasets/nuscnes_eval.py:172
↓ 1 callersFunctiondw_conv3x3
3x3 convolution with padding
BEVFormer/projects/mmdet3d_plugin/models/backbones/vovnet.py:96
↓ 1 callersMethodembed_object_names
(self)
BEVFormer/projects/bevdiffuser/data_utils.py:31
↓ 1 callersMethodembed_object_names
(self)
BEVFormer/projects/bevdiffuser/data_utils.py:155
↓ 1 callersFunctionexport_nuim_to_coco
(nuim, data_root, out_dir, extra_tag, version, nproc)
BEVFormer/tools/data_converter/nuimage_converter.py:155
↓ 1 callersMethodextract_img_feat
Extract features of images.
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformerV2.py:80
↓ 1 callersMethodextract_img_feat
Extract features of images.
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformer.py:75
↓ 1 callersMethodfilter_crowd_annotations
(self, data_dict)
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_dataset_v2.py:200
↓ 1 callersFunctionfilter_eval_boxes_by_visibility
Applies filtering to boxes. Distance, bike-racks and points per box. :param nusc: An instance of the NuScenes class. :param eval_boxes: A
BEVFormer/projects/mmdet3d_plugin/datasets/nuscnes_eval.py:399
↓ 1 callersFunctionfix_lyft
(root_folder='./data/lyft', version='v1.01')
BEVFormer/tools/data_converter/lyft_data_fixer.py:12
↓ 1 callersMethodflip_along_x
(self, results)
BEVFormer/projects/mmdet3d_plugin/datasets/pipelines/augmentation.py:340
↓ 1 callersMethodflip_along_y
(self, results)
BEVFormer/projects/mmdet3d_plugin/datasets/pipelines/augmentation.py:358
↓ 1 callersFunctionfloat_to_uint8_color
(float_clr)
BEVFormer/projects/mmdet3d_plugin/dd3d/utils/visualization.py:96
↓ 1 callersMethodforward
(self, x)
BEVFormer/projects/bevdiffuser/layout_diffusion/nn.py:18
↓ 1 callersMethodforward
(self, x)
BEVFormer/projects/bevdiffuser/layout_diffusion/layout_encoder.py:60
↓ 1 callersMethodforward
(self, x)
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/transformerV2.py:49
↓ 1 callersMethodforward
(self, features, batched_inputs)
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/core.py:88
↓ 1 callersMethodforward_for_single_feature_map
(self, logits, box2d_reg, centerness, locations, image_sizes)
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/fcos2d.py:285
↓ 1 callersMethodforward_for_single_feature_map
( self, box3d_quat, box3d_ctr, box3d_depth, box3d_size, box3d_conf, inv_intrinsics, pred_instances, fc
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/fcos3d.py:356
↓ 1 callersMethodforward_pts_train
(self, pts_feats, gt_bboxes_3d,
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/diff_bevformerV2.py:116
↓ 1 callersMethodforward_pts_train
(self, pts_feats, gt_bboxes_3d,
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformerV2.py:115
↓ 1 callersMethodforward_pts_train
Forward function' Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxes_3d (list[:obj:`BaseIn
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/diff_bevformer.py:128
↓ 1 callersMethodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None.
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformer.py:197
↓ 1 callersFunctionfuse_module
(m)
BEVFormer/tools/misc/fuse_conv_bn.py:26
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various informations on top of the 2D bounding box coordinates. Args: ann_rec (dict): Origina
BEVFormer/tools/data_converter/kitti_converter.py:492
↓ 1 callersFunctiongenerate_record
Generate one 2D annotation record given various informations on top of the 2D bounding box coordinates. Args: ann_rec (dict): Origina
BEVFormer/tools/data_converter/nuscenes_converter.py:616
↓ 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 \
BEVFormer/tools/data_converter/nuscenes_converter.py:451
↓ 1 callersMethodget_2d_layout_bboxes
(self, gt_bboxes)
BEVFormer/projects/bevdiffuser/data_utils.py:120
↓ 1 callersMethodget_2d_layout_bboxes
(self, gt_bboxes)
BEVFormer/projects/bevdiffuser/data_utils.py:244
↓ 1 callersMethodget_3d_layout_bboxes
(self, gt_bboxes)
BEVFormer/projects/bevdiffuser/data_utils.py:107
↓ 1 callersMethodget_3d_layout_bboxes
(self, gt_bboxes)
BEVFormer/projects/bevdiffuser/data_utils.py:231
↓ 1 callersMethodget_aligned_box_label
(self, idx)
BEVFormer/tools/data_converter/scannet_data_utils.py:52
↓ 1 callersMethodget_attr_name
Get attribute from predicted index. This is a workaround to predict attribute when the predicted velocity is not reliable. We map the
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:236
↓ 1 callersMethodget_axis_align_matrix
(self, idx)
BEVFormer/tools/data_converter/scannet_data_utils.py:64
↓ 1 callersMethodget_bboxes
Convert instance masks to axis-aligned bounding boxes. Args: points (np.array): Scene points of shape (n, 6). pts_ins
BEVFormer/tools/data_converter/s3dis_data_utils.py:117
↓ 1 callersMethodget_bev_features
( self, mlvl_feats, bev_queries, bev_h, bev_w,
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/transformerV2.py:237
↓ 1 callersMethodget_calibration
(self, idx)
BEVFormer/tools/data_converter/sunrgbd_data_utils.py:116
↓ 1 callersFunctionget_classifier_gradient
(x, **kwargs)
BEVFormer/projects/bevdiffuser/test_bev_diffuser.py:223
↓ 1 callersFunctionget_condition
(batch)
BEVFormer/projects/bevdiffuser/train_bev_diffuser.py:237
↓ 1 callersMethodget_depth
(self, idx)
BEVFormer/tools/data_converter/sunrgbd_data_utils.py:111
↓ 1 callersMethodget_extrinsics
(self, idx)
BEVFormer/tools/data_converter/scannet_data_utils.py:78
↓ 1 callersMethodget_image
(self, idx)
BEVFormer/tools/data_converter/sunrgbd_data_utils.py:103
↓ 1 callersMethodget_image_shape
(self, idx)
BEVFormer/tools/data_converter/sunrgbd_data_utils.py:107
↓ 1 callersMethodget_images
(self, idx)
BEVFormer/tools/data_converter/scannet_data_utils.py:70
↓ 1 callersFunctionget_img_annos
Get semantic segmentation map for an image. Args: nuim (obj:`NuImages`): NuImages dataset object img_info (dict): Meta informatio
BEVFormer/tools/data_converter/nuimage_converter.py:68
↓ 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
BEVFormer/tools/data_converter/scannet_data_utils.py:92
↓ 1 callersMethodget_intrinsics
(self, idx)
BEVFormer/tools/data_converter/scannet_data_utils.py:86
↓ 1 callersMethodget_label_objects
(self, idx)
BEVFormer/tools/data_converter/sunrgbd_data_utils.py:125
↓ 1 callersMethodget_layout_info
(self, data)
BEVFormer/projects/bevdiffuser/data_utils.py:48
↓ 1 callersMethodget_layout_info
(self, data)
BEVFormer/projects/bevdiffuser/data_utils.py:172
↓ 1 callersFunctionget_predicted_data
Returns the data path as well as all annotations related to that sample_data. Note that the boxes are transformed into the current sensor's
BEVFormer/tools/analysis_tools/visual.py:210
↓ 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
BEVFormer/tools/data_converter/s3dis_data_utils.py:216
↓ 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
BEVFormer/tools/data_converter/scannet_data_utils.py:268
↓ 1 callersMethodget_seg_infos
(self)
BEVFormer/tools/data_converter/s3dis_data_utils.py:194
↓ 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.
BEVFormer/projects/mmdet3d_plugin/bevformer/dense_heads/bevformer_head.py:285
↓ 1 callersFunctionget_task_loss
(x, **kwargs)
BEVFormer/projects/bevdiffuser/train_bev_diffuser.py:137
↓ 1 callersMethodget_unaligned_box_label
(self, idx)
BEVFormer/tools/data_converter/scannet_data_utils.py:58
↓ 1 callersMethodget_uncondition
(self, cond)
BEVFormer/tools/bevdiffuser.py:43
↓ 1 callersFunctionget_waymo_image_info
Waymo annotation format version like KITTI: { [optional]points: [N, 3+] point cloud [optional, for kitti]image: {
BEVFormer/tools/data_converter/kitti_data_utils.py:265
↓ 1 callersMethodgetitem_by_datumtoken
(self, datum_token)
BEVFormer/projects/mmdet3d_plugin/dd3d/datasets/nuscenes.py:328
↓ 1 callersFunctionglobal_nusc_box_to_cam
Convert the box from global to camera coordinate. Args: info (dict): Info for a specific sample data, including the calibratio
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:719
↓ 1 callersFunctionhomogenize_points
Parameters ---------- xy: Tensor xy coordinates. shape=(N, ..., 2) E.g., (N, 2) or (N, K, 2) or (N, H, W, 2) Returns
BEVFormer/projects/mmdet3d_plugin/dd3d/utils/geometry.py:150
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/transformer.py:78
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/decoder.py:214
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention.py:112
↓ 1 callersMethodinit_weights
Initialize the transformer weights.
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/transformerV2.py:222
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:257
↓ 1 callersMethodinverse
Returns a new Pose that corresponds to the inverse of this one. Returns ---------- result: Pose Inverted
BEVFormer/projects/mmdet3d_plugin/dd3d/structures/pose.py:76
↓ 1 callersFunctionkitti_data_prep
Prepare data related to Kitti dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth database.
BEVFormer/tools/create_data.py:22
↓ 1 callersFunctionkitti_result_line
(result_dict, precision=4)
BEVFormer/tools/data_converter/kitti_data_utils.py:512
↓ 1 callersFunctionlidiar_render
(sample_token, data,out_path=None)
BEVFormer/tools/analysis_tools/visual.py:275
↓ 1 callersFunctionload_gt
Loads ground truth boxes from DB. :param nusc: A NuScenes instance. :param eval_split: The evaluation split for which we load GT boxes.
BEVFormer/projects/mmdet3d_plugin/datasets/nuscnes_eval.py:249
↓ 1 callersFunctionload_json_logs
(json_logs)
BEVFormer/tools/analysis_tools/analyze_logs.py:168
↓ 1 callersMethodloss_single
Loss function for outputs from a single decoder layer of a single feature level. Args: cls_scores (Tensor): Box score logi
BEVFormer/projects/mmdet3d_plugin/bevformer/dense_heads/bevformer_head.py:336
↓ 1 callersFunctionmain
()
BEVFormer/tools/train.py:135
↓ 1 callersFunctionmain
()
BEVFormer/tools/test.py:118
↓ 1 callersFunctionmain
Convert keys in checkpoints for VoteNet. There can be some breaking changes during the development of mmdetection3d, and this tool is used fo
BEVFormer/tools/model_converters/convert_votenet_checkpoints.py:70
↓ 1 callersFunctionmain
()
BEVFormer/tools/model_converters/regnet2mmdet.py:80
↓ 1 callersFunctionmain
()
BEVFormer/tools/model_converters/publish_model.py:29
↓ 1 callersFunctionmain
()
BEVFormer/tools/analysis_tools/benchmark.py:33
↓ 1 callersFunctionmain
()
BEVFormer/tools/analysis_tools/analyze_logs.py:188
↓ 1 callersFunctionmain
()
BEVFormer/tools/misc/browse_dataset.py:184
↓ 1 callersFunctionmain
()
BEVFormer/tools/misc/fuse_conv_bn.py:57
↓ 1 callersFunctionmain
()
BEVFormer/tools/misc/visualize_results.py:21
↓ 1 callersFunctionmain
()
BEVFormer/tools/misc/print_config.py:16
↓ 1 callersFunctionmain
()
BEVFormer/tools/fp16/train.py:96
↓ 1 callersFunctionmain
()
BEVFormer/tools/data_converter/nuimage_converter.py:220
↓ 1 callersFunctionmatrix_to_quaternion
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
BEVFormer/projects/mmdet3d_plugin/dd3d/utils/geometry.py:24
↓ 1 callersFunctionnusc_box_to_cam_box3d
Convert boxes from :obj:`NuScenesBox` to :obj:`CameraInstance3DBoxes`. Args: boxes (list[:obj:`NuScenesBox`]): List of predicted NuScenesB
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:756
↓ 1 callersMethodobtain_bev
(self, img=None, img_metas=None, **kwargs)
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformerV2.py:177
↓ 1 callersMethodobtain_bev
(self, img=None, img_metas=None, **kwargs)
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformer.py:170
↓ 1 callersFunctionparse_args
()
BEVFormer/tools/train.py:44
↓ 1 callersFunctionparse_args
()
BEVFormer/tools/test.py:36
↓ 1 callersFunctionparse_args
()
BEVFormer/tools/model_converters/convert_votenet_checkpoints.py:11
← previousnext →201–300 of 674, ranked by callers