MCPcopy Create free account

hub / github.com/OpenGVLab/InternImage / functions

Functions2,414 in github.com/OpenGVLab/InternImage

↓ 1 callersFunction_get_reference_points
(spatial_shapes, device, kernel_h, kernel_w, dilation_h, dilation_w, pad_h=0, pad_w=0,
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/functions/dcnv3_func.py:90
↓ 1 callersFunction_get_reference_points
(spatial_shapes, device, kernel_h, kernel_w, dilation_h, dilation_w, pad_h=0, pad_w=0,
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/functions/dcnv3_func.py:90
↓ 1 callersMethod_init_auxiliary_head
Initialize ``auxiliary_head``
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former.py:53
↓ 1 callersMethod_init_auxiliary_head
Initialize ``auxiliary_head``
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former_aug.py:53
↓ 1 callersMethod_init_branch
Initialize classification branch and regression branch of head.
autonomous_driving/Online-HD-Map-Construction/src/models/heads/map_element_detector.py:121
↓ 1 callersMethod_init_branch
Initialize classification branch and regression branch of head.
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detr_head.py:104
↓ 1 callersMethod_init_decode_head
Initialize ``decode_head``
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former.py:47
↓ 1 callersMethod_init_decode_head
Initialize ``decode_head``
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former_aug.py:47
↓ 1 callersMethod_init_embedding
(self)
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detr_bbox.py:36
↓ 1 callersMethod_init_embedding
(self)
autonomous_driving/Online-HD-Map-Construction/src/models/heads/polyline_generator.py:86
↓ 1 callersMethod_init_embedding
(self)
autonomous_driving/Online-HD-Map-Construction/src/models/heads/map_element_detector.py:106
↓ 1 callersMethod_init_layers
(self)
detection/mmdet_custom/models/dense_heads/cbdino_head.py:27
↓ 1 callersMethod_init_layers
(self)
detection/mmdet_custom/models/dense_heads/dino_head.py:27
↓ 1 callersMethod_init_layers
Initialize layers of the transformer head.
detection/mmdet_custom/models/dense_heads/detr_head.py:163
↓ 1 callersMethod_init_layers
(self)
detection/mmdet_custom/models/utils/transformer.py:37
↓ 1 callersMethod_init_layers
Initialize some layer.
autonomous_driving/Online-HD-Map-Construction/src/models/heads/map_element_detector.py:96
↓ 1 callersMethod_init_layers
Initialize some layer.
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detr_head.py:84
↓ 1 callersMethod_init_layers
Initialize classification branch and regression branch of head.
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/heads/lc_deformable_detr_head.py:143
↓ 1 callersFunction_inject
r""" Inject tp matching into predictions. Parameters ---------- num_gt : int Number of ground truth. pred : dict
autonomous_driving/openlane-v2/openlanev2/evaluation/evaluate.py:137
↓ 1 callersFunction_mAP_topology_lclc
r""" Calculate mAP on topology among lane centerlines. Parameters ---------- gts : dict Dict storing ground truth for all sam
autonomous_driving/openlane-v2/openlanev2/evaluation/evaluate.py:424
↓ 1 callersFunction_mAP_topology_lcte
r""" Calculate mAP on topology between lane centerlines and traffic elements. Parameters ---------- gts : dict Dict storing g
autonomous_driving/openlane-v2/openlanev2/evaluation/evaluate.py:472
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
segmentation/mmseg_custom/datasets/pipelines/transform.py:267
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
autonomous_driving/Online-HD-Map-Construction/src/datasets/pipelines/transform.py:68
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py:28
↓ 1 callersMethod_pad_seg
Pad masks according to ``results['pad_shape']``.
segmentation/mmseg_custom/datasets/pipelines/transform.py:280
↓ 1 callersMethod_parse_ann_info
Parse bbox and mask annotation. Args: ann_info (list[dict]): Annotation info of an image. with_mask (bool): Whether to
detection/mmdet_custom/datasets/crowd_human.py:100
↓ 1 callersFunction_parse_coco_ann_info
(ann_info)
autonomous_driving/occupancy_prediction/tools/data_converter/create_gt_database.py:32
↓ 1 callersFunction_poly2mask
(mask_ann, img_h, img_w)
autonomous_driving/occupancy_prediction/tools/data_converter/create_gt_database.py:16
↓ 1 callersFunction_pr_curve
r""" Calculate average precision based on given recalls and precisions. Parameters ---------- recalls : array_like List in sh
autonomous_driving/openlane-v2/openlanev2/evaluation/evaluate.py:38
↓ 1 callersMethod_prepare_context
Prepare class label and vertex context.
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detr_bbox.py:86
↓ 1 callersMethod_prepare_context
Prepare class label and vertex context.
autonomous_driving/Online-HD-Map-Construction/src/models/heads/map_element_detector.py:198
↓ 1 callersMethod_proposal2json
Convert proposal results to COCO json style.
detection/mmdet_custom/datasets/crowd_human.py:175
↓ 1 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
segmentation/mmseg_custom/datasets/pipelines/transform.py:136
↓ 1 callersMethod_reset_parameters
(self)
detection/ops_dcnv3/modules/dcnv3.py:178
↓ 1 callersMethod_reset_parameters
(self)
classification/ops_dcnv3/modules/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/in1k_model/internimage_g_22kto1k_512/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/in1k_model/internimage_xl_22kto1k_384/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/in1k_model/internimage_s_1k_224/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/in1k_model/internimage_h_22kto1k_640/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/in1k_model/internimage_l_22kto1k_384/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/in1k_model/internimage_t_1k_224/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/in1k_model/internimage_b_1k_224/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/22k_model/internimage_l_22k_384/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/22k_model/internimage_g_jointto22k_384/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/22k_model/internimage_xl_22k_384/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
classification/huggingface/22k_model/internimage_h_jointto22k_384/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
segmentation/ops_dcnv3/modules/dcnv3.py:178
↓ 1 callersMethod_reset_parameters
(self)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/modules/dcnv3.py:172
↓ 1 callersMethod_reset_parameters
(self)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/modules/dcnv3.py:172
↓ 1 callersMethod_resize_img
Resize images with ``results['scale']``.
segmentation/mmseg_custom/datasets/pipelines/transform.py:169
↓ 1 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
segmentation/mmseg_custom/datasets/pipelines/transform.py:207
↓ 1 callersMethod_sample_neg
Sample negative samples.
segmentation/mmseg_custom/core/box/samplers/base_sampler.py:30
↓ 1 callersMethod_sample_pos
Sample positive samples.
segmentation/mmseg_custom/core/box/samplers/base_sampler.py:25
↓ 1 callersMethod_segm2json
Convert instance segmentation results to COCO json style.
detection/mmdet_custom/datasets/crowd_human.py:207
↓ 1 callersFunction_test
()
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/ipm_backbone.py:375
↓ 1 callersFunction_tpfp
r""" Generate lists of tp and fp on given distance threshold. Parameters ---------- gts : List List of groud truth in shape (
autonomous_driving/openlane-v2/openlanev2/evaluation/evaluate.py:75
↓ 1 callersFunction_update_config_from_file
(config, cfg_file)
classification/config.py:214
↓ 1 callersFunctionaccimage_loader
(path)
classification/dataset/cached_image_folder.py:223
↓ 1 callersFunctionadd_plot_parser
(subparsers)
autonomous_driving/openlane-v2/tools/analysis_tools/analyze_logs.py:113
↓ 1 callersFunctionadd_plot_parser
(subparsers)
autonomous_driving/occupancy_prediction/tools/analysis_tools/analyze_logs.py:113
↓ 1 callersFunctionadd_time_parser
(subparsers)
autonomous_driving/openlane-v2/tools/analysis_tools/analyze_logs.py:143
↓ 1 callersFunctionadd_time_parser
(subparsers)
autonomous_driving/occupancy_prediction/tools/analysis_tools/analyze_logs.py:143
↓ 1 callersFunctionassign_batch
(batch, idx, size)
autonomous_driving/Online-HD-Map-Construction/src/models/heads/polyline_generator.py:514
↓ 1 callersFunctionassign_bev
(feat, idx)
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detr_bbox.py:484
↓ 1 callersFunctionassign_bev
(feat, idx)
autonomous_driving/Online-HD-Map-Construction/src/models/heads/polyline_generator.py:510
↓ 1 callersMethodaug_test
Test function with test time augmentation.
autonomous_driving/Online-HD-Map-Construction/src/models/mapers/base_mapper.py:55
↓ 1 callersFunctionauto_resume_helper
(output_dir)
classification/utils.py:383
↓ 1 callersFunctionaverage_precision
Calculate average precision. Args: recalls (ndarray): shape (num_dets, ) precisions (ndarray): shape (num_dets, ) mode (s
autonomous_driving/Online-HD-Map-Construction/src/datasets/evaluation/AP.py:9
↓ 1 callersMethodbatch_data
(self, polys, imgs, img_metas, device, points=None)
autonomous_driving/Online-HD-Map-Construction/src/models/mapers/vectormapnet.py:165
↓ 1 callersMethodbatch_points
(self, points)
autonomous_driving/Online-HD-Map-Construction/src/models/mapers/vectormapnet.py:186
↓ 1 callersFunctionbce
pred: B,nquery,npts label: B,nquery,npts
autonomous_driving/Online-HD-Map-Construction/src/models/losses/detr_loss.py:83
↓ 1 callersMethodbench
Matching predicted lanes and ground-truth lanes in their IPM projection, ignoring z attributes. x error, y_error, and z error
autonomous_driving/openlane-v2/openlanev2/evaluation/f_score.py:150
↓ 1 callersMethodbench_one_submit
(self, gts, preds)
autonomous_driving/openlane-v2/openlanev2/evaluation/f_score.py:288
↓ 1 callersMethodbinary_mask_dice_loss
Args: mask_preds (Tensor): Mask prediction in shape (N1, H, W). gt_masks (Tensor): Ground truth in shape (N2, H, W)
segmentation/mmseg_custom/models/losses/match_loss.py:149
↓ 1 callersMethodbinary_mask_dice_loss
Args: mask_preds (Tensor): Mask prediction in shape (N1, H, W). gt_masks (Tensor): Ground truth in shape (N2, H, W)
segmentation/mmseg_custom/models/losses/match_costs.py:149
↓ 1 callersFunctionbuild_MLP
(input_dim, hidden_dim, output_dim, num_layers)
detection/mmdet_custom/models/utils/transformer.py:13
↓ 1 callersFunctionbuild_criterion
(config)
classification/main_deepspeed.py:95
↓ 1 callersFunctionbuild_criterion
(config)
classification/main_accelerate.py:98
↓ 1 callersFunctionbuild_data_cfg
Build data config for loading visualization data.
autonomous_driving/openlane-v2/tools/misc/browse_dataset.py:59
↓ 1 callersFunctionbuild_data_cfg
Build data config for loading visualization data.
autonomous_driving/occupancy_prediction/tools/misc/browse_dataset.py:53
↓ 1 callersFunctionbuild_ds_config
(config, args)
classification/main_deepspeed.py:169
↓ 1 callersFunctionbuild_prior_generator
(cfg, default_args=None)
segmentation/mmseg_custom/core/anchor/builder.py:11
↓ 1 callersFunctionbuild_transform
(is_train, config)
classification/dataset/build.py:250
↓ 1 callersMethodcalNLL
Args: logits: B1, 8, cls_dim value: B2, 8, Return: log_likelihood: B1,B2,8
autonomous_driving/Online-HD-Map-Construction/src/models/assigner/match_cost.py:299
↓ 1 callersMethodcal_dist
Args: x1: B1,N,2 x2: B2,N,2 Return: dist_mat: B1,B2,N
autonomous_driving/Online-HD-Map-Construction/src/models/assigner/match_cost.py:247
↓ 1 callersMethodcart_to_homo
Convert transformation matrix in Cartesian coordinates to homogeneous format. Args: mat (np.ndarray): Transformation matr
autonomous_driving/openlane-v2/tools/data_converter/waymo_converter.py:539
↓ 1 callersFunctionce
pred: B*nquery,npts label: B*nquery,
autonomous_driving/Online-HD-Map-Construction/src/models/losses/detr_loss.py:129
↓ 1 callersFunctioncenter_in_image
Check if a box is visible inside an image without accounting for occlusions. :param box: The box to be checked. :param intrinsic: <float:
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/datasets/nuscnes_eval.py:155
↓ 1 callersFunctionchamfer_distance
Args: pred: [num_points, 2] gt: [num_gt, 2] Out: torch.FloatTensor of shape (1, )
autonomous_driving/Online-HD-Map-Construction/src/models/assigner/match_cost.py:8
↓ 1 callersFunctioncheck
(args, cfg)
classification/export.py:91
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
detection/ops_dcnv3/test.py:91
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
classification/ops_dcnv3/test.py:92
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
segmentation/ops_dcnv3/test.py:91
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/test.py:90
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/test.py:90
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_float
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
detection/ops_dcnv3/test.py:154
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_float
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
classification/ops_dcnv3/test.py:155
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_float
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
segmentation/ops_dcnv3/test.py:154
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_float
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/test.py:153
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_float
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/ops_dcnv3/test.py:153
← previousnext →501–600 of 2,414, ranked by callers