MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 1 callersMethodtest_with_TTA
(cls, cfg, model)
detr2/projects/DDETRS/train_net_ori.py:183
↓ 1 callersMethodtext_decoder
( self, text_decoder_inputs, use_nucleus_sampling=False, num_beams=5,
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:110
↓ 1 callersMethodto
(self, *args: Any, **kwargs: Any)
detr2/detectron2/structures/image_list.py:50
↓ 1 callersMethodto
(self, device: torch.device)
detr2/detectron2/structures/rotated_boxes.py:232
↓ 1 callersMethodto_dict
(self)
mmdet3d/core/evaluation/scannet_utils/util_3d.py:41
↓ 1 callersMethodto_heatmap
Convert keypoint annotations to a heatmap of one-hot labels for training, as described in :paper:`Mask R-CNN`. Arguments:
detr2/detectron2/structures/keypoints.py:43
↓ 1 callersMethodto_json
(self)
mmdet3d/core/evaluation/scannet_utils/util_3d.py:37
↓ 1 callersFunctiontoken_sigmoid_binary_focal_loss
Loss used in RetinaNet for dense detection: https://arxiv.org/abs/1708.02002. Args: inputs: A float tensor of arbitrary shape.
detr2/projects/DDETRS/ddetrs/models/deformable_detr/segmentation.py:191
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/benchmark_trt.py:40
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/rcbevdet/benchmark_trt_rcbevdet.py:54
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/bevmix/benchmark_trt_bevmix_v2.py:122
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/bevmix/benchmark_trt_bevmix.py:122
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/bevmix/benchmark_trt_bevmix_v2_woquant.py:71
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_2kf.py:55
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_2kf_orin.py:76
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_orin.py:54
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac.py:55
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_1kf_orin.py:55
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp/benchmark_trt_henetpp_v3.py:69
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp/benchmark_trt_henetpp_orin.py:62
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp/benchmark_trt_henetpp_ac_1kf.py:55
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp/benchmark_trt_henetpp.py:66
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/sparsebev/benchmark_trt_sparsebev_orin.py:60
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/sparsebev/benchmark_trt_sparsebev.py:60
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp_centerpoint/benchmark_trt_henetpp_centerpoint_ac_orin.py:61
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/henetpp_centerpoint/benchmark_trt_and_pytorch_output.py:55
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/bevdepth4d/benchmark_trt_bevdepth4d_old_orin.py:64
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/bevdepth4d/benchmark_trt_bevdepth4d_display.py:63
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/bevdepth4d/benchmark_trt_bevdepth4d_display_orin.py:63
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/bevdepth4d/benchmark_trt_bevdepth4d_old.py:64
↓ 1 callersFunctiontorch_dtype_from_trt
Convert pytorch dtype to TensorRT dtype. Args: dtype (str.DataType): The data type in tensorrt. Returns: torch.dtype: The co
tools/analysis_tools/bevdepth4d/benchmark_trt_bevdepth4d.py:63
↓ 1 callersMethodtrain
(self, data_loader, **kwargs)
mmdet3d/apis/epoch_based_runner_distill.py:42
↓ 1 callersMethodtrain
Overload in order to keep image branch modules in eval mode.
mmdet3d/models/detectors/imvotenet.py:203
↓ 1 callersFunctiontrain_detector
(model, dataset, cfg, distributed=False,
mmdet3d/apis/train.py:181
↓ 1 callersFunctiontrain_detector_distill
(model, dataset, dataset_teacher, cfg,
mmdet3d/apis/train_distill.py:91
↓ 1 callersFunctiontrain_model
A function wrapper for launching model training according to cfg. Because we need different eval_hook in runner. Should be deprecated in the
mmdet3d/apis/train.py:329
↓ 1 callersFunctiontrain_parse_args
()
tools/visualize_tools/train_parser.py:7
↓ 1 callersFunctiontrain_segmentor
Launch segmentor training.
mmdet3d/apis/train.py:77
↓ 1 callersFunctiontrain_segmentor_distill
(model, dataset, dataset_teacher, cfg,
mmdet3d/apis/train_distill.py:78
↓ 1 callersMethodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
mmdet3d/models/detectors/bevdet.py:70
↓ 1 callersFunctiontraj_fde
(gt_box, pred_box, final_step)
mmdet3d/datasets/evaluation/motion/motion_utils.py:507
↓ 1 callersFunctionuncertain_l1_loss
L1 loss with uncertainty. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the prediction
mmdet3d/models/losses/uncertain_smooth_l1_loss.py:39
↓ 1 callersFunctionuncertain_smooth_l1_loss
Smooth L1 loss with uncertainty. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the pre
mmdet3d/models/losses/uncertain_smooth_l1_loss.py:10
↓ 1 callersMethodunion2one
(self, queue)
mmdet3d/datasets/argoverse2_dataset_t.py:138
↓ 1 callersMethodunion2one
(self, queue)
mmdet3d/datasets/B2D_vad_dataset.py:210
↓ 1 callersMethodunion2one
(self, queue)
mmdet3d/datasets/B2D_e2e_dataset.py:191
↓ 1 callersMethodunion2one
(self, queue)
mmdet3d/datasets/nuscenes_occ.py:77
↓ 1 callersFunctionunproject_image_to_rect
(pts_image, P)
mmdet3d/models/backbones/mononerd_backbone.py:45
↓ 1 callersMethodupdate_gt
(self, type_='vis', visibility='1', index=1)
mmdet3d/datasets/vad_custom_nuscenes_eval.py:707
↓ 1 callersMethodupdate_gt
(self, type_='vis', visibility='1', index=1)
mmdet3d/datasets/nuscnes_eval.py:595
↓ 1 callersMethodupdate_once
(self, time)
mmdet3d/models/utils/time_utils.py:18
↓ 1 callersMethodupdate_prefix
(cls, name)
mmdet3d/models/utils/time_utils.py:43
↓ 1 callersMethodupdate_stats
Update the model with precise statistics. Users can manually call this method.
detr2/detectron2/engine/hooks.py:611
↓ 1 callersMethodupgrade
(cls, cfg: CN)
detr2/detectron2/config/compat.py:204
↓ 1 callersFunctionupgrade_config
Upgrade a config from its current version to a newer version. Args: cfg (CfgNode): to_version (int): defaults to the latest
detr2/detectron2/config/compat.py:33
↓ 1 callersFunctionupsample_filt
(size)
detr2/detectron2/export/shared.py:51
↓ 1 callersMethodupsample_preds
Upsample pred [N, 1, H/8, W/8] -> [N, 1, H, W] using convex combination
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:635
↓ 1 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`.
mmdet3d/models/bevformer/bevformer_fp16.py:78
↓ 1 callersFunctionvelocity_l2
L2 distance between the velocity vectors (xy only). If the predicted velocities are nan, we return inf, which is subsequently clipped to 1.
mmdet3d/datasets/nuscenes_styled_eval_utils.py:18
↓ 1 callersFunctionvelocity_l2
L2 distance between the velocity vectors (xy only). If the predicted velocities are nan, we return inf, which is subsequently clipped to 1.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:18
↓ 1 callersMethodview_transform
(self, input, depth, tran_feat)
mmdet3d/models/necks/view_transformer.py:1463
↓ 1 callersMethodview_transform_core
(self, input, depth, tran_feat)
mmdet3d/models/necks/view_transformer.py:1436
↓ 1 callersMethodview_transform_core_trt
(self, input, depth, tran_feat)
mmdet3d/models/necks/view_transformer.py:383
↓ 1 callersMethodview_transform_trt
(self, input, depth, tran_feat)
mmdet3d/models/necks/view_transformer.py:415
↓ 1 callersMethodvisualize_training
A function used to visualize images and proposals. It shows ground truth bounding boxes on the original image and up to 20 top-scorin
detr2/detectron2/modeling/meta_arch/rcnn.py:87
↓ 1 callersFunctionviz_bbox
(nusc, bboxes, data_info, fig, gs)
tools/viz_bbox_predictions.py:83
↓ 1 callersFunctionvoc_ap
Compute VOC AP given precision and recall. If use_07_metric is true, uses the VOC 07 11-point method (default:False).
detr2/detectron2/evaluation/pascal_voc_evaluation.py:155
↓ 1 callersFunctionvoc_eval
rec, prec, ap = voc_eval(detpath, annopath, imagesetfile,
detr2/detectron2/evaluation/pascal_voc_evaluation.py:187
↓ 1 callersMethodvocab
(self, proto)
mmdet3d/models/internvl_model/internlm2/tokenization_internlm2_fast.py:41
↓ 1 callersFunctionvoxel_eikonal_loss
(grid, voxel_size, grid_res_x, grid_res_y, grid_res_z)
mmdet3d/utils/render_utils.py:151
↓ 1 callersMethodvoxel_pooling_v2
(self, coor, depth, feat)
mmdet3d/models/necks/view_transformer.py:227
↓ 1 callersMethodvoxel_pooling_v2
(self, coor, depth, feat)
mmdet3d/models/necks/view_transformer.py:1344
↓ 1 callersMethodvoxel_pooling_v2_trt
(self, coor, depth, feat)
mmdet3d/models/necks/view_transformer.py:263
↓ 1 callersFunctionvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tuple[torch.Tensor]
tools/visualize_img2bev.py:34
↓ 1 callersFunctionvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tuple[torch.Tensor]
tools/misc/visualize_img2bev.py:34
↓ 1 callersMethodvoxelize
Apply hard voxelization to points.
mmdet3d/models/detectors/voxelnet.py:53
↓ 1 callersMethodvoxelize
Apply hard voxelization to points.
mmdet3d/models/detectors/parta2.py:59
↓ 1 callersMethodvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/futr3d.py:173
↓ 1 callersMethodvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/transfusion.py:99
↓ 1 callersMethodvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/mvx_faster_rcnn.py:27
↓ 1 callersMethodvoxelize
(self, points, voxel_type='voxel')
mmdet3d/models/detectors/focalformer3d.py:174
↓ 1 callersMethodvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_ssl.py:357
↓ 1 callersMethodvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/mvx_two_stage.py:227
↓ 1 callersMethodvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/dynamic_centerpoint.py:74
↓ 1 callersMethodvoxelize
Apply dynamic voxelization to points. Args: points (list[torch.Tensor]): Points of each sample. Returns: tup
mmdet3d/models/detectors/dynamic_voxelnet.py:52
↓ 1 callersFunctionwaymo_data_prep
Prepare the info file for waymo dataset. Args: root_path (str): Path of dataset root. info_prefix (str): The prefix of info filen
tools/create_data.py:157
↓ 1 callersFunctionweight_correlation
Calculate correlations between kernel weights in Conv's weight bank as regularization loss. The cosine similarity is used as metrics. Args:
mmdet3d/models/losses/paconv_regularization_loss.py:10
↓ 1 callersFunctionweights_to_cpu
Copy a model state_dict to cpu. Args: state_dict (OrderedDict): Model weights on GPU. Returns: OrderedDict: Model weights on G
mmdet3d/models/codetr/checkpoint.py:356
↓ 1 callersMethodwhole_inference
Inference with full scene (one forward pass without sliding).
mmdet3d/models/segmentors/encoder_decoder.py:366
↓ 1 callersFunctionwindow2flat_v2
(feat_3d_dict, inds_dict)
mmdet3d/ops/sst/sst_ops.py:136
↓ 1 callersFunctionwindow_partition
Partition into non-overlapping windows with padding if needed. Args: x (tensor): input tokens with [B, H, W, C]. window_size
mmdet3d/models/backbones/vit_codetr.py:171
↓ 1 callersFunctionwindow_partition
Partition into non-overlapping windows with padding if needed. Args: x (tensor): input tokens with [B, H, W, C]. window_size
mmdet3d/models/backbones/sam.py:277
↓ 1 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
detr2/projects/DDETRS/ddetrs/backbone/vit.py:121
↓ 1 callersMethodwindow_partition
(self, coors)
mmdet3d/models/middle_encoders/sst_input_layer_v2.py:204
↓ 1 callersMethodwindow_partition
(self, coors, voxel_info)
mmdet3d/models/middle_encoders/sst_input_layer.py:299
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
mmdet3d/models/backbones/swinv1.py:56
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
mmdet3d/models/backbones/swin_transformer.py:56
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
mmdet3d/models/codetr/swin_transformer.py:56
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
detr2/projects/DDETRS/ddetrs/backbone/vit.py:135
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
detr2/projects/DDETRS/ddetrs/backbone/swin.py:56
← previousnext →3,101–3,200 of 6,925, ranked by callers