Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/InternImage
/ functions
Functions
2,414 in github.com/OpenGVLab/InternImage
⨍
Functions
2,414
◇
Types & classes
566
↳
Endpoints
3
Method
_inner_forward
(x)
segmentation/mmseg_custom/models/backbones/intern_image.py:411
Method
_inner_forward
(x)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:409
Method
_inner_forward
(x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:410
Method
_inner_forward
(x)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:410
Method
_is_power_of_2
(n)
autonomous_driving/Online-HD-Map-Construction/src/models/transformer_utils/fp16_dattn.py:242
Method
_is_power_of_2
(n)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/decoder.py:208
Method
_is_power_of_2
(n)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/temporal_self_attention.py:80
Method
_is_power_of_2
(n)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/spatial_cross_attention.py:228
Method
_is_power_of_2
(n)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/decoder.py:175
Method
_is_power_of_2
(n)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention.py:80
Method
_is_power_of_2
(n)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:228
Method
_load_from_state_dict
load checkpoints.
detection/mmdet_custom/models/dense_heads/detr_head.py:183
Method
_sample_neg
Sample negative samples.
segmentation/mmseg_custom/core/box/samplers/mask_pseudo_sampler.py:22
Method
_sample_pos
Sample positive samples.
segmentation/mmseg_custom/core/box/samplers/mask_pseudo_sampler.py:18
Method
add_batch
(self, semantics_pred, semantics_gt, mask_lidar, mask_camera)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/datasets/occ_metrics.py:179
Method
add_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
detection/mmcv_custom/custom_layer_decay_optimizer_constructor.py:54
Method
add_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
segmentation/mmcv_custom/custom_layer_decay_optimizer_constructor.py:66
Method
add_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/custom_layer_decay_optimizer_constructor.py:54
Method
after_epoch
(self, runner)
detection/mmcv_custom/__init__.py:40
Method
after_train_iter
(self, runner)
detection/mmcv_custom/__init__.py:43
Method
after_train_iter
(self, runner)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/hooks/custom_hooks.py:10
Method
after_train_iter
(self, runner)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/models/hooks/hooks.py:7
Function
all_reduce_dict
Apply all reduce function for python dict object. The code is modified from https://github.com/Megvii- BaseDetection/YOLOX/blob/main/yolox/ut
segmentation/mmseg_custom/core/utils/dist_utils.py:96
Function
allreduce_grads
Allreduce gradients. Args: params (list[torch.Parameters]): List of parameters of a model coalesce (bool, optional): Whether allr
segmentation/mmseg_custom/core/utils/dist_utils.py:36
Function
allreduce_hook
This DDP communication hook just calls ``allreduce`` using ``GradBucket`` tensors. Once gradient tensors are aggregated across all workers, i
classification/ddp_hooks.py:25
Method
assign
Computes one-to-one matching based on the weighted costs. This method assign each query prediction to a ground truth or background. T
segmentation/mmseg_custom/models/utils/assigner.py:69
Method
assign
Computes one-to-one matching based on the weighted costs. This method assign each query prediction to a ground truth or background. Th
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/core/bbox/assigners/hungarian_assigner_3d.py:49
Function
assign_attribute
(annotation)
autonomous_driving/openlane-v2/openlanev2/visualization/utils.py:112
Function
assign_topology
(annotation)
autonomous_driving/openlane-v2/openlanev2/visualization/utils.py:120
Method
aug_test
Test with augmentations. Only rescale=True is supported.
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former.py:268
Method
aug_test
Test with augmentations. Only rescale=True is supported.
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former_aug.py:272
Method
backward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_g_22kto1k_512/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_xl_22kto1k_384/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_s_1k_224/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_h_22kto1k_640/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_l_22kto1k_384/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_t_1k_224/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_b_1k_224/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/22k_model/internimage_l_22k_384/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/22k_model/internimage_g_jointto22k_384/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/22k_model/internimage_xl_22k_384/dcnv3_func.py:62
Method
backward
(ctx, grad_output)
classification/huggingface/22k_model/internimage_h_jointto22k_384/dcnv3_func.py:62
Method
backward
GPU version of backward function. Args: grad_output (Tensor): Gradient of output tensor of forward. Return
autonomous_driving/Online-HD-Map-Construction/src/models/transformer_utils/fp16_dattn.py:106
Method
backward
GPU version of backward function. Args: grad_output (Tensor): Gradient of output tensor of forward. Retu
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/multi_scale_deformable_attn_function.py:58
Method
backward
GPU version of backward function. Args: grad_output (Tensor): Gradient of output tensor of forward. Retu
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/multi_scale_deformable_attn_function.py:134
Method
backward
GPU version of backward function. Args: grad_output (Tensor): Gradient of output tensor of forward. Retu
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/multi_scale_deformable_attn_function.py:58
Method
backward
GPU version of backward function. Args: grad_output (Tensor): Gradient of output tensor of forward. Retu
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/multi_scale_deformable_attn_function.py:134
Method
bboxes
torch.Tensor: concatenated positive and negative boxes
segmentation/mmseg_custom/core/box/samplers/sampling_result.py:51
Method
before_train_epoch
Evaluate the model only at the start of training by epoch.
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/core/evaluation/eval_hooks.py:42
Method
before_train_iter
(self, runner)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/core/evaluation/eval_hooks.py:47
Method
bezier
(self, input_data, n_control=2)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/datasets/pipelines/transforms.py:312
Method
bezier_Direction_attribute
(self, input_data, n_control=3)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/datasets/pipelines/transforms.py:337
Method
bezier_Endpointfixed
(self, input_data, n_control=2)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/datasets/pipelines/transforms.py:359
Function
bf16_compress_hook
Warning: This API is experimental, and it requires NCCL version later than 2.9.6. This DDP communication hook implements a simple gradient c
classification/ddp_hooks.py:77
Function
bf16_compress_wrapper
Warning: This API is experimental, and it requires NCCL version later than 2.9.6. This wrapper casts the input gradient tensor of a given DD
classification/ddp_hooks.py:147
Function
bf16_compress_wrapper_hook
( hook_state, bucket: dist.GradBucket)
classification/ddp_hooks.py:164
Function
binary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1). label (torch.Tensor): The le
segmentation/mmseg_custom/models/losses/cross_entropy_loss.py:88
Function
build_anchor_generator
(cfg, default_args=None)
segmentation/mmseg_custom/core/anchor/builder.py:15
Function
build_bbox_coder
Builder of box coder.
segmentation/mmseg_custom/core/box/builder.py:13
Function
cal_train_time
(log_dicts, args)
autonomous_driving/openlane-v2/tools/analysis_tools/analyze_logs.py:11
Function
cal_train_time
(log_dicts, args)
autonomous_driving/occupancy_prediction/tools/analysis_tools/analyze_logs.py:11
Method
calculate_single
(self, info)
autonomous_driving/openlane-v2/tools/data_converter/kitti_converter.py:75
Function
chamfer_distance
Calculate chamfer distance between two lines. Make sure the lines are interpolated. Args: line1 (array): coordinates of line1
autonomous_driving/Online-HD-Map-Construction/src/datasets/evaluation/distance.py:5
Function
chamfer_distance
r""" Calculate Chamfer distance. Parameters ---------- gt : np.ndarray Curve of (G, N) shape, where G is the number o
autonomous_driving/openlane-v2/openlanev2/evaluation/distance.py:63
Method
comb
(n, k)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/datasets/openlane_v2_dataset.py:394
Method
configurePlugin
tensorrt/modulated_deform_conv_v3/trt_deform_conv_v3.cpp:101
Function
convert_22k_head_to_1k
(model, logger)
classification/utils.py:295
Method
convert_one
Convert action for single file. Args: file_idx (int): Index of the file to be converted.
autonomous_driving/openlane-v2/tools/data_converter/waymo_converter.py:101
Function
convert_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
autonomous_driving/openlane-v2/tools/data_converter/kitti_converter.py:16
Method
createPlugin
tensorrt/modulated_deform_conv_v3/trt_deform_conv_v3.cpp:223
Function
create_groundtruth_database
Given the raw data, generate the ground truth database. Args: dataset_class_name (str): Name of the input dataset. data_path (str
autonomous_driving/occupancy_prediction/tools/data_converter/create_gt_database.py:109
Function
create_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
autonomous_driving/openlane-v2/tools/data_converter/indoor_converter.py:11
Function
create_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
autonomous_driving/openlane-v2/tools/data_converter/kitti_converter.py:157
Function
create_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
autonomous_driving/openlane-v2/tools/data_converter/lyft_converter.py:19
Function
create_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
autonomous_driving/openlane-v2/tools/data_converter/nuscenes_converter.py:26
Function
create_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
autonomous_driving/occupancy_prediction/tools/data_converter/nuscenes_converter.py:30
Function
create_nuscenes_occ_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
autonomous_driving/occupancy_prediction/tools/data_converter/nuscenes_occ_converter.py:31
Function
create_reduced_point_cloud
Create reduced point clouds for training/validation/testing. Args: data_path (str): Path of original data. pkl_prefix (str): Pref
autonomous_driving/openlane-v2/tools/data_converter/kitti_converter.py:366
Method
create_single
(self, input_dict)
autonomous_driving/openlane-v2/tools/data_converter/create_gt_database.py:401
Function
create_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
autonomous_driving/openlane-v2/tools/data_converter/kitti_converter.py:229
Function
crop_image_patch_v2
(pos_proposals, pos_assigned_gt_inds, gt_masks)
autonomous_driving/openlane-v2/tools/data_converter/create_gt_database.py:69
Function
crop_image_patch_v2
(pos_proposals, pos_assigned_gt_inds, gt_masks)
autonomous_driving/occupancy_prediction/tools/data_converter/create_gt_database.py:69
Function
cross_entropy
cross_entropy. The wrapper function for :func:`F.cross_entropy` Args: pred (torch.Tensor): The prediction with shape (N, 1). labe
segmentation/mmseg_custom/models/losses/cross_entropy_loss.py:11
Function
dcnv3_backward
detection/ops_dcnv3/src/dcnv3.h:40
Function
dcnv3_backward
classification/ops_dcnv3/src/dcnv3.h:40
Function
dcnv3_backward
segmentation/ops_dcnv3/src/dcnv3.h:40
Function
dcnv3_backward
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/src/dcnv3.h:40
Function
dcnv3_backward
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/src/dcnv3.h:40
Function
dcnv3_cpu_backward
detection/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Function
dcnv3_cpu_backward
classification/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Function
dcnv3_cpu_backward
segmentation/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Function
dcnv3_cpu_backward
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Function
dcnv3_cpu_backward
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Function
dcnv3_cpu_forward
detection/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Function
dcnv3_cpu_forward
classification/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Function
dcnv3_cpu_forward
segmentation/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Function
dcnv3_cpu_forward
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Function
dcnv3_cpu_forward
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Function
dcnv3_forward
detection/ops_dcnv3/src/dcnv3.h:20
Function
dcnv3_forward
classification/ops_dcnv3/src/dcnv3.h:20
← previous
next →
1,701–1,800 of 2,414, ranked by callers