MCPcopy Create free account

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

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

↓ 2 callersMethodforward_train
(self, points=None, img_metas=None, gt_bboxe
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformerV2.py:207
↓ 2 callersMethodfrom_vectors
Parameters ---------- vecs: Iterable[np.ndarray] Iterable of 10D pose representation. intrinsics: np.nda
BEVFormer/projects/mmdet3d_plugin/dd3d/structures/boxes3d.py:208
↓ 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
BEVFormer/tools/misc/fuse_conv_bn.py:10
↓ 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)
BEVFormer/tools/data_converter/kitti_converter.py:381
↓ 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.
BEVFormer/tools/data_converter/nuscenes_converter.py:118
↓ 2 callersFunctionget_bev_model
(args)
BEVFormer/projects/bevdiffuser/model_utils.py:18
↓ 2 callersFunctionget_calib_path
(idx, prefix, training=True, relative_path=True,
BEVFormer/tools/data_converter/kitti_data_utils.py:72
↓ 2 callersMethodget_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_dataset.py:92
↓ 2 callersMethodget_data_info
(self, index)
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_dataset_v2.py:206
↓ 2 callersFunctionget_image_index_str
(img_idx, use_prefix_id=False)
BEVFormer/tools/data_converter/kitti_data_utils.py:10
↓ 2 callersFunctionget_image_path
(idx, prefix, training=True, relative_path=True,
BEVFormer/tools/data_converter/kitti_data_utils.py:40
↓ 2 callersMethodget_instance_annotations
(self, annotation_list, K, image_shape, pose_WS)
BEVFormer/projects/mmdet3d_plugin/dd3d/datasets/nuscenes.py:176
↓ 2 callersFunctionget_label_anno
(label_path)
BEVFormer/tools/data_converter/kitti_data_utils.py:92
↓ 2 callersFunctionget_label_path
(idx, prefix, training=True, relative_path=True,
BEVFormer/tools/data_converter/kitti_data_utils.py:51
↓ 2 callersFunctionget_obj_from_str
(string, reload=False)
BEVFormer/projects/bevdiffuser/model_utils.py:90
↓ 2 callersFunctionget_pose_path
(idx, prefix, training=True, relative_path=True,
BEVFormer/tools/data_converter/kitti_data_utils.py:82
↓ 2 callersMethodget_reference_points
Get the reference points used in SCA and TSA. Args: H, W: spatial shape of bev. Z: hight of pillar. D: sam
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/encoder.py:51
↓ 2 callersMethodget_sample_region
(self, boxes, num_loc_list, loc_xs, loc_ys)
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/prepare_targets.py:186
↓ 2 callersMethodget_seg_infos
(self)
BEVFormer/tools/data_converter/scannet_data_utils.py:244
↓ 2 callersMethodinverse
Returns a new Transform3d object that represents an inverse of the current transformation. Args: invert_composed
BEVFormer/projects/mmdet3d_plugin/dd3d/structures/transform3d.py:344
↓ 2 callersFunctionis_distributed
()
BEVFormer/projects/mmdet3d_plugin/dd3d/utils/comm.py:14
↓ 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
BEVFormer/tools/create_data.py:98
↓ 2 callersMethodnms_and_top_k
(self, instances_per_im, score_key_for_nms="scores")
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/fcos2d.py:361
↓ 2 callersFunctionnormalize_bbox
(bboxes, pc_range)
BEVFormer/projects/mmdet3d_plugin/core/bbox/util.py:9
↓ 2 callersMethodnormalize_bbox
(self, bbox)
BEVFormer/projects/bevdiffuser/data_utils.py:92
↓ 2 callersMethodnormalize_bbox
(self, bbox)
BEVFormer/projects/bevdiffuser/data_utils.py:216
↓ 2 callersFunctionoutput_to_nusc_box
Convert the output to the box class in the nuScenes. Args: detection (dict): Detection results. - boxes_3d (:obj:`BaseInstance
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:637
↓ 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
BEVFormer/tools/data_converter/nuscenes_converter.py:583
↓ 2 callersFunctionpredictions_to_boxes3d
( quat, proj_ctr, depth, size, locations, inv_intrinsics, canon_box_sizes, min
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/fcos3d.py:17
↓ 2 callersMethodprepare_test_data
Prepare data for testing. Args: index (int): Index for accessing the target data. Returns: dict: Testing dat
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_dataset_v2.py:32
↓ 2 callersMethodsave_image
Parse and save the images in png format. Args: frame (:obj:`Frame`): Open dataset frame proto. file_idx (int): Curren
BEVFormer/tools/data_converter/waymo_converter.py:132
↓ 2 callersMethodsimple_test
Test function without augmentaiton.
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformer.py:324
↓ 2 callersMethodsimple_test_loss
(self, img_metas, img=None, prev_bev=None, given_bev=None, **kwargs)
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformer.py:339
↓ 2 callersFunctionsmooth_l1_loss
Smooth L1 loss defined in the Fast R-CNN paper as: | 0.5 * x ** 2 / beta if abs(x) < beta smoothl1(x) = |
BEVFormer/projects/mmdet3d_plugin/dd3d/layers/smooth_l1_loss.py:9
↓ 2 callersMethodtrain
(self, data_loader, **kwargs)
BEVFormer/projects/mmdet3d_plugin/bevformer/runner/diff_epoch_based_runner.py:52
↓ 2 callersMethodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/diff_bevformer.py:23
↓ 2 callersMethodunion2one
convert sample queue into one single sample.
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_dataset_v2.py:115
↓ 2 callersMethodval_step
In BEVFormer_fp16, we use this `val_step` function to inference the `prev_pev`. This is not the standard function of `val_step`.
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/bevformer_fp16.py:83
↓ 1 callersMethod__getitem__
(self, idx)
BEVFormer/projects/bevdiffuser/data_utils.py:24
↓ 1 callersMethod__init__
(self, pc_range, use_3d_bbox=True, num_classes=12, num_bboxes=300, *args, **kwargs)
BEVFormer/projects/bevdiffuser/data_utils.py:15
↓ 1 callersMethod__init__
(self, *args, return_intermediate=False, **kwargs)
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/decoder.py:66
↓ 1 callersMethod__init__
(self, embed_dims=256, num_cams=6, pc_range=None,
BEVFormer/projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:49
↓ 1 callersMethod__init__
(self, *args, with_box_refine=False, as_two_stage=False,
BEVFormer/projects/mmdet3d_plugin/bevformer/dense_heads/bevformer_head.py:37
↓ 1 callersMethod__init__
Initialize a DetectionEval object. :param nusc: A NuScenes object. :param config: A DetectionConfig object. :param re
BEVFormer/projects/mmdet3d_plugin/datasets/nuscnes_eval.py:517
↓ 1 callersMethod__init__
(self, num_classes, input_shape, num_cls_convs=4,
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/fcos2d.py:32
↓ 1 callersMethod__init__
(self, num_classes, input_shape, num_convs=4,
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/fcos3d.py:57
↓ 1 callersMethod__init__
(self, use_h, use_w, rotate = 1, offset=False, ratio = 0.5, mode=0, prob = 1.)
BEVFormer/projects/mmdet3d_plugin/models/utils/grid_mask.py:13
↓ 1 callersFunction_as_tensor
An equivalent of `torch.as_tensor`, but works under tracing if input is a list of tensor. `torch.as_tensor` will record a constant in tracing
BEVFormer/projects/mmdet3d_plugin/dd3d/structures/image_list.py:14
↓ 1 callersFunction_axis_angle_rotation
Return the rotation matrices for one of the rotations about an axis of which Euler angles describe, for each value of the angle given. A
BEVFormer/projects/mmdet3d_plugin/dd3d/structures/transform3d.py:84
↓ 1 callersMethod_box_transform
(self, box, resize, crop, flip, img_width)
BEVFormer/projects/mmdet3d_plugin/datasets/pipelines/augmentation.py:147
↓ 1 callersMethod_build_dataset_item_info
(self, name)
BEVFormer/projects/mmdet3d_plugin/dd3d/datasets/nuscenes.py:122
↓ 1 callersMethod_build_default_pipeline
Build the default pipeline for this dataset.
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:591
↓ 1 callersMethod_build_id
(self, scene_name, sample_idx, datum_name)
BEVFormer/projects/mmdet3d_plugin/dd3d/datasets/nuscenes.py:161
↓ 1 callersFunction_calc_dynamic_intervals
(start_interval, dynamic_interval_list)
BEVFormer/projects/mmdet3d_plugin/core/evaluation/eval_hooks.py:21
↓ 1 callersFunction_check_valid_rotation_matrix
Determine if R is a valid rotation matrix by checking it satisfies the following conditions: ``RR^T = I and det(R) = 1`` Args:
BEVFormer/projects/mmdet3d_plugin/dd3d/structures/transform3d.py:872
↓ 1 callersFunction_compute_iou
Parameters ---------- box1, box2: (x1, y1, x2, y2)
BEVFormer/projects/mmdet3d_plugin/dd3d/datasets/nuscenes.py:80
↓ 1 callersMethod_convert_to_label
Convert class_id in loaded segmentation mask to label.
BEVFormer/tools/data_converter/s3dis_data_utils.py:206
↓ 1 callersMethod_convert_to_label
Convert class_id in loaded segmentation mask to label.
BEVFormer/tools/data_converter/scannet_data_utils.py:258
↓ 1 callersFunction_create_empty_instances
(image_size)
BEVFormer/projects/mmdet3d_plugin/dd3d/datasets/transform_utils.py:73
↓ 1 callersMethod_extract_data
Load data using input pipeline and extract data according to key. Args: index (int): Index for accessing the target data.
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:544
↓ 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
BEVFormer/tools/data_converter/nuscenes_converter.py:184
↓ 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
BEVFormer/tools/data_converter/lyft_converter.py:98
↓ 1 callersMethod_freeze_stages
(self)
BEVFormer/projects/mmdet3d_plugin/models/backbones/vovnet.py:357
↓ 1 callersFunction_get_can_bus_info
(nusc, nusc_can_bus, sample)
BEVFormer/tools/data_converter/nuscenes_converter.py:159
↓ 1 callersMethod_get_matrix_inverse
Return the inverse of self._matrix.
BEVFormer/projects/mmdet3d_plugin/dd3d/structures/transform3d.py:338
↓ 1 callersMethod_get_pipeline
Get data loading pipeline in self.show/evaluate function. Args: pipeline (list[dict] | None): Input pipeline. If None is given, \
BEVFormer/projects/mmdet3d_plugin/datasets/nuscenes_mono_dataset.py:575
↓ 1 callersMethod_get_split_scenes
(self, name)
BEVFormer/projects/mmdet3d_plugin/dd3d/datasets/nuscenes.py:142
↓ 1 callersFunction_handle_angle_input
Helper function for building a rotation function using angles. The output is always of shape (N,). The input can be one of: - To
BEVFormer/projects/mmdet3d_plugin/dd3d/structures/transform3d.py:823
↓ 1 callersMethod_img_transform
(self, img, resize, resize_dims, crop, flip)
BEVFormer/projects/mmdet3d_plugin/datasets/pipelines/augmentation.py:167
↓ 1 callersMethod_index_instance_tokens
Index instance tokens for uniquely identifying instances across samples
BEVFormer/projects/mmdet3d_plugin/dd3d/datasets/nuscenes.py:166
↓ 1 callersMethod_init_layers
Initialize classification branch and regression branch of head.
BEVFormer/projects/mmdet3d_plugin/bevformer/dense_heads/bev_head.py:64
↓ 1 callersMethod_init_weights
(self)
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/fcos3d.py:155
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
BEVFormer/projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:32
↓ 1 callersFunction_parse_coco_ann_info
(ann_info)
BEVFormer/tools/data_converter/create_gt_database.py:37
↓ 1 callersMethod_parse_losses_mix
Parse the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/diff_bevformerV2.py:181
↓ 1 callersMethod_parse_losses_mix
Parse the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
BEVFormer/projects/mmdet3d_plugin/bevformer/detectors/diff_bevformer.py:207
↓ 1 callersFunction_poly2mask
(mask_ann, img_h, img_w)
BEVFormer/tools/data_converter/create_gt_database.py:21
↓ 1 callersFunction_safe_det_3x3
Fast determinant calculation for a batch of 3x3 matrices. Note, result of this function might not be the same as `torch.det()`. The diff
BEVFormer/projects/mmdet3d_plugin/dd3d/structures/transform3d.py:62
↓ 1 callersMethod_sample_augmentation
(self, results)
BEVFormer/projects/mmdet3d_plugin/datasets/pipelines/augmentation.py:184
↓ 1 callersMethod_sample_augmentation
(self, results)
BEVFormer/projects/mmdet3d_plugin/datasets/pipelines/augmentation.py:278
↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
BEVFormer/projects/mmdet3d_plugin/dd3d/utils/geometry.py:14
↓ 1 callersFunctionadd_plot_parser
(subparsers)
BEVFormer/tools/analysis_tools/analyze_logs.py:112
↓ 1 callersFunctionadd_time_parser
(subparsers)
BEVFormer/tools/analysis_tools/analyze_logs.py:142
↓ 1 callersFunctionallocentric_to_egocentric
Parameters ---------- quat: Tensor (N, 4). Batch of (allocentric) quaternions. proj_ctr: Tensor (N, 2). Projected ce
BEVFormer/projects/mmdet3d_plugin/dd3d/utils/geometry.py:107
↓ 1 callersFunctionannotations_to_instances
Create an :class:`Instances` object used by the models, from instance annotations in the dataset dict. Args: annos (list[dict]):
BEVFormer/projects/mmdet3d_plugin/dd3d/datasets/transform_utils.py:83
↓ 1 callersMethodassign
Computes one-to-one matching based on the weighted costs. This method assign each query prediction to a ground truth or background. Th
BEVFormer/projects/mmdet3d_plugin/core/bbox/assigners/hungarian_assigner_3d.py:57
↓ 1 callersFunctionavg_pool_nd
Create a 1D, 2D, or 3D average pooling module.
BEVFormer/projects/bevdiffuser/layout_diffusion/nn.py:47
↓ 1 callersMethodbackward
(ctx, *output_grads)
BEVFormer/projects/bevdiffuser/layout_diffusion/nn.py:158
↓ 1 callersFunctionbuild_data_cfg
Build data config for loading visualization data.
BEVFormer/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
BEVFormer/tools/data_converter/waymo_converter.py:500
↓ 1 callersFunctioncenter_in_image
Check if a box is visible inside an image without accounting for occlusions. :param box: The box to be checked. :param intrinsic: <float:
BEVFormer/projects/mmdet3d_plugin/datasets/nuscnes_eval.py:192
↓ 1 callersFunctionclass_tp_curve
Plot the true positive curve for the specified class. :param md_list: DetectionMetricDataList instance. :param metrics: DetectionMetrics
BEVFormer/projects/mmdet3d_plugin/datasets/nuscnes_eval.py:79
↓ 1 callersFunctioncompute_ctrness_targets
(reg_targets)
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/fcos2d.py:21
↓ 1 callersMethodcompute_targets_for_locations
(self, locations, targets, size_ranges, num_loc_list)
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/nuscenes_dd3d.py:103
↓ 1 callersMethodcompute_targets_for_locations
(self, locations, targets, size_ranges, num_loc_list)
BEVFormer/projects/mmdet3d_plugin/dd3d/modeling/prepare_targets.py:101
↓ 1 callersFunctionconvert
Convert keys in pycls pretrained RegNet models to mmdet style.
BEVFormer/tools/model_converters/regnet2mmdet.py:54
↓ 1 callersFunctionconvert_color
(img_path)
BEVFormer/projects/mmdet3d_plugin/models/utils/visual.py:13
↓ 1 callersFunctionconvert_head
(model_key, model_weight, state_dict, converted_names)
BEVFormer/tools/model_converters/regnet2mmdet.py:15
↓ 1 callersFunctionconvert_reslayer
(model_key, model_weight, state_dict, converted_names)
BEVFormer/tools/model_converters/regnet2mmdet.py:22
↓ 1 callersFunctionconvert_stem
(model_key, model_weight, state_dict, converted_names)
BEVFormer/tools/model_converters/regnet2mmdet.py:7
← previousnext →101–200 of 674, ranked by callers