MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 3 callersMethodprepare_bev_feat
(self, img, sensor2keyego, ego2global, intrin, post_rot, post_tran, bda, mlp_input, f
mmdet3d/models/detectors/bevdet.py:1520
↓ 3 callersFunctionquaternion_yaw
Calculate the yaw angle from a quaternion. Note that this only works for a quaternion that represents a box in lidar or global coordinate fra
mmdet3d/datasets/nuscenes_styled_eval_utils.py:105
↓ 3 callersMethodrefine_bbox
(self, bbox_proposal, bbox_delta)
mmdet3d/models/sparsebev/sparsebev_transformer.py:335
↓ 3 callersFunctionrename_op_output
Rename the op_id-th operator in predict_net, change it's output_id-th input's name to the new_name. It also does automatic re-route and c
detr2/detectron2/export/shared.py:729
↓ 3 callersMethodreset_image
Resets the currently set image.
mmdet3d/models/backbones/sam.py:684
↓ 3 callersMethodreset_parameters
(self)
mmdet3d/models/backbones/convblock_watermark.py:81
↓ 3 callersMethodresume_or_load
If `resume==True` and `cfg.OUTPUT_DIR` contains the last checkpoint (defined by a `last_checkpoint` file), resume from the file. Resu
detr2/detectron2/engine/defaults.py:401
↓ 3 callersMethodrotate
Rotate boxes with points (optional) with the given angle or rotation matrix. Args: angles (float | torch.Tensor | np.ndar
mmdet3d/core/bbox/structures/lidar_box3d.py:91
↓ 3 callersMethodrotate
Rotate points with the given rotation matrix or angle. Args: rotation (float, np.ndarray, torch.Tensor): Rotation matrix
mmdet3d/core/points/radar_points.py:53
↓ 3 callersFunctionrun_function
(start, end, functions)
mmdet3d/models/sparsebev/checkpoint.py:317
↓ 3 callersMethodrun_iter
(self, data_batch: Any, train_mode: bool, **kwargs)
mmdet3d/apis/epoch_based_runner_distill.py:26
↓ 3 callersFunctionsample_valid_seeds
r"""Randomly sample seeds from all imvotes. Modified from `<https://github.com/facebookresearch/imvotenet/blob/a8856345146bacf29a57266a2f0b874406
mmdet3d/models/detectors/imvotenet.py:14
↓ 3 callersFunctionsave_graph
(net, file_name, graph_name="net", op_only=True, blob_sizes=None, blob_ranges=None)
detr2/detectron2/export/shared.py:523
↓ 3 callersFunctionselect_foreground_proposals
Given a list of N Instances (for N images), each containing a `gt_classes` field, return a list of Instances that contain only instances with
detr2/detectron2/modeling/roi_heads/roi_heads.py:46
↓ 3 callersMethodset
Sets the MetricData entry for a certain detection_name and match_distance.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:277
↓ 3 callersFunctionsetup_multi_processes
Setup multi-processing environment variables.
mmdet3d/utils/setup_env.py:10
↓ 3 callersMethodshift_feature
(self, input, sensor2keyegos, bda, bda_adj=None)
mmdet3d/models/detectors/bevmaepp.py:731
↓ 3 callersFunctionsigmoid_focal_loss
( inputs: torch.Tensor, targets: torch.Tensor, alpha: float = -1, gamma: float = 2, reduct
mmdet3d/models/dense_heads/vanilla_seg.py:24
↓ 3 callersMethodsimple_test
Test without augmentation, stage 2. Args: points (list[torch.Tensor], optional): Elements in the list should have
mmdet3d/models/detectors/imvotenet.py:637
↓ 3 callersMethodsimple_test
Test without augmentation.
mmdet3d/models/codetr/co_detr.py:508
↓ 3 callersMethodsimple_test_pts
Test function of point cloud branch.
mmdet3d/models/detectors/bevdet.py:592
↓ 3 callersMethodsimple_test_rpn
RPN test function.
mmdet3d/models/detectors/mvx_two_stage.py:401
↓ 3 callersMethodtest
(cls, cfg, model)
detr2/projects/DDETRS/train_net.py:314
↓ 3 callersMethodupdate_post_processor
Updates the underlying post processor with the current `bos_token` and `eos_token`.
mmdet3d/models/internvl_model/internlm2/tokenization_internlm2_fast.py:150
↓ 3 callersMethodvoxel_pooling_accelerated
(self, geom_feats, x)
mmdet3d/models/necks/view_transformer_mine.py:184
↓ 3 callersFunctionwindow2flat
(feat_3d_dict, inds_dict)
mmdet3d/ops/sst/sst_ops.py:101
↓ 2 callersMethod__call__
Call function to apply noise to each ground truth in the scene. Args: input_dict (dict): Result dict from loading pipeline.
mmdet3d/datasets/pipelines/transforms_3d.py:579
↓ 2 callersMethod__call__
Call function to collect keys in results. The keys in ``meta_keys`` will be converted to :obj:`mmcv.DataContainer`. Args:
mmdet3d/datasets/pipelines/formating.py:161
↓ 2 callersMethod__enter__
(self)
detr2/detectron2/export/shared.py:136
↓ 2 callersMethod__init__
(self, inplanes, planes, stride=1, downsam
mmdet3d/ops/sparse_block.py:41
↓ 2 callersMethod__init__
(self, mlp_channels, num_point=None, radius=None,
mmdet3d/ops/pointnet_modules/point_sa_module.py:331
↓ 2 callersMethod__init__
(self, in_channels, out_channels, num_kernels,
mmdet3d/ops/paconv/paconv.py:142
↓ 2 callersMethod__init__
(self, ranges, sizes=[[3.9, 1.6, 1.56]], scales=[1],
mmdet3d/core/anchor/anchor_3d_generator.py:39
↓ 2 callersMethod__init__
(self, data_root, ann_file, pipeline=None,
mmdet3d/datasets/s3dis_dataset.py:49
↓ 2 callersMethod__init__
( self, keys, meta_keys=('filename', 'ori_shape', 'img_shape', 'lidar2img',
mmdet3d/datasets/pipelines/formating.py:140
↓ 2 callersMethod__init__
(self, in_channels, output_shape)
mmdet3d/models/middle_encoders/pillar_scatter.py:22
↓ 2 callersMethod__init__
(self, in_channel=512, feat_channel=256, intrinsic_channel=33)
mmdet3d/models/necks/view_transformer_mine.py:268
↓ 2 callersMethod__init__
(self, in_channels=[16, 32, 64, 128, 256, 512], start_level=2,
mmdet3d/models/necks/dla_neck.py:193
↓ 2 callersMethod__init__
(self, dim, drop_path=0., layer_scale_init_value=1e-6)
mmdet3d/models/backbones/convnext.py:30
↓ 2 callersMethod__init__
(self, inplanes, planes, stride=1, dilatio
mmdet3d/models/backbones/resnet_withcp.py:17
↓ 2 callersMethod__init__
(self, normalized_shape, eps=1e-6, data_format="channels_first")
mmdet3d/models/backbones/temporal_backbone.py:35
↓ 2 callersMethod__init__
Args: kernel_size (Tuple): kernel size of the projection layer. stride (Tuple): stride of the projection layer.
mmdet3d/models/backbones/eva02/utils.py:197
↓ 2 callersMethod__init__
(self, normalized_shape, eps=1e-6)
mmdet3d/models/backbones/eva02/batch_norm.py:202
↓ 2 callersMethod__init__
(self, input_dim, hidden_dim, output_dim, num_layers)
mmdet3d/models/utils/futr3d_transformer.py:540
↓ 2 callersMethod__init__
(self, use_h, use_w, rotate = 1, offset=False, ratio = 0.5, mode=0, prob = 1.)
mmdet3d/models/utils/grid_mask.py:8
↓ 2 callersMethod__init__
(self, positional_encoding, strides, position_range, depth_num, depth_start=1, LID=True, embed_dims=256,
mmdet3d/models/utils/positional_encoding.py:83
↓ 2 callersMethod__init__
(self, embed_dims, feedforward_channels, num_fcs=2,
mmdet3d/models/utils/transformer.py:120
↓ 2 callersMethod__init__
Multi-Scale Deformable Attention Module :param d_model hidden dimension :param n_levels number of feature levels
mmdet3d/models/model_utils/ops/modules/ms_deform_attn.py:183
↓ 2 callersMethod__init__
(self, in_channels, out_channels, inter_channels, num_layer, norm_cfg=dict(type='SyncBN'), wi
mmdet3d/models/bevformer/modules/transformerV2.py:17
↓ 2 callersMethod__init__
(self, data_aug=None, stop_prev_grad=0, longterm_model=None
mmdet3d/models/sparsebev/sparsebev.py:18
↓ 2 callersMethod__init__
(self, dim, blocks, out_dim,residual=True, factor=2)
mmdet3d/models/sparsebev/sparsebev_head_rc_seg.py:52
↓ 2 callersMethod__init__
(self, neck_det=None, data_aug=None, pts_bbox_head=None, mo
mmdet3d/models/detectors/henetpp_planner.py:22
↓ 2 callersMethod__init__
(self, buffers)
detr2/detectron2/modeling/anchor_generator.py:26
↓ 2 callersMethod__init__
Args: bottom_up (Backbone): module representing the bottom up subnetwork. Must be a subclass of :class:`Backbone`
detr2/detectron2/modeling/backbone/fpn.py:25
↓ 2 callersMethod__init__
NOTE: this interface is experimental. Args: num_classes (int): number of foreground classes (i.e. background is not incl
detr2/detectron2/modeling/roi_heads/roi_heads.py:139
↓ 2 callersMethod__init__
(self, num_features, eps=1e-5)
detr2/detectron2/layers/batch_norm.py:35
↓ 2 callersMethod__init__
Args: cfg (CfgNode): torch_model (nn.Module): the detectron2 model (meta_arch) to be converted.
detr2/detectron2/export/caffe2_modeling.py:142
↓ 2 callersMethod__init__
(self, v_dim, l_dim, embed_dim, num_heads, dropout=0.1, cfg=None)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/fuse_helper.py:8
↓ 2 callersMethod__len__
int: Number of points in the current object.
mmdet3d/core/points/base_points.py:348
↓ 2 callersMethod_add_conv_branch
Add shared or separable branch. Args: in_channels (int): Input feature channel. conv_channels (tuple): Middle feature
mmdet3d/models/roi_heads/bbox_heads/point_rcnn_bbox_head.py:172
↓ 2 callersFunction_assert_strides_are_log2_contiguous
Assert that each stride is 2x times its preceding stride, i.e. "contiguous in log2".
mmdet3d/models/backbones/eva02/fpn.py:7
↓ 2 callersMethod_assign_colors
Naive tracking heuristics to assign same color to the same instance, will update the internal state of tracked instances. Re
detr2/detectron2/utils/video_visualizer.py:208
↓ 2 callersFunction_assign_op_device_option
(net_proto, net_ssa, blob_device_types)
detr2/detectron2/export/caffe2_export.py:96
↓ 2 callersMethod_assign_targets_by_points_inside
Compute assignment by checking whether point is inside bbox. Args: bboxes_3d (BaseInstance3DBoxes): Instance of bounding boxes.
mmdet3d/models/dense_heads/ssd_3d_head.py:540
↓ 2 callersMethod_assign_targets_by_points_inside
Compute assignment by checking whether point is inside bbox. Args: bboxes_3d (:obj:`BaseInstance3DBoxes`): Instance of bounding b
mmdet3d/models/dense_heads/point_rpn_head.py:354
↓ 2 callersMethod_batch_inference
Execute inference on a list of inputs, using batch size = self.batch_size, instead of the length of the list. Inputs & outpu
detr2/detectron2/modeling/test_time_augmentation.py:162
↓ 2 callersMethod_bbox_decode
(self, priors, bbox_preds)
mmdet3d/models/dense_heads/yolox_head.py:491
↓ 2 callersMethod_bbox_forward
Forward function of roi_extractor and bbox_head used in both training and testing. Args: seg_feats (torch.Tensor): Point-
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:200
↓ 2 callersMethod_bbox_forward
Forward function of roi_extractor and bbox_head used in both training and testing. Args: features (torch.Tensor): Backbon
mmdet3d/models/roi_heads/point_rcnn_roi_head.py:192
↓ 2 callersMethod_bbox_pred_to_bbox
Transform predicted bbox parameters to bbox. Args: points (Tensor): Final locations of shape (N, 3) bbox_pred (Tensor
mmdet3d/models/dense_heads/fcaf3d_head.py:450
↓ 2 callersMethod_bbox_to_loss
Transform box to the axis-aligned or rotated iou loss format. Args: bbox (Tensor): 3D box of shape (N, 6) or (N, 7). Ret
mmdet3d/models/dense_heads/fcaf3d_head.py:429
↓ 2 callersMethod_best_checking
(self)
detr2/detectron2/engine/hooks.py:257
↓ 2 callersMethod_build_conv_layer
(self, name)
mmdet3d/models/roi_heads/mask_heads/refine_mask_head.py:214
↓ 2 callersMethod_build_conv_layer
(self, name)
mmdet3d/models/roi_heads/mask_heads/refine_mask_head.py:520
↓ 2 callersMethod_build_stacked_convs
Initialize conv layers of a single level head.
mmdet3d/models/dense_heads/yolox_head.py:197
↓ 2 callersMethod_caffe2_preprocess_image
Caffe2 implementation of preprocess_image, which is called inside each MetaArch's forward. It normalizes the input images, and the fi
detr2/detectron2/export/caffe2_modeling.py:199
↓ 2 callersMethod_cal_im2col_step
Calculate proper im2col step size, which should be divisible by input_size and not larger than prefer_size. Meanwhile the step size s
detr2/detectron2/layers/deform_conv.py:165
↓ 2 callersFunction_calculate_num_points_in_gt
(data_path, infos, relative_path,
tools/data_converter/kitti_converter.py:116
↓ 2 callersFunction_called_with_cfg
Returns: bool: whether the arguments contain CfgNode and should be considered forwarded to from_config.
detr2/detectron2/config/config.py:251
↓ 2 callersMethod_clip_points_behind_camera
Perform clipping on polygons that are partially behind the camera. This method is necessary as the projection does not work for point
tools/data_converter/map_api.py:1611
↓ 2 callersMethod_convert_bin_depth_to_specific
(self, pred_indices, mode='LID', inverse=False)
mmdet3d/models/dense_heads/farhead.py:521
↓ 2 callersFunction_create_grid_offsets
(size: List[int], stride: int, offset: float, device: torch.device)
detr2/detectron2/modeling/anchor_generator.py:39
↓ 2 callersMethod_decode_multi_level_predictions
Run `_decode_per_level_predictions` for all feature levels and concat the results.
detr2/detectron2/modeling/meta_arch/dense_detector.py:223
↓ 2 callersMethod_decode_orientation
Retrieve object orientation. Args: ori_vector (Tensor): Local orientation in [sin, cos] format. shape: (N, 2)
mmdet3d/core/bbox/coders/smoke_bbox_coder.py:171
↓ 2 callersMethod_decode_proposals
Transform anchors into proposals by applying the predicted anchor deltas. Returns: proposals (list[Tensor]): A list of L
detr2/detectron2/modeling/proposal_generator/rpn.py:514
↓ 2 callersMethod_do_eval
(self)
detr2/detectron2/engine/hooks.py:527
↓ 2 callersMethod_draw_text_in_mask
Find proper places to draw text given a binary mask.
detr2/detectron2/utils/visualizer.py:1246
↓ 2 callersMethod_ema_update
Apply EMA update to `self.name` using `value`. This is mainly used for loss normalizer. In Detectron1, loss is normalized by number
detr2/detectron2/modeling/meta_arch/dense_detector.py:153
↓ 2 callersFunction_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
detr2/detectron2/evaluation/coco_evaluation.py:631
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in nuScenes protocol. Args: result_path (str): Path of the result file. logger (logging
mmdet3d/datasets/B2D_vad_dataset.py:793
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in nuScenes protocol. Args: result_path (str): Path of the result file. logger (logging
mmdet3d/datasets/nuscenes_dataset_occ.py:1024
↓ 2 callersMethod_evaluate_single
( self, result_path, logger=None, result_name="img_bbox", tracking=False )
mmdet3d/datasets/B2D_occ_dataset.py:1664
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in nuScenes protocol. Args: result_path (str): Path of the result file. logger (logging
mmdet3d/datasets/nuscenes_dataset.py:531
↓ 2 callersMethod_evaluate_single
Evaluation for a single model in Lyft protocol. Args: result_path (str): Path of the result file. logger (logging.Log
mmdet3d/datasets/lyft_dataset.py:273
↓ 2 callersMethod_extract_input
Extract inputs from features dictionary. Args: feat_dict (dict): Feature dict from backbone. Returns: torch.
mmdet3d/models/decode_heads/dgcnn_head.py:38
↓ 2 callersMethod_filter_invisible
(self, img, bboxes, centers2d, gt_labels, depths)
mmdet3d/datasets/pipelines/av2_pipeline.py:243
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_pref
mmdet3d/datasets/multi_nuscenes_dataset.py:123
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_pref
mmdet3d/datasets/B2D_vad_dataset.py:648
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_pref
mmdet3d/datasets/nuscenes_dataset_occ.py:370
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_pref
mmdet3d/datasets/B2D_occ_dataset.py:1018
← previousnext →601–700 of 6,925, ranked by callers