MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

↓ 2 callersMethod_format_bbox
(self, results, jsonfile_prefix=None, tracking=False)
mmdet3d/datasets/B2D_occ_dataset.py:1623
↓ 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.py:444
↓ 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_e2e_dataset.py:863
↓ 2 callersMethod_format_bbox
Convert the results to the standard format. Args: results (list[dict]): Testing results of the dataset. jsonfile_pref
mmdet3d/datasets/lyft_dataset.py:230
↓ 2 callersMethod_forward_box
Forward logic of the box prediction branch. If `self.train_on_pred_boxes is True`, the function puts predicted boxes in the `prop
detr2/detectron2/modeling/roi_heads/roi_heads.py:780
↓ 2 callersMethod_forward_box
Args: features, targets: the same as in Same as in :meth:`ROIHeads.forward`. proposals (list[Instance
detr2/detectron2/modeling/roi_heads/cascade_rcnn.py:153
↓ 2 callersMethod_freeze_stages
(self)
mmdet3d/models/backbones/cbnet.py:17
↓ 2 callersMethod_freeze_stages
(self)
mmdet3d/models/backbones/swinv1.py:556
↓ 2 callersMethod_freeze_stages
(self)
mmdet3d/models/backbones/swin_transformer.py:619
↓ 2 callersMethod_freeze_stages
(self)
mmdet3d/models/backbones/resnet_withcp.py:600
↓ 2 callersMethod_freeze_stages
(self)
mmdet3d/models/backbones/swin.py:851
↓ 2 callersMethod_freeze_stages
(self)
mmdet3d/models/codetr/swin_transformer.py:554
↓ 2 callersMethod_freeze_stages
(self)
detr2/projects/DDETRS/ddetrs/backbone/swin.py:619
↓ 2 callersFunction_gather_feat
Gather feature map. Given feature map and index, return indexed feature map. Args: feat (torch.tensor): Feature map with the shape o
mmdet3d/models/dense_heads/focal_decoder.py:1667
↓ 2 callersFunction_get_args_from_config
Use `from_config` to obtain explicit arguments. Returns: dict: arguments to be used for cls.__init__
detr2/detectron2/config/config.py:218
↓ 2 callersFunction_get_autocast_kwargs
()
mmdet3d/models/sparsebev/checkpoint.py:62
↓ 2 callersFunction_get_clones
(module, N)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_transformer.py:366
↓ 2 callersMethod_get_cls_out_channels
Return the channel number of classification outputs.
mmdet3d/models/dense_heads/point_rpn_head.py:92
↓ 2 callersMethod_get_cls_out_channels
Return the channel number of classification outputs.
mmdet3d/models/dense_heads/groupfree3d_head.py:266
↓ 2 callersMethod_get_connected_lanes
Helper for getting the lanes connected to a given lane :param lane_token: Token for the lane. :param incoming_outgoing: Wheth
tools/data_converter/map_api.py:565
↓ 2 callersFunction_get_device_type
(torch_tensor)
detr2/detectron2/export/caffe2_export.py:91
↓ 2 callersFunction_get_global_gloo_group
Return a process group based on gloo backend, containing all the ranks The result is cached.
detr2/detectron2/utils/comm.py:88
↓ 2 callersMethod_get_info
(self, all_dirs)
tools/create_data_changan_sparsebev_rc.py:131
↓ 2 callersMethod_get_info
(self, all_dirs)
tools/create_data_changan_sparsebev_rc_filter.py:133
↓ 2 callersFunction_get_mmcv_home
()
mmdet3d/models/codetr/checkpoint.py:30
↓ 2 callersMethod_get_plane_fomulation
Compute the equation of the plane. Args: vector1 (torch.Tensor): Parallel vector of the plane. vector2 (torch.Tensor)
mmdet3d/models/roi_heads/mask_heads/primitive_head.py:951
↓ 2 callersMethod_get_poly_region_in_image
(self,param)
mmdet3d/datasets/metric_planning_stp3.py:137
↓ 2 callersMethod_get_ref_point
Get reference point to calculate affine transform matrix. While using opencv to calculate the affine matrix, we need at least three c
mmdet3d/datasets/pipelines/transforms_3d.py:1938
↓ 2 callersMethod_get_reg_out_channels
Return the channel number of regression outputs.
mmdet3d/models/dense_heads/point_rpn_head.py:97
↓ 2 callersMethod_get_reg_out_channels
Return the channel number of regression outputs.
mmdet3d/models/dense_heads/groupfree3d_head.py:271
↓ 2 callersMethod_get_rpn_conv
(self, in_channels, out_channels)
detr2/detectron2/modeling/proposal_generator/rpn.py:126
↓ 2 callersFunction_get_script_mod
(mod)
detr2/detectron2/export/torchscript.py:75
↓ 2 callersMethod_get_tgt_permutation_idx
(self, indices)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:664
↓ 2 callersFunction_get_warmup_factor_at_iter
Return the learning rate warmup factor at a specific iteration. See :paper:`ImageNet in 1h` for more details. Args: method (str)
detr2/detectron2/solver/lr_scheduler.py:212
↓ 2 callersFunction_has
(name: str)
detr2/detectron2/config/compat.py:91
↓ 2 callersFunction_highlight
(code, filename)
detr2/detectron2/engine/defaults.py:160
↓ 2 callersFunction_ignore_torch_cuda_oom
A context which ignores CUDA OOM exception from pytorch.
detr2/detectron2/utils/memory.py:12
↓ 2 callersFunction_import_file
(module_name, file_path, make_importable=False)
detr2/detectron2/utils/env.py:49
↓ 2 callersFunction_is_tracing
()
detr2/detectron2/modeling/proposal_generator/proposal_utils.py:13
↓ 2 callersFunction_list_to_str
(bsize)
detr2/detectron2/export/shared.py:508
↓ 2 callersMethod_load_layer_dict
Returns a dict of records corresponding to the layer name. :param layer_name: Name of the layer that will be loaded. :return:
tools/data_converter/map_api.py:120
↓ 2 callersFunction_log_api_usage
Internal function used to log the usage of different detectron2 components inside facebook's infra.
detr2/detectron2/utils/logger.py:232
↓ 2 callersFunction_longest_common_prefix
["abc.zfg", "abc.zef"] -> "abc."
detr2/detectron2/checkpoint/c2_model_loading.py:377
↓ 2 callersFunction_longest_common_prefix_str
(names: List[str])
detr2/detectron2/checkpoint/c2_model_loading.py:388
↓ 2 callersMethod_make_fc_layers
Make fully connect layers. Args: fc_cfg (dict): Config of fully connect. input_channels (int): Input channels for fc_
mmdet3d/models/dense_heads/point_rpn_head.py:69
↓ 2 callersMethod_mask_forward
Mask head forward function used in both training and testing.
mmdet3d/models/codetr/co_detr.py:188
↓ 2 callersFunction_op_stats
(net_def)
detr2/detectron2/export/caffe2_export.py:74
↓ 2 callersFunction_parse_coco_ann_info
(ann_info)
tools/data_converter/create_gt_database.py:34
↓ 2 callersMethod_passport_selection
(self, passport_candidates: torch.Tensor)
mmdet3d/models/backbones/convblock_watermark.py:92
↓ 2 callersFunction_poly2mask
(mask_ann, img_h, img_w)
tools/data_converter/create_gt_database.py:18
↓ 2 callersMethod_pool_features
Perform feature aggregation using pooling operation. Args: features (torch.Tensor): (B, C, N, K) Features of loca
mmdet3d/ops/pointnet_modules/point_sa_module.py:146
↓ 2 callersMethod_prepare
Prepare ._gts and ._dts for evaluation based on params :return: None
detr2/detectron2/evaluation/refcocoeval.py:117
↓ 2 callersMethod_prepare_scorenet_input
Prepare input point pairs features for self.ScoreNet. Args: points_xyz (torch.Tensor): (B, 3, npoint, K) Coordina
mmdet3d/ops/paconv/paconv.py:226
↓ 2 callersFunction_print_panoptic_results
(pq_res)
detr2/detectron2/evaluation/panoptic_evaluation.py:168
↓ 2 callersFunction_random_package_name
(filename)
detr2/detectron2/config/lazy.py:96
↓ 2 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be sa
mmdet3d/datasets/pipelines/transform_3d_focalformer3d.py:554
↓ 2 callersMethod_remove_close
Removes point too close within a certain radius from origin. Args: points (np.ndarray | :obj:`BasePoints`): Sweep points.
mmdet3d/datasets/pipelines/loading.py:385
↓ 2 callersMethod_remove_close
Removes point too close within a certain radius from origin. Args: points (np.ndarray | :obj:`BasePoints`): Sweep points.
mmdet3d/datasets/pipelines/loading_hop.py:193
↓ 2 callersFunction_replace_list
(blob_list, replaced_list)
detr2/detectron2/export/shared.py:494
↓ 2 callersFunction_rotation_box2d_jit_
Rotate 2D boxes. Args: corners (np.ndarray): Corners of boxes. angle (float): Rotation angle. rot_mat_T (np.ndarray): Tra
mmdet3d/datasets/pipelines/data_augment_utils.py:14
↓ 2 callersMethod_sample_augmentation
(self, img)
mmdet3d/datasets/pipelines/av2_pipeline.py:313
↓ 2 callersMethod_sample_points
Perform point sampling based on inputs. If `indices` is specified, directly sample corresponding points. Else if `target_xyz` is spec
mmdet3d/ops/pointnet_modules/point_sa_module.py:112
↓ 2 callersMethod_sample_points
Sample points for each points subset. Args: points (np.ndarray): Points subset to be sampled. sampler (VoxelGenerator
mmdet3d/datasets/pipelines/transforms_3d.py:1644
↓ 2 callersMethod_sample_proposals
Based on the matching between N proposals and M groundtruth, sample the proposals and set their classification labels. Args:
detr2/detectron2/modeling/roi_heads/roi_heads.py:181
↓ 2 callersFunction_select_transform
Select transform. Args: transform (np.ndarray): Transforms to select from. indices (np.ndarray): Mask to indicate which transform
mmdet3d/datasets/pipelines/data_augment_utils.py:236
↓ 2 callersMethod_set_cos_sin_cache
(self, seq_len, device, dtype)
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:162
↓ 2 callersMethod_shared_roi_transform
(self, features: List[torch.Tensor], boxes: List[Boxes])
detr2/detectron2/modeling/roi_heads/roi_heads.py:455
↓ 2 callersMethod_shift_right
(self, input_ids)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:923
↓ 2 callersMethod_split_point_feats
Split coordinates and features of input points. Args: points (torch.Tensor): Point coordinates with features, wit
mmdet3d/models/backbones/base_pointnet.py:22
↓ 2 callersMethod_subsample_labels
Randomly sample a subset of positive and negative examples, and overwrite the label vector to the ignore value (-1) for all elements
detr2/detectron2/modeling/proposal_generator/rpn.py:287
↓ 2 callersMethod_tasks_from_predictions
Get COCO API "tasks" (i.e. iou_type) from COCO-format predictions.
detr2/detectron2/evaluation/coco_evaluation.py:215
↓ 2 callersMethod_topk
Get indexes based on scores. Args: scores (torch.Tensor): scores with the shape of [B, N, W, H]. K (int, optional): N
mmdet3d/core/bbox/coders/centerpoint_bbox_coders.py:63
↓ 2 callersMethod_update_best
(self, val, iteration)
detr2/detectron2/engine/hooks.py:250
↓ 2 callersFunction_update_i
(op, ssa_i)
detr2/detectron2/export/shared.py:415
↓ 2 callersFunction_validate_py_syntax
(filename)
detr2/detectron2/config/lazy.py:73
↓ 2 callersMethod_write_metrics
( self, loss_dict: Mapping[str, torch.Tensor], data_time: float, prefix: str =
detr2/detectron2/engine/train_loop.py:296
↓ 2 callersFunction_write_oriented_bbox
Export oriented (around Z axis) scene bbox to meshes. Args: scene_bbox(list[ndarray] or ndarray): xyz pos of center and 3 len
mmdet3d/core/visualizer/show_result.py:73
↓ 2 callersFunctionadd_ann_adj_info
(extra_tag)
tools/create_data_nuscenes_LRC.py:107
↓ 2 callersMethodadd_boxes
Adds a list of boxes.
mmdet3d/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:539
↓ 2 callersFunctionadd_ddetrsvluni_config
Add config for DDETRSVLUni.
detr2/projects/DDETRS/ddetrs/config_uni.py:5
↓ 2 callersFunctionadd_difficulty_to_annos
(info)
tools/data_converter/kitti_data_utils.py:533
↓ 2 callersFunctionadd_ground_truth_to_proposals
Call `add_ground_truth_to_proposals_single_image` for all images. Args: gt(Union[List[Instances], List[Boxes]): list of N elements.
detr2/detectron2/modeling/proposal_generator/proposal_utils.py:129
↓ 2 callersMethodadd_seg_mask
Add segmentation mask to visualizer via per-point colorization. Args: seg_mask_colors (numpy.array, shape=[N, 6]):
mmdet3d/core/visualizer/open3d_vis.py:425
↓ 2 callersFunctionaligned_bilinear
(tensor, factor)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:941
↓ 2 callersMethodanchor_target_3d
Compute regression and classification targets for anchors. Args: anchor_list (list[list]): Multi level anchors of each image.
mmdet3d/models/dense_heads/train_mixins.py:12
↓ 2 callersFunctionapply_rotary_pos_emb
Applies Rotary Position Embedding to the query and key tensors.
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:241
↓ 2 callersMethodarea
(self)
detr2/detectron2/utils/visualizer.py:150
↓ 2 callersMethodaug_test
Test function with augmentation, stage 2. Args: points (list[list[torch.Tensor]], optional): the outer list indic
mmdet3d/models/detectors/imvotenet.py:735
↓ 2 callersMethodaug_test_pts
Test function of point cloud branch with augmentaiton.
mmdet3d/models/detectors/focalformer3d.py:338
↓ 2 callersFunctionbatched_nms_rotated
Performs non-maximum suppression in a batched fashion. Each index value correspond to a category, and NMS will not be applied between el
detr2/detectron2/layers/nms.py:91
↓ 2 callersMethodbbox2result_kitti
Convert 3D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray]): Li
mmdet3d/datasets/kitti_dataset.py:429
↓ 2 callersMethodbbox2result_kitti
Convert 3D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray]): Li
mmdet3d/datasets/kitti_mono_dataset.py:271
↓ 2 callersMethodbbox2result_kitti
Convert results to kitti format for evaluation and test submission. Args: net_outputs (List[np.ndarray]): list of array storing t
mmdet3d/datasets/waymo_dataset.py:360
↓ 2 callersMethodbbox2result_kitti2d
Convert 2D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray]): Li
mmdet3d/datasets/kitti_dataset.py:544
↓ 2 callersMethodbbox2result_kitti2d
Convert 2D detection results to kitti format for evaluation and test submission. Args: net_outputs (list[np.ndarray]): Li
mmdet3d/datasets/kitti_mono_dataset.py:386
↓ 2 callersMethodbev_to_voxel
(self, x)
mmdet3d/models/detectors/bevdet_rc_occ.py:1183
↓ 2 callersMethodbev_transform
(self, gt_boxes, rotate_angle, scale_ratio, flip_dx, flip_dy)
mmdet3d/datasets/pipelines/loading.py:2350
↓ 2 callersMethodbev_transform
(self, gt_boxes, rotate_angle, scale_ratio, flip_dx, flip_dy)
mmdet3d/datasets/pipelines/loading_changan.py:1037
↓ 2 callersMethodbev_transform
(self, gt_boxes, rotate_angle, scale_ratio, flip_dx, flip_dy)
mmdet3d/datasets/pipelines/loading_hop.py:1277
↓ 2 callersMethodbottom_corners
Returns the four bottom corners. :return: <np.float: 3, 4>. Bottom corners. First two face forward, last two face backwards.
mmdet3d/core/bbox/structures/nuscenes_box.py:144
← previousnext →701–800 of 6,925, ranked by callers