MCPcopy Create free account

hub / github.com/OpenGVLab/InternImage / functions

Functions2,414 in github.com/OpenGVLab/InternImage

Methodforward
Forward function for `Transformer`. Args: x (Tensor): Input query with shape [bs, c, h, w] where c = embed_dims.
segmentation/mmseg_custom/models/utils/transformer.py:497
Methodforward
Forward function for `TransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs, embed_di
segmentation/mmseg_custom/models/utils/transformer.py:561
Methodforward
Forward function for `Transformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level. Each ele
segmentation/mmseg_custom/models/utils/transformer.py:817
Methodforward
Forward function for `DynamicConv`. Args: param_feature (Tensor): The feature can be used to generate the paramet
segmentation/mmseg_custom/models/utils/transformer.py:1039
Methodforward
Forward function. Args: feats (list[Tensor]): Multi scale Features from the upstream network, each is a 4D-tensor
segmentation/mmseg_custom/models/decode_heads/mask2former_head.py:446
Methodforward
Forward function. Args: feats (list[Tensor]): Features from the upstream network, each is a 4D-tensor.
segmentation/mmseg_custom/models/decode_heads/maskformer_head.py:398
Methodforward
Args: feats (list[Tensor]): Feature maps of each level. Each has shape of (batch_size, c, h, w). Returns
segmentation/mmseg_custom/models/plugins/msdeformattn_pixel_decoder.py:160
Methodforward
Args: feats (list[Tensor]): Feature maps of each level. Each has shape of [bs, c, h, w]. img_metas (l
segmentation/mmseg_custom/models/plugins/pixel_decoder.py:85
Methodforward
Args: feats (list[Tensor]): Feature maps of each level. Each has shape of [bs, c, h, w]. img_metas (l
segmentation/mmseg_custom/models/plugins/pixel_decoder.py:185
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction, has a shape (n, *). target (torch.Tensor): The label of
segmentation/mmseg_custom/models/losses/dice_loss.py:128
Methodforward
Forward function.
segmentation/mmseg_custom/models/losses/cross_entropy_loss.py:249
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning label of the predict
segmentation/mmseg_custom/models/losses/focal_loss.py:135
Methodforward
(self, x)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/ipm_backbone.py:20
Methodforward
(self, imgs)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/ipm_backbone.py:69
Methodforward
Args: imgs: torch.Tensor of shape [B, N, 3, H, W] N: number of cams img_metas:
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/ipm_backbone.py:188
Methodforward
(self, x)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:26
Methodforward
(self, x)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:35
Methodforward
(self, x, k=None, v=None)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:127
Methodforward
(self, x_q, x_kv, pos_q, pos_k,
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:210
Methodforward
(self, x)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:228
Methodforward
(self, x)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:270
Methodforward
(self, x)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:297
Methodforward
(self, x)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:407
Methodforward
(self, x, return_wo_downsample=False)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:509
Methodforward
(self, x)
autonomous_driving/Online-HD-Map-Construction/src/models/backbones/internimage.py:693
Methodforward
Forward function for `TransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs, embed_dim
autonomous_driving/Online-HD-Map-Construction/src/models/transformer_utils/deformable_transformer.py:60
Methodforward
Forward function for `Transformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level. Each elem
autonomous_driving/Online-HD-Map-Construction/src/models/transformer_utils/deformable_transformer.py:241
Methodforward
(self, *args, query=None, **kwargs)
autonomous_driving/Online-HD-Map-Construction/src/models/transformer_utils/base_transformer.py:12
Methodforward
(self, query, key=None, value=None, identity=None,
autonomous_driving/Online-HD-Map-Construction/src/models/transformer_utils/fp16_dattn.py:43
Methodforward
GPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum_head
autonomous_driving/Online-HD-Map-Construction/src/models/transformer_utils/fp16_dattn.py:69
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_query, b
autonomous_driving/Online-HD-Map-Construction/src/models/transformer_utils/fp16_dattn.py:291
Methodforward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
autonomous_driving/Online-HD-Map-Construction/src/models/mapers/base_mapper.py:80
Methodforward
Args: bev_feature (List[Tensor]): shape [B, C, H, W] feature in bev view img_metas Outs:
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detr_bbox.py:122
Methodforward
Pass batch through face model and get log probabilities. Args: batch: Dictionary containing: 'vertices_
autonomous_driving/Online-HD-Map-Construction/src/models/heads/polyline_generator.py:197
Methodforward
(self, *args, **kwargs)
autonomous_driving/Online-HD-Map-Construction/src/models/heads/base_map_head.py:27
Methodforward
Args: Returns: outs (Dict):
autonomous_driving/Online-HD-Map-Construction/src/models/heads/dg_head.py:49
Methodforward
Args: bev_feature (List[Tensor]): shape [B, C, H, W] feature in bev view img_metas Outs:
autonomous_driving/Online-HD-Map-Construction/src/models/heads/map_element_detector.py:226
Methodforward
Args: bev_feature (List[Tensor]): shape [B, C, H, W] feature in bev view img_metas Outs:
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detr_head.py:158
Methodforward
Args: tgt (Tensor): current_len_output x bsz x hidden_dim memory (Tensor): len_encoded_seq x bsz x hidden_dim
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detgen_utils/causal_trans.py:31
Methodforward
Args: see CausalTransformerDecoder query is not None model will perform query stream Returns: Ten
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detgen_utils/causal_trans.py:122
Methodforward
r"""Pass the input through the encoder layer. Args: src: the sequence to the encoder layer (required). src_mask: the m
autonomous_driving/Online-HD-Map-Construction/src/models/heads/detgen_utils/causal_trans.py:238
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. shape: [bs, ...] target (torch.Tensor): T
autonomous_driving/Online-HD-Map-Construction/src/models/losses/detr_loss.py:50
Methodforward
Forward function. Args: xxx
autonomous_driving/Online-HD-Map-Construction/src/models/losses/detr_loss.py:107
Methodforward
Forward function. Args: xxx
autonomous_driving/Online-HD-Map-Construction/src/models/losses/detr_loss.py:152
Methodforward
Forward function for `Detr3DTransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs, emb
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/decoder.py:55
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_query,
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/decoder.py:257
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_query,
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/temporal_self_attention.py:129
Methodforward
GPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum_hea
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/multi_scale_deformable_attn_function.py:20
Methodforward
GPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum_hea
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/multi_scale_deformable_attn_function.py:95
Methodforward
obtain bev features.
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/bevformer_constructer.py:101
Methodforward
Forward function for `Detr3DTransformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level. Eac
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/transformer.py:61
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: query (Tens
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/custom_base_transformer_layer.py:164
Methodforward
Forward function for `TransformerDecoder`. Args: bev_query (Tensor): Input BEV query with shape `(num_query, bs, e
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/encoder.py:144
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: query (Te
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/encoder.py:276
Methodforward
Forward Function of Detr3DCrossAtten. Args: query (Tensor): Query of Transformer with shape (num_query, bs, embed_
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/spatial_cross_attention.py:73
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape ( bs, num_que
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/spatial_cross_attention.py:275
Methodforward
inverse project Args: cam_feat: B*ncam, C, cH, cW img_shape: tuple(H, W) Returns:
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/necks/custom_ipm_view_transformer.py:144
Methodforward
Forward function.
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/necks/custom_fpn.py:174
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:27
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:36
Methodforward
(self, x, k=None, v=None)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:128
Methodforward
(self, x_q, x_kv, pos_q, pos_k,
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:211
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:229
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:271
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:298
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:408
Methodforward
(self, x, return_wo_downsample=False)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:510
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/intern_image.py:694
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/modules/dcnv3.py:24
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/modules/dcnv3.py:33
Methodforward
(self, query, center_feature_scale_proj_weight, center_feature
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/modules/dcnv3.py:81
Methodforward
:param query (N, H, W, C) :return output (N, H, W, C)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/modules/dcnv3.py:182
Methodforward
:param query (N, H, W, C) :return output (N, H, W, C)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/modules/dcnv3.py:309
Methodforward
( ctx, input, offset, mask, kernel_h, kernel_w, stride_h, stride_w, pad_h,
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/backbones/ops_dcnv3/functions/dcnv3_func.py:20
Methodforward
Calls either forward_train or forward_test depending on whether return_loss=True. Note this setting will change the expected inputs. W
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/detectors/road_bev.py:123
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/heads/relationship_head.py:24
Methodforward
Forward function. Args: mlvl_feats (tuple[Tensor]): Features from the upstream network, each is a 5D-tensor with s
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/heads/lc_deformable_detr_head.py:187
Methodforward
(self, x)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/heads/topology_head.py:38
Methodforward
(self, all_a_preds_list, all_b_preds_list)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/heads/topology_head.py:61
Methodforward
Forward function for `Detr3DTransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs, emb
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/decoder.py:59
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_query,
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/decoder.py:224
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_query,
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/temporal_self_attention.py:129
Methodforward
GPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum_hea
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/multi_scale_deformable_attn_function.py:20
Methodforward
GPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum_hea
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/multi_scale_deformable_attn_function.py:95
Methodforward
Forward function for `Detr3DTransformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level. Eac
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/transformer_occ.py:275
Methodforward
Forward function for `Detr3DTransformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level. Eac
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/transformer.py:200
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: query (Tens
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/custom_base_transformer_layer.py:166
Methodforward
Forward function for `TransformerDecoder`. Args: bev_query (Tensor): Input BEV query with shape `(num_query, bs, e
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/encoder.py:151
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: query (Te
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/encoder.py:287
Methodforward
Forward Function of Detr3DCrossAtten. Args: query (Tensor): Query of Transformer with shape (num_query, bs, embed_
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:73
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape ( bs, num_que
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/spatial_cross_attention.py:275
Methodforward
(self, x)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:27
Methodforward
(self, x)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:36
Methodforward
(self, x, k=None, v=None)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:128
Methodforward
(self, x_q, x_kv, pos_q, pos_k,
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:211
Methodforward
(self, x)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:229
Methodforward
(self, x)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:271
Methodforward
(self, x)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:298
Methodforward
(self, x)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:408
Methodforward
(self, x, return_wo_downsample=False)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:510
← previousnext →2,101–2,200 of 2,414, ranked by callers