MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

Methodget_targets
Compute regression, classification and centerss targets for points in multiple images. Args: points (list[Tensor]): Point
mmdet3d/models/dense_heads/anchor_free_mono3d_head.py:476
Methodget_targets
Compute target of mask IoU. Mask IoU target is the IoU of the predicted mask (inside a bbox) and the gt mask of corresponding gt mask
mmdet3d/models/roi_heads/mask_heads/maskiou_head_codetr.py:108
Methodget_targets
generate segmentation and part prediction targets. Args: voxel_centers (torch.Tensor): The center of voxels in shape
mmdet3d/models/roi_heads/mask_heads/pointwise_semantic_head.py:129
Methodget_targets
(self, pos_bboxes_list, pos_assigned_gt_inds_list, gt_masks_list)
mmdet3d/models/roi_heads/mask_heads/refine_mask_head.py:254
Methodget_targets
(self, pos_bboxes_list, pos_assigned_gt_inds_list, gt_masks_list)
mmdet3d/models/roi_heads/mask_heads/refine_mask_head.py:576
Methodget_targets
Generate targets. Args: sampling_results (list[:obj:`SamplingResult`]): Sampled results from rois. rc
mmdet3d/models/roi_heads/bbox_heads/point_rcnn_bbox_head.py:348
Methodget_targets
Generate targets. Args: sampling_results (list[:obj:`SamplingResult`]): Sampled results from rois. rc
mmdet3d/models/roi_heads/bbox_heads/parta2_bbox_head.py:364
Methodget_targets
(self, cls_scores_list, bbox_preds_list, gt_bboxes
mmdet3d/models/sparsebev/sparsebev_head_rc_seg.py:496
Methodget_targets_single
Generate targets of ssd3d head for single batch. Args: points (torch.Tensor): Points of each batch. gt_bboxes_3d (:ob
mmdet3d/models/dense_heads/ssd_3d_head.py:309
Methodget_targets_single
Generate training targets for a single sample. Args: gt_bboxes_3d (:obj:`LiDARInstance3DBoxes`): Ground truth gt boxes.
mmdet3d/models/dense_heads/centerpoint_head.py:441
Methodget_targets_single
Generate training targets for a single sample. Args: gt_bboxes_3d (:obj:`LiDARInstance3DBoxes`): Ground truth gt boxes.
mmdet3d/models/dense_heads/centerpoint_head.py:1245
Methodget_targets_single
Generate targets of vote head for single batch. Args: points (torch.Tensor): Points of each batch. gt_bboxes_3d (:obj
mmdet3d/models/dense_heads/vote_head.py:439
Methodget_targets_single
Generate training targets for a single sample. Args: gt_bboxes_3d (:obj:`LiDARInstance3DBoxes`): Ground truth gt boxes.
mmdet3d/models/dense_heads/deepinteraction_decoder.py:356
Methodget_targets_single
Generate training targets for a single sample. Args: gt_bboxes_3d (:obj:`LiDARInstance3DBoxes`): Ground truth gt boxes.
mmdet3d/models/dense_heads/focal_decoder.py:1036
Methodget_targets_single
Generate training targets for a single sample. Args: gt_bboxes_3d (:obj:`LiDARInstance3DBoxes`): Ground truth gt boxes.
mmdet3d/models/dense_heads/transfusion_head.py:1108
Methodget_targets_single
Generate targets of PointRCNN RPN head for single batch. Args: points (torch.Tensor): Points of each batch. gt_bboxes
mmdet3d/models/dense_heads/point_rpn_head.py:205
Methodget_targets_single
Generate targets of GroupFree3D head for single batch. Args: points (torch.Tensor): Points of each batch. gt_bboxes_3
mmdet3d/models/dense_heads/groupfree3d_head.py:646
Methodget_targets_single
generate segmentation and part prediction targets for a single sample. Args: voxel_centers (torch.Tensor): The center of
mmdet3d/models/roi_heads/mask_heads/pointwise_semantic_head.py:80
Methodget_targets_single
Generate targets of primitive head for single batch. Args: points (torch.Tensor): Points of each batch. gt_bboxes_3d
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:326
Methodget_targets_single
Generate targets for primitive cues for single batch. Args: points (torch.Tensor): Points of each batch. gt_bboxes_3d
mmdet3d/models/roi_heads/bbox_heads/h3d_bbox_head.py:754
Functionget_total_grad_norm
(parameters, norm_type=2)
detr2/projects/DDETRS/ddetrs/util/misc.py:485
Functionget_vit_lr_decay_rate
Calculate lr decay rate for different ViT blocks. Args: name (string): parameter name. lr_decay_rate (float): base lr decay r
mmdet3d/core/hook/lrdecaycontrol.py:8
Functionget_vit_lr_decay_rate
Calculate lr decay rate for different ViT blocks. Args: name (string): parameter name. lr_decay_rate (float): base lr decay r
mmdet3d/models/backbones/eva02/vit.py:591
Methodget_vocab
Returns vocab as a dict
mmdet3d/models/internvl_model/internlm2/tokenization_internlm2.py:99
Methodglobal_avg
(self)
detr2/projects/DDETRS/ddetrs/util/misc.py:73
FunctiongpuAssert
mmdet3d/ops/iou3d/src/iou3d.cpp:29
Methodgravity_center
torch.Tensor: A tensor with center of each box in shape (N, 3).
mmdet3d/core/bbox/structures/lidar_box3d.py:41
Methodgravity_center
torch.Tensor: A tensor with center of each box in shape (N, 3).
mmdet3d/core/bbox/structures/depth_box3d.py:43
Methodgravity_center
torch.Tensor: A tensor with center of each box in shape (N, 3).
mmdet3d/core/bbox/structures/base_box3d.py:127
Methodgravity_center
torch.Tensor: A tensor with center of each box in shape (N, 3).
mmdet3d/core/bbox/structures/cam_box3d.py:108
Methodgrid_anchors
Generate grid anchors in multiple feature levels. Args: featmap_sizes (list[tuple]): List of feature map sizes for
mmdet3d/core/anchor/anchor_3d_generator.py:360
Methodgrid_size
np.ndarray: The size of grids.
mmdet3d/core/voxel/voxel_generator.py:58
Methodgts
(self)
mmdet3d/datasets/evaluation/map/vector_eval.py:42
Functionhard_voxelize_kernel
mmdet3d/ops/voxel/src/voxelization_cpu.cpp:43
Functionhas_cuda
detr2/detectron2/layers/csrc/vision.cpp:41
Methodhas_holes
(self)
detr2/detectron2/utils/visualizer.py:118
Methodheight
torch.Tensor: A vector with height of each box in shape (N, ).
mmdet3d/core/bbox/structures/base_box3d.py:86
Methodheight
torch.Tensor: A vector with height of each box in shape (N, ).
mmdet3d/core/bbox/structures/cam_box3d.py:76
Methodheight
torch.Tensor: A vector with height of each point in shape (N, 1), or None.
mmdet3d/core/points/base_points.py:66
Methodheight_overlaps
Calculate height overlaps of two boxes. This function calculates the height overlaps between ``boxes1`` and ``boxes2``, where ``boxes
mmdet3d/core/bbox/structures/cam_box3d.py:253
Methodimage_Tensor2ndarray
将tensor转化为cv2格式
mmdet3d/models/detectors/bevdet.py:230
Methodimage_encoder
(self, img, stereo=False)
mmdet3d/models/detectors/bevdet_rc_occ.py:1314
Methodimage_size
Returns: tuple: height, width
detr2/detectron2/structures/instances.py:50
Methodimg_text_contrastive
( self, batch )
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1945
Functionimg_to_bev
(input)
tools/visualize_img2bev.py:309
Functionimg_to_bev
(input)
tools/misc/visualize_img2bev.py:309
Methodin_range_3d
Check whether the boxes are in the given range. Args: box_range (list | torch.Tensor): The range of box (x_min, y
mmdet3d/core/bbox/structures/base_box3d.py:220
Methodin_range_bev
Check whether the boxes are in the given range. Args: box_range (list | torch.Tensor): the range of box (x_min, y
mmdet3d/core/bbox/structures/base_box3d.py:164
Methodin_range_bev
Check whether the points are in the given range. Args: point_range (list | torch.Tensor): The range of point in o
mmdet3d/core/points/radar_points.py:101
Functioninfer_n_samples
mmdet3d/models/nerf/cuda/render_utils.cpp:60
Functioninfer_ray_start_dir
mmdet3d/models/nerf/cuda/render_utils.cpp:67
Functioninfer_t_minmax
mmdet3d/models/nerf/cuda/render_utils.cpp:50
Methodinference
Returns: list[Instances]: same as `fast_rcnn_inference_rotated`. list[Tensor]: same as `fast_rcnn_inference_rotated`.
detr2/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:147
Methodinference
(self, samples, gt_targets, criterion, train=False)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:298
Functioninference_detector
Inference point cloud with the detector. Args: model (nn.Module): The loaded detector. pcd (str): Point cloud files. Returns
mmdet3d/apis/inference.py:81
Functioninference_mono_3d_detector
Inference image with the monocular 3D detector. Args: model (nn.Module): The loaded detector. image (str): Image files. a
mmdet3d/apis/inference.py:230
Functioninference_multi_modality_detector
Inference point cloud with the multi-modality detector. Args: model (nn.Module): The loaded detector. pcd (str): Point cloud file
mmdet3d/apis/inference.py:155
Functioninference_segmentor
Inference point cloud with the segmentor. Args: model (nn.Module): The loaded segmentor. pcd (str): Point cloud files. Retur
mmdet3d/apis/inference.py:289
Methodinit_assigner_sampler
Initialize assigner and sampler.
mmdet3d/models/roi_heads/h3d_roi_head.py:48
Methodinit_assigner_sampler
Initialize assigner and sampler.
mmdet3d/models/codetr/co_roi_head.py:12
Methodinit_bbox_head
Initialize box head.
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:65
Methodinit_bbox_head
Initialize box head. Args: bbox_head (dict): Config dict of RoI Head.
mmdet3d/models/roi_heads/point_rcnn_roi_head.py:47
Methodinit_bbox_head
Initialize box head.
mmdet3d/models/roi_heads/h3d_roi_head.py:42
Methodinit_bbox_head
Initialize ``bbox_head``
mmdet3d/models/codetr/co_roi_head.py:21
Functioninit_distributed_mode
(args)
detr2/projects/DDETRS/ddetrs/util/misc.py:403
Methodinit_layers
Initialize layers of the DinoTransformer.
mmdet3d/models/codetr/transformer.py:567
Functioninit_logging
(filename=None, debug=False)
mmdet3d/core/hook/logger.py:14
Methodinit_mask_head
Initialize mask head, skip since ``PartAggregationROIHead`` does not have one.
mmdet3d/models/roi_heads/part_aggregation_roi_head.py:60
Methodinit_mask_head
Initialize maek head.
mmdet3d/models/roi_heads/point_rcnn_roi_head.py:55
Methodinit_mask_head
Initialize mask head, skip since ``H3DROIHead`` does not have one.
mmdet3d/models/roi_heads/h3d_roi_head.py:37
Methodinit_mask_head
Initialize ``mask_head``
mmdet3d/models/codetr/co_roi_head.py:26
Methodinit_net
caffe2.core.Net: the underlying caffe2 init net
detr2/detectron2/export/api.py:148
Functioninit_random_seed
Initialize random seed. If the seed is not set, the seed will be automatically randomized, and then broadcast to all processes to prevent som
mmdet3d/apis/train_distill.py:28
Methodinit_weight
(self)
mmdet3d/models/utils/sparse_blocks.py:61
Methodinit_weight
(self)
mmdet3d/models/utils/sparse_blocks.py:153
Methodinit_weight
(self)
mmdet3d/models/utils/sparse_blocks.py:200
Methodinit_weight
(self)
mmdet3d/models/utils/sparse_blocks.py:283
Functioninit_weights
Performs ResNet-style weight initialization.
detr2/detectron2/modeling/backbone/regnet.py:46
Methodinit_weights
Initialize weights of neck.
mmdet3d/models/necks/imvoxel_neck.py:64
Methodinit_weights
(self)
mmdet3d/models/necks/lss.py:212
Methodinit_weights
(self)
mmdet3d/models/necks/dla_neck.py:236
Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdet3d/models/backbones/cbnet.py:128
Methodinit_weights
(self)
mmdet3d/models/backbones/cb_vovnet.py:468
Methodinit_weights
(self)
mmdet3d/models/backbones/radar_encoder_adapter_old.py:449
Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to Non
mmdet3d/models/backbones/convnext.py:124
Methodinit_weights
Initialize the weights in backbone.
mmdet3d/models/backbones/swinv1.py:599
Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to Non
mmdet3d/models/backbones/swin_transformer.py:636
Methodinit_weights
(self)
mmdet3d/models/backbones/vit_codetr.py:607
Methodinit_weights
(self)
mmdet3d/models/backbones/swin.py:868
Methodinit_weights
Initialize the transformer weights.
mmdet3d/models/backbones/temporal_backbone.py:234
Methodinit_weights
(self)
mmdet3d/models/backbones/mink_resnet.py:62
Methodinit_weights
(self)
mmdet3d/models/backbones/radar_encoder_adapter.py:449
Methodinit_weights
(self)
mmdet3d/models/dense_heads/shape_aware_head.py:185
Methodinit_weights
(self)
mmdet3d/models/dense_heads/base_dense_head.py:18
Methodinit_weights
Initialize weights.
mmdet3d/models/dense_heads/monoflex_head.py:138
Methodinit_weights
Initialize weights.
mmdet3d/models/dense_heads/centerpoint_head.py:209
Methodinit_weights
Initialize weights of the transformer head.
mmdet3d/models/dense_heads/farhead.py:432
Methodinit_weights
Initialize weights of the transformer head.
mmdet3d/models/dense_heads/detr_head_codetr.py:167
Methodinit_weights
Initialize weights.
mmdet3d/models/dense_heads/transfusion_head.py:553
Methodinit_weights
Initialize weights of the head. We currently still use the customized init_weights because the default init of DCN triggered by the i
mmdet3d/models/dense_heads/fcos_mono3d_head.py:115
← previousnext →6,101–6,200 of 6,925, ranked by callers