MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

Functioncalculate_truncation
Calculate how much of the object's 2D uncropped bounding box is outside the image boundary
tools/vis_utils.py:201
Methodcan_save_slow_tokenizer
(self)
mmdet3d/models/internvl_model/internlm2/tokenization_internlm2_fast.py:147
Functioncat
Efficient version of torch.cat that avoids a copy if there is only a single element in a list
mmdet3d/models/backbones/eva02/wrappers.py:39
Methodcat
Concatenates a list of Keypoints into a single Keypoints Arguments: keypoints_list (list[Keypoints]) Returns:
detr2/detectron2/structures/keypoints.py:84
Methodcat
Concatenates a list of RotatedBoxes into a single RotatedBoxes Arguments: boxes_list (list[RotatedBoxes]) Retur
detr2/detectron2/structures/rotated_boxes.py:457
Methodcat
Args: instance_lists (list[Instances]) Returns: Instances
detr2/detectron2/structures/instances.py:152
Methodcat
Concatenates a list of PolygonMasks into a single PolygonMasks Arguments: polymasks_list (list[PolygonMasks]) R
detr2/detectron2/structures/masks.py:444
Methodcenter
Calculate the center of all the boxes. Note: In MMDetection3D's convention, the bottom center is usually taken as the
mmdet3d/core/bbox/structures/base_box3d.py:103
Functionchamfer_distance
Calculate chamfer distance between two lines. Make sure the lines are interpolated. Args: line1 (array): coordinates of line1
mmdet3d/datasets/evaluation/map/distance.py:5
Methodchat
(self, tokenizer, pixel_values, question, generation_config, history=None, return_history=False,
mmdet3d/models/internvl_model/internvl_chat/modeling_internvl_chat.py:235
Functioncheckpoint_sequential
r"""A helper function for checkpointing sequential models. Sequential models execute a list of modules/functions in order (sequentially). The
mmdet3d/models/sparsebev/checkpoint.py:261
Functionclip_grad_norm
(p: _GradientClipperInput)
detr2/detectron2/solver/build.py:31
Functionclip_grad_value
(p: _GradientClipperInput)
detr2/detectron2/solver/build.py:34
Methodclone
Clone the RotatedBoxes. Returns: RotatedBoxes
detr2/detectron2/structures/rotated_boxes.py:223
Methodcls_forward
(self, instance_feature)
mmdet3d/models/utils/sparse_blocks.py:73
Methodcoco_forward
(self, samples, gt_targets, criterion, train=False)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/segmentation.py:34
Methodcoco_inference
(self, samples, gt_targets, criterion, train=False)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/segmentation.py:46
Functioncollate_fn
(batch)
detr2/projects/DDETRS/ddetrs/util/misc.py:273
Methodcolor
torch.Tensor: A vector with color of each point in shape (N, 3), or None.
mmdet3d/core/points/base_points.py:97
Functioncolormap
Args: rgb (bool): whether to return RGB colors or BGR colors. maximum (int): either 255 or 1 Returns: ndarray: a flo
detr2/detectron2/utils/colormap.py:96
Functioncompose_lidar2img
(ego2global_translation_curr, ego2global_rotation_curr, lidar2ego_
tools/create_data_changan_sparsebev_rc.py:536
Functioncompose_lidar2img
(ego2global_translation_curr, ego2global_rotation_curr, lidar2ego_
tools/create_data_changan_sparsebev_rc_filter.py:562
MethodcomputeIoU
(self, imgId, catId)
detr2/detectron2/evaluation/refcocoeval.py:195
MethodcomputeIoU
(self, imgId, catId)
detr2/detectron2/evaluation/rotated_coco_evaluation.py:68
Functionconfigurable
Decorate a function or a class's __init__ method so that it can be called with a :class:`CfgNode` object using a :func:`from_config` function
detr2/detectron2/config/config.py:130
Functionconstruct_input
(input_shape)
tools/analysis_tools/get_flops.py:44
Methodconsumer
()
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:1282
Functionconvert_depth
Computes the normalized depth from a CARLA depth map.
tools/vis_utils.py:406
Functionconvert_egopose_to_matrix_numpy
(rotation, translation)
mmdet3d/datasets/argoverse2_dataset_t.py:278
Methodconvert_instances_to_cpp
(instances, is_det=False)
detr2/detectron2/evaluation/fast_eval_api.py:56
Methodconvert_mask
(m, shape)
detr2/detectron2/modeling/mmdet_wrapper.py:193
Methodconvert_one
Convert action for single file. Args: file_idx (int): Index of the file to be converted.
tools/data_converter/waymo_converter.py:101
Methodconvert_one
Convert action for single file. Args: file_idx (int): Index of the file to be converted.
mmdet3d/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py:171
Methodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`Box3DMode`): the target Box mode rt_mat (np.ndarray | torch.Tensor, op
mmdet3d/core/bbox/structures/lidar_box3d.py:177
Methodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`Box3DMode`): The target Box mode. rt_mat (np.ndarray | torch.Tensor, o
mmdet3d/core/bbox/structures/depth_box3d.py:188
Methodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`Box3DMode`): The target Box mode. rt_mat (np.ndarray | torch.Tensor, o
mmdet3d/core/bbox/structures/base_box3d.py:245
Methodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`Box3DMode`): The target Box mode. rt_mat (np.ndarray | torch.Tensor, o
mmdet3d/core/bbox/structures/cam_box3d.py:283
Methodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Point mode. rt_mat (np.ndarray | torch.Tensor,
mmdet3d/core/points/lidar_points.py:40
Methodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Point mode. rt_mat (np.ndarray | torch.Tensor,
mmdet3d/core/points/cam_points.py:45
Methodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Point mode. rt_mat (np.ndarray | torch.Tensor,
mmdet3d/core/points/depth_points.py:40
Methodconvert_to
Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Point mode. rt_mat (np.ndarray | torch.Tensor)
mmdet3d/core/points/radar_points.py:120
Functionconvert_to_kitti_info_version2
convert kitti info v1 to v2 if possible. Args: info (dict): Info of the input kitti data. - image (dict): image info
tools/data_converter/kitti_converter.py:16
Methodconvert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
mmdet3d/models/internvl_model/internlm2/tokenization_internlm2.py:124
Functionconvex_hull_graham
detr2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:167
Methodcoord
torch.Tensor: Coordinates of each point in shape (N, 3).
mmdet3d/core/points/base_points.py:50
Methodcopy_grads_to_fp32
Copy gradients from fp16 model to fp32 weight copy.
mmdet3d/models/utils/warmup_fp16_optimizer.py:81
Methodcopy_params_to_fp16
Copy updated params from fp32 weight copy to fp16 model.
mmdet3d/models/utils/warmup_fp16_optimizer.py:92
Functioncorner_to_standup_nd_jit
Convert boxes_corner to aligned (min-max) boxes. Args: boxes_corner (np.ndarray, shape=[N, 2**dim, dim]): Boxes corners. Returns:
mmdet3d/core/bbox/box_np_ops.py:235
Methodcorners
torch.Tensor: Coordinates of corners of all the boxes in shape (N, 8, 3). Convert the boxes to corners in clockwise order, in form of
mmdet3d/core/bbox/structures/lidar_box3d.py:50
Methodcorners
torch.Tensor: Coordinates of corners of all the boxes in shape (N, 8, 3). Convert the boxes to corners in clockwise order, in form of
mmdet3d/core/bbox/structures/depth_box3d.py:52
Methodcorners
torch.Tensor: Coordinates of corners of all the boxes in shape (N, 8, 3). Convert the boxes to in clockwise order,
mmdet3d/core/bbox/structures/cam_box3d.py:117
Functioncreate_anchors_3d_range
Create anchors 3d by range. Args: feature_size (list[float] | tuple[float]): Feature map size. It is either a list of a tuple
mmdet3d/core/bbox/box_np_ops.py:394
Methodcreate_custom_forward
(module)
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:937
Methodcreate_custom_forward
(module)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1196
Functioncreate_indoor_info_file
Create indoor information file. Get information of the raw data and save it to the pkl file. Args: data_path (str): Path of the data
tools/data_converter/indoor_converter.py:12
Functioncreate_kitti_info_file
Create info file of KITTI dataset. Given the raw data, generate its related info file in pkl format. Args: data_path (str): Path of
tools/data_converter/kitti_converter.py:157
Functioncreate_lyft_infos
Create info file of lyft dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path of t
tools/data_converter/lyft_converter.py:19
Functioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
tools/data_converter/nuscenes_converter_seg.py:39
Functioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
tools/data_converter/nuscenes_converter_R_10frame.py:32
Functioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
tools/data_converter/nuscenes_converter_R_10frame_future.py:32
Functioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
tools/data_converter/nuscenes_converter.py:27
Functioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
tools/data_converter/nuscenes_converter_C.py:27
Functioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
tools/data_converter/nuscenes_converter_R.py:32
Functioncreate_reduced_point_cloud
Create reduced point clouds for training/validation/testing. Args: data_path (str): Path of original data. pkl_prefix (str): Pref
tools/data_converter/kitti_converter.py:366
Methodcreate_single
(self, input_dict)
tools/data_converter/create_gt_database.py:499
Methodcreate_token_type_ids_from_sequences
Create a mask from the two sequences passed to be used in a sequence-pair classification task. T5 does not make use of token type ids
mmdet3d/models/internvl_model/internlm2/tokenization_internlm2.py:215
Functioncreate_waymo_info_file
Create info file of waymo dataset. Given the raw data, generate its related info file in pkl format. Args: data_path (str): Path of
tools/data_converter/kitti_converter.py:229
Methodcrop_and_resize
Crop each mask by the given box, and resize results to (mask_size, mask_size). This can be used to prepare training targets for Mask
detr2/detectron2/structures/masks.py:392
Functioncrop_boxes_in_canvas
(cam_bboxes)
tools/vis_utils.py:209
Functioncrop_image_patch_v2
(pos_proposals, pos_assigned_gt_inds, gt_masks)
tools/data_converter/create_gt_database.py:71
Methodcrop_len
(orig_len, n_crops, overlap)
mmdet3d/models/backbones/sam.py:637
Functioncross_2d
detr2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:53
Functioncross_entropy
Calculate the CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, C), C is the number of classes.
mmdet3d/models/losses/cross_entropy_loss.py:104
Functioncumdist_thres
mmdet3d/models/nerf/cuda/ub360_utils.cpp:15
Functioncumsum_trick
(x, geom_feats, ranks)
mmdet3d/models/necks/view_transformer_mine.py:21
Functioncustom_build_dataset
(cfg, default_args=None)
mmdet3d/datasets/builder.py:186
Methodcustom_forward
(*inputs)
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:938
Methodcustom_forward
(*inputs)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1197
Functioncustom_tpfp_gen
Check if detected bboxes are true positive or false positive. Args: det_bbox (ndarray): Detected bboxes of this image, of shape (m, 5).
mmdet3d/datasets/map_utils/tpfp.py:290
Methoddata_loader
()
detr2/detectron2/engine/hooks.py:621
Methoddecode
Decode predicted parts to bbox3d. Args: bbox_out (dict): Predictions from model, should contain keys below. - ce
mmdet3d/core/bbox/coders/partial_bin_based_bbox_coder.py:59
Methoddecode
Decode bboxes. Args: heat (torch.Tensor): Heatmap with the shape of [B, N, W, H]. rot_sine (torch.Tensor): Sine of ro
mmdet3d/core/bbox/coders/centerpoint_bbox_coders.py:117
Methoddecode
Decode regressed results into 3D predictions. Note that offsets are not transformed to the projected 3D centers. Args: b
mmdet3d/core/bbox/coders/fcos3d_bbox_coder.py:39
Methoddecode
Decode predicted parts to bbox3d. Args: bbox_out (dict): Predictions from model, should contain keys below. - ce
mmdet3d/core/bbox/coders/groupfree3d_bbox_coder.py:68
Methoddecode
Decode bboxes. Args: heat (torch.Tensor): Heatmap with the shape of [B, num_cls, num_proposals]. rot (torch.Tensor):
mmdet3d/core/bbox/coders/transfusion_bbox_coder.py:75
Methoddecode
Decode predicted parts and points to bbox3d. Args: box_encodings (torch.Tensor): Encoded boxes with shape (N, 8 + C).
mmdet3d/core/bbox/coders/point_xyzwhlr_bbox_coder.py:78
Methoddecode
Decode predicted parts to bbox3d. Args: bbox_out (dict): Predictions from model, should contain keys below. - ce
mmdet3d/core/bbox/coders/anchor_free_bbox_coder.py:54
Methoddecode
Decode bboxes. Args: all_cls_scores (Tensor): Outputs from the classification head, \ shape [nb_dec, bs, num_query
mmdet3d/core/bbox/coders/nms_free_coder.py:91
Methoddecode
Decode bboxes. Args: all_cls_scores (Tensor): Outputs from the classification head, \ shape [nb_dec, bs, num_query
mmdet3d/core/bbox/coders/nms_free_coder.py:198
Methoddecode
Decode bounding box regression into 3D predictions. Args: bbox (Tensor): Raw bounding box predictions for each pr
mmdet3d/core/bbox/coders/monoflex_bbox_coder.py:108
Methoddecode
Apply transformation `deltas` (dx, dy, dz, dx_size, dy_size, dz_size, dr, dv*) to `boxes`. Args: anchors (torch.Tensor):
mmdet3d/core/bbox/coders/delta_xyzwhlr_bbox_coder.py:58
Methoddefault_activation_class
()
detr2/detectron2/modeling/backbone/regnet.py:433
Functiondeform_conv_backward_filter
detr2/detectron2/layers/csrc/deformable/deform_conv.h:213
Functiondeform_conv_backward_input
detr2/detectron2/layers/csrc/deformable/deform_conv.h:163
Functiondeform_conv_forward
detr2/detectron2/layers/csrc/deformable/deform_conv.h:116
Functiondeform_inputs
(x)
mmdet3d/models/backbones/adapter_modules.py:28
Methoddeparallelize
(self)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1498
Methoddeparallelize
(self)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1705
Methoddeparallelize
(self)
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:2097
Methoddepth_func
(self, feat, net)
mmdet3d/models/dense_heads/yolox_head.py:343
← previousnext →4,801–4,900 of 6,925, ranked by callers