Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VDIGPKU/HENet
/ functions
Functions
6,925 in github.com/VDIGPKU/HENet
⨍
Functions
6,925
◇
Types & classes
1,221
↳
Endpoints
8
↓ 3 callers
Method
corners
Returns the bounding box corners. :param wlh_factor: Multiply w, l, h by a factor to scale the box. :return: <np.float: 3, 8>
mmdet3d/core/bbox/structures/nuscenes_box.py:118
↓ 3 callers
Method
count_miou
(self)
mmdet3d/datasets/occ_metrics.py:133
↓ 3 callers
Method
create_2D_grid
(self, x_size, y_size)
mmdet3d/models/dense_heads/focal_decoder.py:338
↓ 3 callers
Method
create_2D_grid
(self, x_size, y_size)
mmdet3d/models/dense_heads/transfusion_head.py:760
↓ 3 callers
Method
crop_and_resize
Crop each bitmask by the given box, and resize results to (mask_size, mask_size). This can be used to prepare training targets for Ma
detr2/detectron2/structures/masks.py:189
↓ 3 callers
Method
d2t_func
(self, feats, gamma=1)
mmdet3d/models/detectors/bevdet_mix.py:526
↓ 3 callers
Method
decode_prob_depth
Decode probabilistic depth map. Args: depth_cls_preds (torch.Tensor): Depth probabilistic map in shape [..., self
mmdet3d/core/bbox/coders/pgd_bbox_coder.py:73
↓ 3 callers
Method
decode_yaw
Decode yaw angle and change it from local to global.i. Args: bbox (torch.Tensor): Bounding box predictions in shape
mmdet3d/core/bbox/coders/fcos3d_bbox_coder.py:103
↓ 3 callers
Method
decompose
(self)
detr2/projects/DDETRS/ddetrs/util/misc.py:340
↓ 3 callers
Method
deserialize
Initialize from serialized content.
mmdet3d/datasets/evaluation/motion/motion_utils.py:107
↓ 3 callers
Function
detect_compute_compatibility
(CUDA_HOME, so_file)
detr2/detectron2/utils/collect_env.py:34
↓ 3 callers
Method
device
(self)
detr2/detectron2/structures/masks.py:113
↓ 3 callers
Function
distance
(dts: NDArrayFloat, gts: NDArrayFloat, metric: DistanceType)
mmdet3d/datasets/av2_utils.py:159
↓ 3 callers
Method
draw_binary_mask
Args: binary_mask (ndarray): numpy array of shape (H, W), where H is the image height and W is the image width. E
detr2/detectron2/utils/visualizer.py:1044
↓ 3 callers
Method
draw_text
Args: text (str): class label position (tuple): a tuple of the x and y coordinates to place text on image.
detr2/detectron2/utils/visualizer.py:859
↓ 3 callers
Function
encode_bbox
(bboxes, pc_range=None)
mmdet3d/core/bbox/utils.py:55
↓ 3 callers
Method
encode_decode
Encode points with backbone and decode into a semantic segmentation map of the same size as input. Args: points (torch.Te
mmdet3d/models/segmentors/encoder_decoder.py:77
↓ 3 callers
Method
enlarged_box
Enlarge the length, width and height boxes. Args: extra_width (float | torch.Tensor): Extra width to enlarge the box. Re
mmdet3d/core/bbox/structures/lidar_box3d.py:197
↓ 3 callers
Function
eval_class
Kitti eval. support 2d/bev/3d/aos eval. support 0.5:0.05:0.95 coco AP. Args: gt_annos (dict): Must from get_label_annos() in kitti_common
mmdet3d/core/evaluation/kitti_utils/eval.py:452
↓ 3 callers
Function
eval_class
Kitti eval. support 2d/bev/3d/aos eval. support 0.5:0.05:0.95 coco AP. Args: gt_annotations: dict, must from get_label_annotations() in ev
mmdet3d/core/evaluation/vod_utils/kitti_official_evaluate.py:506
↓ 3 callers
Method
extract_bboxes_2d
Extract bounding boxes from 2d detector. Args: img (torch.Tensor): of shape (N, C, H, W) encoding input images. T
mmdet3d/models/detectors/imvotenet.py:310
↓ 3 callers
Method
extract_feat
Extract features from images and points.
mmdet3d/models/bevformer/bevformerV2.py:98
↓ 3 callers
Method
extract_feat
(self, img, img_metas, radar, gt_bboxes_3d=None)
mmdet3d/models/sparsebev/sparsebev_rc_seg.py:309
↓ 3 callers
Method
extract_feat
Extract features from images and points.
mmdet3d/models/detectors/futr3d.py:163
↓ 3 callers
Method
extract_feat
Extract features from points.
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_ssl.py:169
↓ 3 callers
Method
extract_img_feat
(self, img)
mmdet3d/models/sparsebev/sparsebev_rc_seg.py:295
↓ 3 callers
Method
extract_img_feat
(self, img)
mmdet3d/models/sparsebev/sparsebev.py:37
↓ 3 callers
Method
extract_img_feat_mf
(self, img)
mmdet3d/models/detectors/henetpp.py:78
↓ 3 callers
Method
extract_line
Construct a shapely LineString object out of a line token. :param line_token: The token of the line record. :return: The line
tools/data_converter/map_api.py:504
↓ 3 callers
Method
extract_pts_feat
Extract features of points.
mmdet3d/models/detectors/imvotenet.py:292
↓ 3 callers
Function
fixup_module_metadata
Fix the __qualname__ of module members to be their exported api name, so when they are referenced in docs, sphinx can find them. Reference:
detr2/detectron2/utils/env.py:135
↓ 3 callers
Function
flat2window_v2
(feat, inds_dict)
mmdet3d/ops/sst/sst_ops.py:140
↓ 3 callers
Method
forward_plugin
(self, x, plugin_names)
mmdet3d/models/backbones/resnet_withcp.py:242
↓ 3 callers
Method
forward_plugin
(self, x, plugin_names)
mmdet3d/models/bricks/res_block.py:254
↓ 3 callers
Method
forward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None.
mmdet3d/models/unipad/uvtr.py:317
↓ 3 callers
Method
forward_with_given_boxes
Use the given boxes in `instances` to produce other (non-box) per-ROI outputs. Args: features: same as in `forward()`
detr2/detectron2/modeling/roi_heads/roi_heads.py:502
↓ 3 callers
Function
fp16_clamp
(x, min=None, max=None)
detr2/projects/DDETRS/ddetrs/util/mmcv_utils.py:3
↓ 3 callers
Method
freeze
Make this block not trainable. This method sets all parameters to `requires_grad=False`, and convert all BatchNorm layers to
detr2/detectron2/layers/blocks.py:43
↓ 3 callers
Function
fuse_conv_bn
During inference, the functionary of batch norm layers is turned off but only the mean and var alone channels are used, which exposes the chance t
tools/misc/fuse_conv_bn.py:11
↓ 3 callers
Function
fuse_module
(m)
tools/misc/fuse_conv_bn.py:27
↓ 3 callers
Method
get_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/sunrgbd_dataset.py:122
↓ 3 callers
Method
get_ann_info
Get annotation info according to the given index. Args: index (int): Index of the annotation data to get. Returns:
mmdet3d/datasets/nuscenes_dataset.py:394
↓ 3 callers
Method
get_bboxes
Generate bboxes from vote head predictions. Args: points (torch.Tensor): Input points. bbox_preds (dict): Predictions
mmdet3d/models/roi_heads/bbox_heads/h3d_bbox_head.py:439
↓ 3 callers
Method
get_bboxes
Transform network outputs for a batch into bbox predictions. Args: all_cls_scores (Tensor): Classification score of all
mmdet3d/models/codetr/co_deformable_detr_head.py:721
↓ 3 callers
Method
get_bev_features
obtain bev features.
mmdet3d/models/model_utils/transformer_occ.py:175
↓ 3 callers
Method
get_bev_features
obtain bev features.
mmdet3d/models/bevformer/modules/transformer.py:104
↓ 3 callers
Method
get_cams
(self, info)
mmdet3d/datasets/B2D_occ_dataset.py:491
↓ 3 callers
Method
get_centroid_per_voxel
Args: points: (N, 3 + (f)) [bxyz + (f)] voxel_idxs: (N, 4) [bxyz] num_points_in_voxel: (N) Return
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_ssl.py:728
↓ 3 callers
Function
get_cfg
Get a copy of the default config. Returns: a detectron2 CfgNode instance.
detr2/detectron2/config/config.py:99
↓ 3 callers
Function
get_consumer_map
Return dict from versioned blob to list of (i, j), where i is index of consumer op, j is the index of input of that op.
detr2/detectron2/export/shared.py:327
↓ 3 callers
Method
get_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
mmdet3d/datasets/custom_3d.py:120
↓ 3 callers
Method
get_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
mmdet3d/datasets/custom_3d_seg.py:112
↓ 3 callers
Method
get_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
mmdet3d/datasets/nuscenes_occ.py:105
↓ 3 callers
Method
get_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
mmdet3d/datasets/custom_3d_ra.py:117
↓ 3 callers
Method
get_infos
Get data infos. This method gets information from the raw data. Args: num_workers (int, optional): Number of threads to
tools/data_converter/s3dis_data_utils.py:46
↓ 3 callers
Method
get_input_embeddings
(self)
mmdet3d/models/internvl_model/internvl_chat/modeling_intern_vit.py:322
↓ 3 callers
Function
get_kitti_image_info
KITTI annotation format version 2: { [optional]points: [N, 3+] point cloud [optional, for kitti]image: { image_id
tools/data_converter/kitti_data_utils.py:165
↓ 3 callers
Function
get_loading_pipeline
Only keep loading image, points and annotations related configuration. Args: pipeline (list[dict] | list[:obj:`Pipeline`]): D
mmdet3d/datasets/utils.py:53
↓ 3 callers
Function
get_producer_map
Return dict from versioned blob to (i, j), where i is index of producer op, j is the index of output of that op.
detr2/detectron2/export/shared.py:314
↓ 3 callers
Method
get_proposal_pos_embed
Get the position embedding of proposal.
mmdet3d/models/codetr/transformer.py:171
↓ 3 callers
Method
get_sensor2ego_transformation
(self, cam_info, key_info,
mmdet3d/datasets/pipelines/loading_hop.py:930
↓ 3 callers
Method
get_surface_line_center
Compute surface and line center of bounding boxes. Returns: torch.Tensor: Surface and line center of bounding boxes.
mmdet3d/core/bbox/structures/depth_box3d.py:223
↓ 3 callers
Method
get_targets
(self, sampling_results, gt_masks, rcnn_train_cfg)
mmdet3d/models/roi_heads/mask_heads/fcn_mask_head.py:138
↓ 3 callers
Function
get_velodyne_path
(idx, prefix, training=True, relative_path=T
tools/data_converter/kitti_data_utils.py:76
↓ 3 callers
Function
get_version
(module, digit=2)
detr2/detectron2/utils/env.py:82
↓ 3 callers
Function
get_world_size
()
detr2/projects/DDETRS/ddetrs/util/misc.py:370
↓ 3 callers
Method
image_encoder
(self, img, stereo=False)
mmdet3d/models/detectors/bevmaepp.py:146
↓ 3 callers
Function
infer_device_type
Return the device type ("cpu" or "gpu"/"cuda") of each (versioned) blob
detr2/detectron2/export/shared.py:448
↓ 3 callers
Method
inference
Run inference on the given inputs. Args: batched_inputs (list[dict]): same as in :meth:`forward` detected_in
detr2/detectron2/modeling/meta_arch/rcnn.py:174
↓ 3 callers
Method
init_weights
Initialize model weights.
mmdet3d/models/detectors/bevdet_rc_occ.py:1078
↓ 3 callers
Method
init_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to Non
detr2/projects/DDETRS/ddetrs/backbone/swin.py:636
↓ 3 callers
Method
label_and_sample_proposals
Prepare some proposals to be used to train the ROI heads. It performs box matching between `proposals` and `targets`, and assigns
detr2/detectron2/modeling/roi_heads/roi_heads.py:220
↓ 3 callers
Method
layers
Neural network layers that makes predictions from input features.
detr2/detectron2/modeling/roi_heads/mask_head.py:198
↓ 3 callers
Method
limit_yaw
Limit the yaw to a given period and offset. Args: offset (float, optional): The offset of the yaw. Defaults to 0.5. p
mmdet3d/core/bbox/structures/base_box3d.py:272
↓ 3 callers
Function
load
(module, prefix='')
mmdet3d/models/codetr/checkpoint.py:65
↓ 3 callers
Method
load
(self, path, *args, **kwargs)
detr2/detectron2/checkpoint/detection_checkpoint.py:32
↓ 3 callers
Method
load_ckpt
(self, ckpt)
mmdet3d/models/detectors/bevmaepp.py:513
↓ 3 callers
Method
load_state_dict
(self, state_dict)
detr2/detectron2/engine/train_loop.py:415
↓ 3 callers
Function
locate
Locate and return an object ``x`` using an input string ``{x.__module__}.{x.__qualname__}``, such as "module.submodule.class_name". Rais
detr2/detectron2/utils/registry.py:40
↓ 3 callers
Method
loss
(self, gt_bboxes_list, gt_labels_list, ret, gt_bboxes_igno
mmdet3d/models/bevformer/bev_head.py:98
↓ 3 callers
Method
loss
(self, gt_bboxes_list, gt_labels_list, preds_dicts, gt_bbo
mmdet3d/models/sparsebev/sparsebev_head.py:478
↓ 3 callers
Method
losses
Args: predictions: return values of :meth:`forward()`. proposals (list[Instances]): proposals that match the features
detr2/detectron2/modeling/roi_heads/fast_rcnn.py:278
↓ 3 callers
Method
make_auxiliary_points
Make auxiliary points for loss computation. Args: source_tensor (torch.Tensor): (M, C) features to be propigated. tar
mmdet3d/models/middle_encoders/sparse_encoder.py:455
↓ 3 callers
Method
make_block_plugins
make plugins for block. Args: in_channels (int): Input channels of plugin. plugins (list[dict]): List of plugins cfg
mmdet3d/models/backbones/resnet_withcp.py:219
↓ 3 callers
Method
make_block_plugins
make plugins for block. Args: in_channels (int): Input channels of plugin. plugins (list[dict]): List of plugins cfg
mmdet3d/models/bricks/res_block.py:231
↓ 3 callers
Function
maybe_add_gradient_clipping
If gradient clipping is enabled through config options, wraps the existing optimizer type to become a new dynamically created class Optimizer
detr2/detectron2/solver/build.py:78
↓ 3 callers
Method
merge_from_file
Load content from the given config file and merge it into self. Args: cfg_filename: config filename allow_un
detr2/detectron2/config/config.py:37
↓ 3 callers
Method
normalize_centroid
(self,coors,centroids)
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_ssl.py:616
↓ 3 callers
Method
normalize_centroid_sub_voxel
(self, coors, centroids,layer=None)
mmdet3d/models/detectors/multi_sub_voxel_dynamic_voxelnet_ssl.py:627
↓ 3 callers
Function
nuscenes_data_prep
Prepare data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth databas
tools/create_data.py:54
↓ 3 callers
Function
nuscenes_data_prep
Prepare data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth databas
tools/create_data_nuscenes_LRC.py:90
↓ 3 callers
Function
pairwise_iou_rotated
Return intersection-over-union (Jaccard index) of boxes. Both sets of boxes are expected to be in (x_center, y_center, width, height, an
detr2/detectron2/layers/rotated_boxes.py:6
↓ 3 callers
Function
plot_rect3d_on_img
Plot the boundary lines of 3D rectangular on 2D images. Args: img (numpy.array): The numpy array of image. num_rects (int): Numbe
mmdet3d/core/visualizer/image_vis.py:61
↓ 3 callers
Method
points2depthmap
(self, points, height, width)
mmdet3d/datasets/pipelines/loading.py:1200
↓ 3 callers
Function
pos2posemb3d
(pos, num_pos_feats=128, temperature=10000)
mmdet3d/models/utils/positional_encoding.py:13
↓ 3 callers
Method
pre_compute
(self, input)
mmdet3d/models/necks/view_transformer.py:353
↓ 3 callers
Method
pre_pipeline
Initialization before data preparation. Args: results (dict): Dict before data preprocessing. - img_fields (list
mmdet3d/datasets/custom_3d_seg.py:141
↓ 3 callers
Method
pre_pipeline
Initialization before data preparation. Args: results (dict): Dict before data preprocessing. - img_fields (list
mmdet3d/datasets/custom_3d_ra.py:190
↓ 3 callers
Method
predict_probs
Args: predictions: return values of :meth:`forward()`. proposals (list[Instances]): proposals that match the features
detr2/detectron2/modeling/roi_heads/fast_rcnn.py:445
↓ 3 callers
Method
prepare_bev_feat
(self, img, rot, tran, intrin, post_rot, post_tran, bda, mlp_input)
mmdet3d/models/detectors/bevmaepp.py:736
← previous
next →
501–600 of 6,925, ranked by callers