MCPcopy Create free account

hub / github.com/OpenGVLab/InternImage / functions

Functions2,414 in github.com/OpenGVLab/InternImage

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
Methodadd_batch
(self, semantics_pred, semantics_gt, mask_lidar, mask_camera)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/datasets/occ_metrics.py:179
Methodadd_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
Methodadd_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
Methodadd_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
Methodafter_epoch
(self, runner)
detection/mmcv_custom/__init__.py:40
Methodafter_train_iter
(self, runner)
detection/mmcv_custom/__init__.py:43
Methodafter_train_iter
(self, runner)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/hooks/custom_hooks.py:10
Methodafter_train_iter
(self, runner)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/models/hooks/hooks.py:7
Functionall_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
Functionallreduce_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
Functionallreduce_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
Methodassign
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
Methodassign
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
Functionassign_attribute
(annotation)
autonomous_driving/openlane-v2/openlanev2/visualization/utils.py:112
Functionassign_topology
(annotation)
autonomous_driving/openlane-v2/openlanev2/visualization/utils.py:120
Methodaug_test
Test with augmentations. Only rescale=True is supported.
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former.py:268
Methodaug_test
Test with augmentations. Only rescale=True is supported.
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former_aug.py:272
Methodbackward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_g_22kto1k_512/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_xl_22kto1k_384/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_s_1k_224/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_h_22kto1k_640/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_l_22kto1k_384/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_t_1k_224/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/in1k_model/internimage_b_1k_224/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/22k_model/internimage_l_22k_384/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/22k_model/internimage_g_jointto22k_384/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/22k_model/internimage_xl_22k_384/dcnv3_func.py:62
Methodbackward
(ctx, grad_output)
classification/huggingface/22k_model/internimage_h_jointto22k_384/dcnv3_func.py:62
Methodbackward
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
Methodbackward
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
Methodbackward
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
Methodbackward
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
Methodbackward
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
Methodbboxes
torch.Tensor: concatenated positive and negative boxes
segmentation/mmseg_custom/core/box/samplers/sampling_result.py:51
Methodbefore_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
Methodbefore_train_iter
(self, runner)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/core/evaluation/eval_hooks.py:47
Methodbezier
(self, input_data, n_control=2)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/datasets/pipelines/transforms.py:312
Methodbezier_Direction_attribute
(self, input_data, n_control=3)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/datasets/pipelines/transforms.py:337
Methodbezier_Endpointfixed
(self, input_data, n_control=2)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/datasets/pipelines/transforms.py:359
Functionbf16_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
Functionbf16_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
Functionbf16_compress_wrapper_hook
( hook_state, bucket: dist.GradBucket)
classification/ddp_hooks.py:164
Functionbinary_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
Functionbuild_anchor_generator
(cfg, default_args=None)
segmentation/mmseg_custom/core/anchor/builder.py:15
Functionbuild_bbox_coder
Builder of box coder.
segmentation/mmseg_custom/core/box/builder.py:13
Functioncal_train_time
(log_dicts, args)
autonomous_driving/openlane-v2/tools/analysis_tools/analyze_logs.py:11
Functioncal_train_time
(log_dicts, args)
autonomous_driving/occupancy_prediction/tools/analysis_tools/analyze_logs.py:11
Methodcalculate_single
(self, info)
autonomous_driving/openlane-v2/tools/data_converter/kitti_converter.py:75
Functionchamfer_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
Functionchamfer_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
Methodcomb
(n, k)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/datasets/openlane_v2_dataset.py:394
MethodconfigurePlugin
tensorrt/modulated_deform_conv_v3/trt_deform_conv_v3.cpp:101
Functionconvert_22k_head_to_1k
(model, logger)
classification/utils.py:295
Methodconvert_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
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
autonomous_driving/openlane-v2/tools/data_converter/kitti_converter.py:16
MethodcreatePlugin
tensorrt/modulated_deform_conv_v3/trt_deform_conv_v3.cpp:223
Functioncreate_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
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
autonomous_driving/openlane-v2/tools/data_converter/indoor_converter.py:11
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
autonomous_driving/openlane-v2/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
autonomous_driving/openlane-v2/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
autonomous_driving/openlane-v2/tools/data_converter/nuscenes_converter.py:26
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
autonomous_driving/occupancy_prediction/tools/data_converter/nuscenes_converter.py:30
Functioncreate_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
Functioncreate_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
Methodcreate_single
(self, input_dict)
autonomous_driving/openlane-v2/tools/data_converter/create_gt_database.py:401
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
autonomous_driving/openlane-v2/tools/data_converter/kitti_converter.py:229
Functioncrop_image_patch_v2
(pos_proposals, pos_assigned_gt_inds, gt_masks)
autonomous_driving/openlane-v2/tools/data_converter/create_gt_database.py:69
Functioncrop_image_patch_v2
(pos_proposals, pos_assigned_gt_inds, gt_masks)
autonomous_driving/occupancy_prediction/tools/data_converter/create_gt_database.py:69
Functioncross_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
Functiondcnv3_backward
detection/ops_dcnv3/src/dcnv3.h:40
Functiondcnv3_backward
classification/ops_dcnv3/src/dcnv3.h:40
Functiondcnv3_backward
segmentation/ops_dcnv3/src/dcnv3.h:40
Functiondcnv3_backward
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/src/dcnv3.h:40
Functiondcnv3_backward
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/src/dcnv3.h:40
Functiondcnv3_cpu_backward
detection/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Functiondcnv3_cpu_backward
classification/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Functiondcnv3_cpu_backward
segmentation/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Functiondcnv3_cpu_backward
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Functiondcnv3_cpu_backward
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:28
Functiondcnv3_cpu_forward
detection/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Functiondcnv3_cpu_forward
classification/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Functiondcnv3_cpu_forward
segmentation/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Functiondcnv3_cpu_forward
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Functiondcnv3_cpu_forward
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/src/cpu/dcnv3_cpu.cpp:17
Functiondcnv3_forward
detection/ops_dcnv3/src/dcnv3.h:20
Functiondcnv3_forward
classification/ops_dcnv3/src/dcnv3.h:20
← previousnext →1,701–1,800 of 2,414, ranked by callers