MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 4 callersMethodimg_transform_core
(self, img, resize_dims, crop, flip, rotate)
mmdet3d/datasets/pipelines/loading.py:1801
↓ 4 callersMethodinit_weights
(self)
mmdet3d/models/codetr/transformer.py:590
↓ 4 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
mmdet3d/models/utils/futr3d_transformer.py:32
↓ 4 callersFunctioninverse_sigmoid
(x, eps=1e-5)
detr2/projects/DDETRS/ddetrs/util/misc.py:493
↓ 4 callersFunctionis_parallel
check if model is in parallel mode.
mmdet3d/core/hook/utils.py:7
↓ 4 callersMethodload_annotations
Load annotations from ann_file. Args: ann_file (str): Path of the annotation file. Returns: list[dict]: List
mmdet3d/datasets/nuscenes_occ.py:36
↓ 4 callersMethodloss
(self, depth_preds, pts, imgs, img_metas)
mmdet3d/models/utils/uni3d_voxelpooldepth.py:385
↓ 4 callersMethodloss_single
(self, voxel_semantics, mask_camera, preds)
mmdet3d/models/detectors/bevdet_rc_occ.py:311
↓ 4 callersMethodloss_single
(self, voxel_semantics, mask_camera, preds)
mmdet3d/models/detectors/bevdet_rc_occ.py:1642
↓ 4 callersFunctionmake_cuda_ext
(name, module, sources, sources_cuda=[],
setup.py:35
↓ 4 callersMethodmake_stage
Create a list of blocks of the same type that forms one ResNet stage. Args: block_class (type): a subclass of CNNBlockBa
detr2/detectron2/modeling/backbone/resnet.py:493
↓ 4 callersMethodmatch_point2line
Match points to corresponding line. Args: points (torch.Tensor): Points of input. corners (torch.Tensor): Eight corne
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:675
↓ 4 callersMethodnew_point
Create a new point object with data. The new point and its tensor has the similar properties as self and self.tensor, respectivel
mmdet3d/core/points/base_points.py:421
↓ 4 callersFunctionnms_gpu
Nms function with gpu implementation. Args: boxes (torch.Tensor): Input boxes with the shape of [N, 5] ([x1, y1, x2, y2, ry])
mmdet3d/ops/iou3d/iou3d_utils.py:25
↓ 4 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_converter_R_10frame.py:343
↓ 4 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_converter_R_10frame_seg.py:357
↓ 4 callersFunctionobtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
tools/data_converter/nuscenes_converter_R.py:333
↓ 4 callersFunctionpoints_img2cam
Project points in image coordinates to camera coordinates. Args: points (torch.Tensor): 2.5D points in 2D images, [N, 3], 3 c
mmdet3d/core/bbox/structures/utils.py:218
↓ 4 callersMethodpoints_in_boxes_part
Find the box in which each point is. Args: points (torch.Tensor): Points in shape (1, M, 3) or (M, 3), 3 dimensio
mmdet3d/core/bbox/structures/base_box3d.py:508
↓ 4 callersMethodpredict_boxes
Args: predictions: return values of :meth:`forward()`. proposals (list[Instances]): proposals that match the features
detr2/detectron2/modeling/roi_heads/fast_rcnn.py:419
↓ 4 callersMethodprepare_for_dn_input
(self, batch_size, init_query_bbox, label_enc, img_metas)
mmdet3d/models/sparsebev/sparsebev_head.py:189
↓ 4 callersMethodpreprocess_image
Normalize, pad and batch the input images.
detr2/detectron2/modeling/meta_arch/rcnn.py:220
↓ 4 callersMethodreset
Preparation for a new round of evaluation. Should be called before starting a round of evaluation.
detr2/detectron2/evaluation/evaluator.py:26
↓ 4 callersMethodsafe_divide
(self, sum_, count)
mmdet3d/datasets/nuscenes_dataset_occ.py:897
↓ 4 callersMethodsample_augmentation
(self, H, W, flip=None, scale=None)
mmdet3d/datasets/pipelines/loading.py:1821
↓ 4 callersMethodserialize
(self)
mmdet3d/datasets/nuscenes_styled_eval_utils.py:371
↓ 4 callersFunctionsetup_logger
Initialize the detectron2 logger and set its verbosity level to "DEBUG". Args: output (str): a file name or a directory to save log.
detr2/detectron2/utils/logger.py:39
↓ 4 callersMethodsimple_test_pts
Test function of point cloud branch.
mmdet3d/models/detectors/far3d.py:217
↓ 4 callersMethodsplit_pred
Split predicted features to specific parts. Args: cls_preds (torch.Tensor): Class predicted features to split. reg_pr
mmdet3d/core/bbox/coders/anchor_free_bbox_coder.py:88
↓ 4 callersMethodsummarize
Compute and display summary metrics for evaluation results. Note this functin can *only* be applied on the default parameter setting
detr2/detectron2/evaluation/refcocoeval.py:434
↓ 4 callersFunctiontrangle_area
(a, b, c)
mmdet3d/core/evaluation/kitti_utils/rotate_iou.py:20
↓ 4 callersFunctiontriangle_area
(a, b, c)
mmdet3d/core/evaluation/vod_utils/rotate_iou_cpu.py:17
↓ 4 callersMethodvalue
(self)
detr2/projects/DDETRS/ddetrs/util/misc.py:81
↓ 4 callersFunctionweight_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Tensor): Element-wise weights.
mmdet3d/models/losses/utils.py:30
↓ 4 callersMethodwith_pos_embed
(self, tensor, pos_embed)
mmdet3d/models/dense_heads/transfusion_head.py:79
↓ 4 callersMethodwith_pos_embed
(self, tensor, pos_embed)
mmdet3d/models/utils/decoder_utils.py:69
↓ 4 callersMethodxyxy2xywh
Convert ``xyxy`` style bounding boxes to ``xywh`` style for COCO evaluation. Args: bbox (numpy.ndarray): The bounding box
mmdet3d/datasets/coco_2d_dataset.py:263
↓ 3 callersMethod__call__
(self, values)
detr2/detectron2/export/flatten.py:40
↓ 3 callersMethod__init__
(self, mlp_channels, paconv_num_kernels, num_point=None,
mmdet3d/ops/pointnet_modules/paconv_sa_module.py:117
↓ 3 callersMethod__init__
(self, semantic_data_root=None, depth_data_root=None, )
mmdet3d/datasets/pipelines/loading.py:2707
↓ 3 callersMethod__init__
(self, in_channels, out_channels, scale_factor=2)
mmdet3d/models/necks/lss.py:20
↓ 3 callersMethod__init__
(self, in_channels, out_channels, norm_cfg,
mmdet3d/models/backbones/dla.py:123
↓ 3 callersMethod__init__
Pillar Feature Net Layer. The Pillar Feature Net could be composed of a series of these layers, but the PointPillars paper results on
mmdet3d/models/backbones/radar_encoder.py:40
↓ 3 callersMethod__init__
( self, numC_input, num_layer=[2, 2, 2], num_channels=None,
mmdet3d/models/backbones/resnet.py:14
↓ 3 callersMethod__init__
(self, in_channels=[128], tasks=None, train_cfg=None,
mmdet3d/models/dense_heads/centerpoint_head.py:278
↓ 3 callersMethod__init__
( self, *, input_scope: List[Tuple[float, float, float]], output_scope: List[T
mmdet3d/models/dense_heads/vanilla_seg_old.py:50
↓ 3 callersMethod__init__
(self, decoder=None, **kwargs)
mmdet3d/models/utils/detr3d_transformer.py:43
↓ 3 callersMethod__init__
( self, in_channels=3, embed_dims=768, conv_type='Conv2d', kernel_size
mmdet3d/models/utils/transformer_codetr.py:164
↓ 3 callersMethod__init__
(self, inplanes, mid_channels=256, BatchNorm=nn.BatchNorm2d)
mmdet3d/models/utils/uni3d_voxelpooldepth.py:46
↓ 3 callersMethod__init__
(self, data_aug=None, stop_prev_grad=0, radar_voxel_layer=N
mmdet3d/models/sparsebev/sparsebev_rc.py:71
↓ 3 callersMethod__init__
(self,num_channels=32,feat_channels=[64, 128, 256, 512, 1024], residual='conv')
mmdet3d/models/detectors/Unet3D.py:14
↓ 3 callersMethod__init__
(self, *args, **kwargs)
mmdet3d/models/codetr/transformer.py:564
↓ 3 callersMethod__init__
(self, in_channels=4, feat_channels=[], with_distance=False
mmdet3d/models/voxel_encoders/voxel_encoder.py:319
↓ 3 callersMethod__init__
Args: optimizer, last_iter: See ``torch.optim.lr_scheduler._LRScheduler``. ``last_iter`` is the same as ``last_ep
detr2/detectron2/solver/lr_scheduler.py:86
↓ 3 callersMethod__init__
(self, backbone, position_embedding)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/backbone.py:113
↓ 3 callersMethod_add_conv_branch
Add shared or separable branch.
mmdet3d/models/dense_heads/base_conv_bbox_head.py:85
↓ 3 callersMethod_affine_transform
Affine transform bbox points to input image. Args: points (np.ndarray): Points to be transformed. shape: (N, 2)
mmdet3d/datasets/pipelines/transforms_3d.py:1884
↓ 3 callersMethod_bbox_forward
Box head forward function used in both training and testing.
mmdet3d/models/codetr/co_roi_head.py:142
↓ 3 callersMethod_bboxes_transform
(self, img, bboxes, centers2d, gt_labels, depths, resize, crop, flip=False)
mmdet3d/datasets/pipelines/av2_pipeline.py:186
↓ 3 callersFunction_cast_to_f32
(f64)
detr2/detectron2/export/caffe2_modeling.py:95
↓ 3 callersFunction_create_text_labels
Args: classes (list[int] or None): scores (list[float] or None): class_names (list[str] or None): is_crowd (list[
detr2/detectron2/utils/visualizer.py:237
↓ 3 callersMethod_derive_coco_results
Derive the desired score numbers from summarized COCOeval. Args: coco_eval (None or COCOEval): None represents no predic
detr2/detectron2/evaluation/coco_evaluation.py:336
↓ 3 callersFunction_draw_bboxes
Draw bbox on visualizer and change the color of points inside bbox3d. Args: bbox3d (numpy.array | torch.tensor, shape=[M, 7]):
tools/visualize_tools/open3d_vis.py:61
↓ 3 callersFunction_draw_bboxes
Draw bbox on visualizer and change the color of points inside bbox3d. Args: bbox3d (numpy.array | torch.tensor, shape=[M, 7]):
mmdet3d/core/visualizer/open3d_vis.py:60
↓ 3 callersFunction_expand
(tensor, length: int)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:879
↓ 3 callersFunction_find_caller
Returns: str: module name of the caller tuple: a hashable key to be used to identify different callers
detr2/detectron2/utils/logger.py:119
↓ 3 callersMethod_forward_keypoint
Forward logic of the keypoint prediction branch. Args: features (dict[str, Tensor]): mapping from feature map names to t
detr2/detectron2/modeling/roi_heads/roi_heads.py:848
↓ 3 callersMethod_forward_mask
Forward logic of the mask prediction branch. Args: features (dict[str, Tensor]): mapping from feature map names to tenso
detr2/detectron2/modeling/roi_heads/roi_heads.py:818
↓ 3 callersMethod_get_axis_align_matrix
Get axis_align_matrix from info. If not exist, return identity mat. Args: info (dict): one data info term. Returns:
mmdet3d/datasets/scannet_dataset.py:198
↓ 3 callersMethod_get_figsize
Utility function that scales the figure size by the map canvas size. If figsize is: - None => Return default scale.
tools/data_converter/map_api.py:2335
↓ 3 callersMethod_get_transform_matrix
Get affine transform matrix. Args: center (tuple): Center of current image. scale (tuple): Scale of current image.
mmdet3d/datasets/pipelines/transforms_3d.py:1903
↓ 3 callersMethod_img_transform
(self, img, resize, resize_dims, crop, flip=False, rotate=0, depthmap=None)
mmdet3d/datasets/pipelines/av2_pipeline.py:277
↓ 3 callersMethod_jitter
Randomly modifies given color to produce a slightly different color than the color given. Args: color (tuple[double]): a
detr2/detectron2/utils/visualizer.py:1159
↓ 3 callersFunction_load_points_radar
(pts_filename)
tools/create_data_changan_sparsebev_rc.py:632
↓ 3 callersFunction_load_points_radar
(pts_filename)
tools/create_data_changan_sparsebev_rc_filter.py:658
↓ 3 callersMethod_postprocess
Rescale the output instances to the target size.
detr2/detectron2/modeling/meta_arch/rcnn.py:230
↓ 3 callersFunction_rename_versioned_blob_in_proto
In given proto, rename all blobs with matched version
detr2/detectron2/export/shared.py:631
↓ 3 callersFunction_run
(command)
detr2/projects/DDETRS/ddetrs/util/misc.py:256
↓ 3 callersMethod_set_group_flag
Set flag according to image aspect ratio. Images with aspect ratio greater than 1 will be set as group 1, otherwise group 0. In 3D da
mmdet3d/datasets/custom_3d.py:450
↓ 3 callersFunction_to_container
mmdet will assert the type of dict/list. So convert omegaconf objects to dict/list.
detr2/detectron2/modeling/mmdet_wrapper.py:21
↓ 3 callersFunction_try_get_key
Try select keys from cfg until the first key that exists. Otherwise return default.
detr2/detectron2/engine/defaults.py:146
↓ 3 callersFunction_updater_raise
(op, input_types, output_types)
detr2/detectron2/export/shared.py:369
↓ 3 callersMethodadd_bboxes
Add bounding box to visualizer. Args: bbox3d (numpy.array, shape=[M, 7]): 3D bbox (x, y, z, x_size, y_size, z_siz
mmdet3d/core/visualizer/open3d_vis.py:404
↓ 3 callersMethodadd_runtime
(self, eval_time: float)
mmdet3d/datasets/nuscenes_styled_eval_utils.py:314
↓ 3 callersMethodalign_adj_bbox2keyego
(self, results)
mmdet3d/datasets/pipelines/loading.py:2023
↓ 3 callersFunctionaligned_3d_nms
3D NMS for aligned boxes. Args: boxes (torch.Tensor): Aligned box with shape [n, 6]. scores (torch.Tensor): Scores of each box.
mmdet3d/core/post_processing/box3d_nms.py:131
↓ 3 callersFunctionall_gather
Run all_gather on arbitrary picklable data (not necessarily tensors). Args: data: any picklable object group: a torch proces
detr2/detectron2/utils/comm.py:99
↓ 3 callersMethodanchors_single_range
Generate anchors in a single range. Args: feature_size (list[float] | tuple[float]): Feature map size. It is eith
mmdet3d/core/anchor/anchor_3d_generator.py:155
↓ 3 callersMethodangle2class
Convert continuous angle to a discrete class and a residual. Convert continuous angle to a discrete class and a small regression numb
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:204
↓ 3 callersFunctionapply_rotary_pos_emb
Applies Rotary Position Embedding to the query and key tensors. Args: q (`torch.Tensor`): The query tensor. k (`torch.Tensor`): T
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:228
↓ 3 callersMethodbackward
(ctx, grad_output)
detr2/detectron2/layers/deform_conv.py:85
↓ 3 callersFunctionbbox_overlaps_nearest_3d
Calculate nearest 3D IoU. Note: This function first finds the nearest 2D boxes in bird eye view (BEV), and then calculates the 2D
mmdet3d/core/bbox/iou_calculators/iou3d_calculator.py:99
↓ 3 callersFunctionbuild_box_head
Build a box head defined by `cfg.MODEL.ROI_BOX_HEAD.NAME`.
detr2/detectron2/modeling/roi_heads/box_head.py:113
↓ 3 callersMethodbuild_model
Returns: torch.nn.Module: It now calls :func:`detectron2.modeling.build_model`. Overwrite it if you'd like a dif
detr2/detectron2/engine/defaults.py:510
↓ 3 callersFunctioncamera_to_lidar
Convert points in camera coordinate to lidar coordinate. Note: This function is for KITTI only. Args: points (np.ndarray, sh
mmdet3d/core/bbox/box_np_ops.py:13
↓ 3 callersMethodclass2angle
Inverse function to angle2class. Args: angle_cls (torch.Tensor): Angle class to decode. angle_res (torch.Tensor): Ang
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:225
↓ 3 callersMethodcls_seg
Classify each points.
mmdet3d/models/decode_heads/decode_head.py:103
↓ 3 callersFunctioncompose_lidar2img
(ego2global_translation_curr, ego2global_rotation_curr, lidar2ego_
mmdet3d/datasets/pipelines/loading_changan.py:32
↓ 3 callersFunctionconvert_batched_inputs_to_c2_format
See get_caffe2_inputs() below.
detr2/detectron2/export/caffe2_modeling.py:107
↓ 3 callersMethodconvert_frozen_batchnorm
Convert all BatchNorm/SyncBatchNorm in module into FrozenBatchNorm. Args: module (torch.nn.Module): Returns:
mmdet3d/models/backbones/eva02/batch_norm.py:86
← previousnext →401–500 of 6,925, ranked by callers