MCPcopy Create free account

hub / github.com/OpenDriveLab/OccNet / functions

Functions203 in github.com/OpenDriveLab/OccNet

↓ 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
↓ 3 callersFunctionbuild_dataloader
Build PyTorch DataLoader. In distributed training, each GPU/process has a dataloader. In non-distributed training, there is only one dataloade
projects/mmdet3d_plugin/datasets/builder.py:19
↓ 3 callersMethodextract_feat
Extract features from images and points.
projects/mmdet3d_plugin/bevformer/detectors/bevformer_occ.py:102
↓ 3 callersMethodinit_weight
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:71
↓ 3 callersFunctionprocess_one_sample
(sem_pred, lidar_rays, output_origin, flow_pred)
projects/mmdet3d_plugin/datasets/ray_metrics.py:89
↓ 3 callersFunctiontrans_matrix
(T, R)
tools/ray_iou/ego_pose_extractor.py:8
↓ 3 callersFunctiontrans_matrix
(T, R)
projects/mmdet3d_plugin/datasets/ego_pose_extractor.py:8
↓ 2 callersMethod_decide_interval
(self, runner)
projects/mmdet3d_plugin/core/evaluation/eval_hooks.py:38
↓ 2 callersFunctionbuild_sampler
(cfg, default_args)
projects/mmdet3d_plugin/datasets/samplers/sampler.py:6
↓ 2 callersFunctioncollect_results_cpu
(result_part, size, tmpdir=None)
projects/mmdet3d_plugin/bevformer/apis/test.py:96
↓ 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 callersFunctioncustom_multi_gpu_test
Test model with multiple gpus. This method tests model with multiple gpus and collects the results under two different modes: gpu and cpu mo
projects/mmdet3d_plugin/bevformer/apis/test.py:45
↓ 2 callersMethodencode
(self)
projects/mmdet3d_plugin/core/bbox/coders/nms_free_coder.py:36
↓ 2 callersMethodevaluate_miou
(self, occ_results, runner=None, show_dir=None, **eval_kwargs)
projects/mmdet3d_plugin/datasets/nuscenes_occ.py:136
↓ 2 callersMethodforward_test
(self, img_metas, img=None, voxel_semantics=None,
projects/mmdet3d_plugin/bevformer/detectors/bevformer_occ.py:231
↓ 2 callersFunctiongenerate_lidar_rays
()
projects/mmdet3d_plugin/datasets/ray_metrics.py:63
↓ 2 callersMethodget_bev_features
obtain bev features.
projects/mmdet3d_plugin/bevformer/modules/transformer_occ.py:171
↓ 2 callersMethodget_global_pose
(self, info, inverse=False)
tools/ray_iou/ego_pose_extractor.py:65
↓ 2 callersMethodget_global_pose
(self, info, inverse=False)
projects/mmdet3d_plugin/datasets/ego_pose_extractor.py:65
↓ 2 callersMethodget_global_pose
(self, sd_token, inverse=False)
projects/mmdet3d_plugin/datasets/nuscenes_ego_pose_loader.py:77
↓ 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:
projects/mmdet3d_plugin/bevformer/modules/encoder.py:51
↓ 2 callersMethodget_scene_token
(self, info)
tools/ray_iou/ego_pose_extractor.py:40
↓ 2 callersMethodget_scene_token
(self, info)
projects/mmdet3d_plugin/datasets/ego_pose_extractor.py:40
↓ 2 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
projects/mmdet3d_plugin/bevformer/modules/decoder.py:34
↓ 2 callersFunctionprocess_one_sample
(sem_pred, lidar_rays, output_origin, flow_pred, return_xyz=False)
tools/ray_iou/ray_casting.py:145
↓ 1 callersMethod__init__
(self, *args, return_intermediate=False, **kwargs)
projects/mmdet3d_plugin/bevformer/modules/decoder.py:61
↓ 1 callersMethod__init__
(self, attn_cfgs, feedforward_channels, ffn_dropout=0.0,
projects/mmdet3d_plugin/bevformer/modules/encoder.py:264
↓ 1 callersMethod__init__
(self, embed_dims=256, num_cams=6, pc_range=None,
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:45
↓ 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:8
↓ 1 callersFunction_calc_dynamic_intervals
(start_interval, dynamic_interval_list)
projects/mmdet3d_plugin/core/evaluation/eval_hooks.py:17
↓ 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:31
↓ 1 callersFunctioncalc_metrics
(pred_cls_list, pred_dist_list, pred_flow_list, gt_cls_list, gt_dist_list, gt_flow_list)
tools/ray_iou/metric.py:6
↓ 1 callersFunctioncalc_metrics
(pcd_pred_list, pcd_gt_list)
projects/mmdet3d_plugin/datasets/ray_metrics.py:146
↓ 1 callersFunctioncollect_results_gpu
(result_part, size)
projects/mmdet3d_plugin/bevformer/apis/test.py:180
↓ 1 callersFunctioncompute
(args)
tools/ray_iou/metric.py:83
↓ 1 callersFunctionconvert_color
(img_path)
projects/mmdet3d_plugin/models/utils/visual.py:8
↓ 1 callersFunctioncustom_build_dataset
(cfg, default_args=None)
projects/mmdet3d_plugin/datasets/builder.py:123
↓ 1 callersFunctioncustom_train_detector
(model, dataset, cfg, distributed=False,
projects/mmdet3d_plugin/bevformer/apis/mmdet_train.py:28
↓ 1 callersFunctioncustom_train_model
A function wrapper for launching model training according to cfg. Because we need different eval_hook in runner. Should be deprecated in the
projects/mmdet3d_plugin/bevformer/apis/train.py:11
↓ 1 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:102
↓ 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:40
↓ 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 callersMethodextract_img_feat
Extract features of images.
projects/mmdet3d_plugin/bevformer/detectors/bevformer_occ.py:66
↓ 1 callersMethodformat_results
(self, occ_results, submission_prefix, **kwargs)
projects/mmdet3d_plugin/datasets/nuscenes_occ.py:193
↓ 1 callersMethodforward_pts_train
Forward function' Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bboxes_3d (list[:obj:`Bas
projects/mmdet3d_plugin/bevformer/detectors/bevformer_occ.py:109
↓ 1 callersMethodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None
projects/mmdet3d_plugin/bevformer/detectors/bevformer_occ.py:181
↓ 1 callersFunctiongenerate_lidar_rays
()
tools/ray_iou/ray_casting.py:119
↓ 1 callersFunctiongenerate_the_ego_car
()
utils/vis.py:84
↓ 1 callersMethodget_bev_features
obtain bev features.
projects/mmdet3d_plugin/bevformer/modules/transformer.py:104
↓ 1 callersMethodget_ego_from_lidar
(self, info)
tools/ray_iou/ego_pose_extractor.py:55
↓ 1 callersMethodget_ego_from_lidar
(self, info)
projects/mmdet3d_plugin/datasets/ego_pose_extractor.py:55
↓ 1 callersMethodget_occ
Generate bboxes from bbox head predictions. Args: predss : occ results. img_metas (list[dict]): Point cloud and ima
projects/mmdet3d_plugin/bevformer/dense_heads/bevformer_occ_head.py:199
↓ 1 callersFunctionget_rendered_pcds
(origin, points, tindex, pred_dist)
tools/ray_iou/ray_casting.py:89
↓ 1 callersFunctionget_rendered_pcds
(origin, points, tindex, pred_dist)
projects/mmdet3d_plugin/datasets/ray_metrics.py:31
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/bevformer/modules/transformer_occ.py:146
↓ 1 callersMethodinit_layers
Initialize layers of the Detr3DTransformer.
projects/mmdet3d_plugin/bevformer/modules/transformer.py:70
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/decoder.py:209
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention.py:107
↓ 1 callersMethodinit_weights
Initialize the transformer weights.
projects/mmdet3d_plugin/bevformer/modules/transformer_occ.py:154
↓ 1 callersMethodinit_weights
Default initialization for Parameters of Module.
projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:253
↓ 1 callersMethodloss
(self, # gt_bboxes_list, # gt_labels_list, voxel_semantics,
projects/mmdet3d_plugin/bevformer/dense_heads/bevformer_occ_head.py:163
↓ 1 callersMethodloss_single
(self,voxel_semantics,voxel_flow,mask_camera,occ,flow)
projects/mmdet3d_plugin/bevformer/dense_heads/bevformer_occ_head.py:181
↓ 1 callersFunctionmain
()
tools/train.py:102
↓ 1 callersFunctionmain
()
tools/test.py:113
↓ 1 callersFunctionmain
(args)
tools/ray_iou/ray_casting.py:204
↓ 1 callersFunctionmy_compute_box_3d
(center, size, heading_angle)
utils/vis.py:68
↓ 1 callersFunctionnormalize_bbox
(bboxes, pc_range)
projects/mmdet3d_plugin/core/bbox/util.py:4
↓ 1 callersFunctionocc2img
(semantics)
tools/ray_iou/ray_casting.py:51
↓ 1 callersFunctionparse_args
()
tools/train.py:33
↓ 1 callersFunctionparse_args
()
tools/test.py:27
↓ 1 callersMethodpoint_sampling
(self, reference_points, pc_range, img_metas)
projects/mmdet3d_plugin/bevformer/modules/encoder.py:93
↓ 1 callersFunctionshow_point_cloud
(points: np.ndarray, colors=True, points_colors=None, obj_bboxes=None, voxelize=False, bbox_corners=None, line
utils/vis.py:105
↓ 1 callersMethodsimple_test
Test function without augmentaiton.
projects/mmdet3d_plugin/bevformer/detectors/bevformer_occ.py:261
↓ 1 callersMethodsimple_test_pts
Test function
projects/mmdet3d_plugin/bevformer/detectors/bevformer_occ.py:252
↓ 1 callersMethodtrain
Convert the model into training mode while keep normalization layer freezed.
projects/mmdet3d_plugin/models/backbones/vovnet.py:366
↓ 1 callersFunctionvis_nuscene
()
utils/vis.py:139
↓ 1 callersFunctionviz_pcd
(pcd, cls)
tools/ray_iou/ray_casting.py:69
↓ 1 callersFunctionvoxel2points
(voxel, voxelSize, range=[-40.0, -40.0, -1.0, 40.0, 40.0, 5.4], ignore_labels=[17, 255])
utils/vis.py:36
↓ 1 callersFunctionvoxel_profile
(voxel, voxel_size)
utils/vis.py:51
FunctionPYBIND11_MODULE
tools/ray_iou/lib/dvr/dvr.cpp:68
Method__call__
Args: bbox_pred (Tensor): Predicted boxes with normalized coordinates (cx, cy, w, h), which are all in range [0,
projects/mmdet3d_plugin/core/bbox/match_costs/match_cost.py:15
Method__call__
Call function to pad images, masks, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline. R
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:47
Method__call__
Call function to normalize images. Args: results (dict): Result dict from loading pipeline. Returns: dict: Nor
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:82
Method__call__
Call function to perform photometric distortion on images. Args: results (dict): Result dict from loading pipeline. Return
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:132
Method__call__
Call function to collect keys in results. The keys in ``meta_keys`` will be converted to :obj:`mmcv.DataContainer`. Args:
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:262
Method__call__
Call function to pad images, masks, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline. R
projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:303
Method__call__
(self, results)
projects/mmdet3d_plugin/datasets/pipelines/loading.py:21
Method__call__
Call function to transform and format common fields in results. Args: results (dict): Result dict contains the data to convert.
projects/mmdet3d_plugin/datasets/pipelines/formating.py:26
Method__call__
(self, img, label)
projects/mmdet3d_plugin/models/utils/grid_mask.py:21
Method__getitem__
(self, idx)
tools/ray_iou/ego_pose_extractor.py:83
Method__getitem__
(self, idx)
projects/mmdet3d_plugin/datasets/ego_pose_extractor.py:83
Method__getitem__
(self, idx)
projects/mmdet3d_plugin/datasets/nuscenes_ego_pose_loader.py:101
Method__getitem__
Get item from infos according to the given index. Returns: dict: Data dictionary of the corresponding index.
projects/mmdet3d_plugin/datasets/nuscenes_occ.py:122
Method__init__
(self, data_infos, dataset_type=None)
tools/ray_iou/ego_pose_extractor.py:15
Method__init__
(self, embed_dims=256, num_heads=8, num_levels=4,
projects/mmdet3d_plugin/bevformer/modules/decoder.py:160
Method__init__
(self, embed_dims=256, num_heads=8, num_levels=4,
projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention.py:55
Method__init__
(self, num_feature_levels=4, num_cams=6, two_stage_num_p
projects/mmdet3d_plugin/bevformer/modules/transformer_occ.py:38
next →1–100 of 203, ranked by callers