Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepinsight/insightface
/ functions
Functions
8,893 in github.com/deepinsight/insightface
⨍
Functions
8,893
◇
Types & classes
1,465
↳
Endpoints
39
Method
forward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
detection/scrfd/mmdet/models/dense_heads/gfl_head.py:152
Method
forward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
detection/scrfd/mmdet/models/dense_heads/fcos_head.py:104
Method
forward
(self, feats)
detection/scrfd/mmdet/models/dense_heads/sabl_retina_head.py:192
Method
forward
Forward features from the upstream network. Args: x (tensor): Input feature of BiCornerPool. Returns: conv2
detection/scrfd/mmdet/models/dense_heads/corner_head.py:55
Method
forward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
detection/scrfd/mmdet/models/dense_heads/corner_head.py:232
Method
forward
Forward function for `SinePositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
detection/scrfd/mmdet/models/utils/positional_encoding.py:49
Method
forward
Forward function for `LearnedPositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
detection/scrfd/mmdet/models/utils/positional_encoding.py:120
Method
forward
Forward function for `MultiheadAttention`. Args: x (Tensor): The input query with shape [num_query, bs, embed_dim
detection/scrfd/mmdet/models/utils/transformer.py:32
Method
forward
Forward function for `FFN`.
detection/scrfd/mmdet/models/utils/transformer.py:146
Method
forward
Forward function for `TransformerEncoderLayer`. Args: x (Tensor): The input query with shape [num_key, bs, embed_
detection/scrfd/mmdet/models/utils/transformer.py:213
Method
forward
Forward function for `TransformerDecoderLayer`. Args: x (Tensor): Input query with shape [num_query, bs, embed_dims].
detection/scrfd/mmdet/models/utils/transformer.py:317
Method
forward
Forward function for `TransformerEncoder`. Args: x (Tensor): Input query. Same in `TransformerEncoderLayer.forward`.
detection/scrfd/mmdet/models/utils/transformer.py:449
Method
forward
Forward function for `TransformerDecoder`. Args: x (Tensor): Input query. Same in `TransformerDecoderLayer.forward`.
detection/scrfd/mmdet/models/utils/transformer.py:534
Method
forward
Forward function for `Transformer`. Args: x (Tensor): Input query with shape [bs, c, h, w] where c = embed_dims.
detection/scrfd/mmdet/models/utils/transformer.py:684
Method
forward
(self, feats, rois, roi_scale_factor=None)
detection/scrfd/mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:82
Method
forward
Forward function.
detection/scrfd/mmdet/models/roi_heads/roi_extractors/single_level_roi_extractor.py:54
Method
forward
Forward function.
detection/scrfd/mmdet/models/roi_heads/roi_extractors/generic_roi_extractor.py:43
Method
forward
Classify each point base on fine grained and coarse feats. Args: fine_grained_feats (Tensor): Fine grained feature sampled from F
detection/scrfd/mmdet/models/roi_heads/mask_heads/mask_point_head.py:85
Method
forward
(self, x)
detection/scrfd/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:118
Method
forward
(self, x)
detection/scrfd/mmdet/models/roi_heads/mask_heads/grid_head.py:151
Method
forward
(self, feats)
detection/scrfd/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py:86
Method
forward
(self, mask_feat, mask_pred)
detection/scrfd/mmdet/models/roi_heads/mask_heads/maskiou_head.py:76
Method
forward
(self, x, res_feat=None, return_logits=True, return_feat=True)
detection/scrfd/mmdet/models/roi_heads/mask_heads/htc_mask_head.py:26
Method
forward
(self, x)
detection/scrfd/mmdet/models/roi_heads/mask_heads/coarse_mask_head.py:79
Method
forward
(self, x)
detection/scrfd/mmdet/models/roi_heads/bbox_heads/bbox_head.py:77
Method
forward
(self, x)
detection/scrfd/mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:58
Method
forward
(self, x_cls, x_reg)
detection/scrfd/mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:152
Method
forward
(self, x)
detection/scrfd/mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py:135
Method
forward
(self, x)
detection/scrfd/mmdet/models/roi_heads/bbox_heads/sabl_head.py:305
Method
forward
(self, x)
detection/scrfd/mmdet/models/roi_heads/shared_heads/res_layer.py:67
Method
forward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
detection/scrfd/mmdet/models/detectors/base.py:169
Method
forward
Forward function.
detection/scrfd/mmdet/models/losses/ae_loss.py:90
Method
forward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
detection/scrfd/mmdet/models/losses/varifocal_loss.py:94
Method
forward
Forward function of loss. Args: pred (torch.Tensor): The prediction with shape (N, 4). target (torch.Tensor): The lea
detection/scrfd/mmdet/models/losses/balanced_l1_loss.py:81
Method
forward
Forward function. Args: pred (torch.Tensor): Predicted joint representation of classification and quality (IoU) e
detection/scrfd/mmdet/models/losses/gfocal_loss.py:104
Method
forward
Forward function. Args: pred (torch.Tensor): Predicted general distribution of bounding boxes (before softmax) wi
detection/scrfd/mmdet/models/losses/gfocal_loss.py:158
Method
forward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
detection/scrfd/mmdet/models/losses/smooth_l1_loss.py:63
Method
forward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
detection/scrfd/mmdet/models/losses/smooth_l1_loss.py:112
Method
forward
Forward function of loss. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of th
detection/scrfd/mmdet/models/losses/mse_loss.py:29
Method
forward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
detection/scrfd/mmdet/models/losses/gaussian_focal_loss.py:58
Method
forward
Forward function to calculate accuracy. Args: pred (torch.Tensor): Prediction of models. target (torch.Tensor): Targe
detection/scrfd/mmdet/models/losses/accuracy.py:66
Method
forward
Calculate the GHM-C loss. Args: pred (float tensor of size [batch_num, class_num]): The direct prediction of clas
detection/scrfd/mmdet/models/losses/ghm_loss.py:50
Method
forward
Calculate the GHM-R loss. Args: pred (float tensor of size [batch_num, 4 (* class_num)]): The prediction of box r
detection/scrfd/mmdet/models/losses/ghm_loss.py:127
Method
forward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
detection/scrfd/mmdet/models/losses/iou_loss.py:229
Method
forward
(self, pred, target, weight=None, avg_factor=N
detection/scrfd/mmdet/models/losses/iou_loss.py:282
Method
forward
(self, pred, target, weight=None, avg_factor=N
detection/scrfd/mmdet/models/losses/iou_loss.py:315
Method
forward
(self, pred, target, weight=None, avg_factor=N
detection/scrfd/mmdet/models/losses/iou_loss.py:356
Method
forward
(self, pred, target, weight=None, avg_factor=N
detection/scrfd/mmdet/models/losses/iou_loss.py:394
Method
forward
Forward function. Args: cls_score (torch.Tensor): The prediction. label (torch.Tensor): The learning label of the pre
detection/scrfd/mmdet/models/losses/cross_entropy_loss.py:165
Method
forward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning label of the predict
detection/scrfd/mmdet/models/losses/focal_loss.py:121
Method
forward
forward inference
cpp-package/inspireface/cpp/inspireface/middleware/inference_wrapper/tensorrt/tensorrt_adapter.cpp:274
Method
forward
(ctx, num_inputs, *inputs)
parsing/dml_csr/utils/encoding.py:39
Method
forward
(ctx, *inputs)
parsing/dml_csr/utils/encoding.py:62
Method
forward
(self, inputs, *targets, **kwargs)
parsing/dml_csr/utils/encoding.py:130
Method
forward
(self, x)
parsing/dml_csr/utils/utils.py:104
Method
forward
(self, x)
parsing/dml_csr/networks/dml_csr.py:85
Method
forward
(self, x1, x2, x3)
parsing/dml_csr/networks/modules/edges.py:45
Method
forward
(self, xt, xl)
parsing/dml_csr/networks/modules/parsing.py:42
Method
forward
(self, x)
parsing/dml_csr/networks/modules/util.py:38
Method
forward
(self, x)
parsing/dml_csr/networks/modules/ddgcn.py:40
Method
forward
(self, feat)
parsing/dml_csr/networks/modules/ddgcn.py:108
Method
forward
(self, x)
parsing/dml_csr/networks/modules/ddgcn.py:177
Method
forward
(self, parsing, edge, label)
parsing/dml_csr/loss/consistency_loss.py:64
Method
forward
(self, input, target)
parsing/dml_csr/loss/lovasz_softmax.py:144
Method
forward
(self, pred, label)
parsing/dml_csr/loss/lovasz_softmax.py:278
Method
forward
(self, preds, target, cycle_n=None)
parsing/dml_csr/loss/criterion.py:47
Method
forward
(self, input, target, label)
parsing/dml_csr/loss/kl_loss.py:43
Method
forward_dummy
Dummy forward function.
detection/scrfd/mmdet/models/roi_heads/grid_roi_head.py:63
Method
forward_dummy
Dummy forward function.
detection/scrfd/mmdet/models/roi_heads/standard_roi_head.py:54
Method
forward_dummy
Dummy forward function.
detection/scrfd/mmdet/models/roi_heads/htc_roi_head.py:59
Method
forward_dummy
Dummy forward function.
detection/scrfd/mmdet/models/roi_heads/cascade_roi_head.py:122
Method
forward_dummy
Used for computing network flops. See `mmdetection/tools/get_flops.py`
detection/scrfd/mmdet/models/detectors/two_stage.py:87
Method
forward_dummy
Used for computing network flops. See `mmdetection/tools/get_flops.py`
detection/scrfd/mmdet/models/detectors/yolact.py:32
Method
forward_dummy
Dummy forward function.
detection/scrfd/mmdet/models/detectors/rpn.py:59
Method
forward_dummy
Used for computing network flops. See `mmdetection/tools/get_flops.py`
detection/scrfd/mmdet/models/detectors/single_stage.py:59
Method
forward_single
Forward feature map of a single FPN level.
detection/scrfd/mmdet/models/dense_heads/reppoints_head.py:253
Method
forward_single
(self, x)
detection/scrfd/mmdet/models/dense_heads/guided_anchor_head.py:220
Method
forward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. Returns: tuple:
detection/scrfd/mmdet/models/dense_heads/retina_head.py:93
Method
forward_single
Forward feature map of a single scale level.
detection/scrfd/mmdet/models/dense_heads/ga_retina_head.py:88
Method
forward_single
Forward features of a single scale level. Args: x (Tensor): FPN feature maps of the specified stride. scale (:obj: `m
detection/scrfd/mmdet/models/dense_heads/vfnet_head.py:217
Method
forward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. Returns: tuple:
detection/scrfd/mmdet/models/dense_heads/anchor_head.py:106
Method
forward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. Returns: tuple:
detection/scrfd/mmdet/models/dense_heads/yolact_head.py:116
Method
forward_single
Forward features of a single scale levle. Args: x (Tensor): FPN feature maps of the specified stride. Returns:
detection/scrfd/mmdet/models/dense_heads/anchor_free_head.py:199
Method
forward_single
Forward function for a single feature level. Args: x (Tensor): Input feature from backbone's single stage, shape
detection/scrfd/mmdet/models/dense_heads/transformer_head.py:217
Method
forward_single
(self, x)
detection/scrfd/mmdet/models/dense_heads/fovea_head.py:110
Method
forward_single
Forward feature of a single scale level.
detection/scrfd/mmdet/models/dense_heads/ga_rpn_head.py:30
Method
forward_single
Forward feature map of a single scale level. Args: x (Tensor): Feature map of a single scale level. Returns:
detection/scrfd/mmdet/models/dense_heads/fsaf_head.py:45
Method
forward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. scale (:obj: `mmcv.cnn.S
detection/scrfd/mmdet/models/dense_heads/scrfd_head.py:269
Method
forward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. scale (:obj: `mmcv.cnn.S
detection/scrfd/mmdet/models/dense_heads/atss_head.py:116
Method
forward_single
Forward feature of a single level. Args: x (Tensor): Feature of a single level. lvl_ind (int): Level index of current
detection/scrfd/mmdet/models/dense_heads/centripetal_head.py:150
Method
forward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. scale (:obj: `mmcv.cnn.S
detection/scrfd/mmdet/models/dense_heads/gfl_head.py:170
Method
forward_single
Forward feature map of a single scale level.
detection/scrfd/mmdet/models/dense_heads/rpn_head.py:37
Method
forward_single
Forward features of a single scale levle. Args: x (Tensor): FPN feature maps of the specified stride. scale (:obj: `m
detection/scrfd/mmdet/models/dense_heads/fcos_head.py:125
Method
forward_single
(self, x)
detection/scrfd/mmdet/models/dense_heads/sabl_retina_head.py:179
Method
forward_single
Forward feature of a single level. Args: x (Tensor): Feature of a single level. lvl_ind (int): Level index of current
detection/scrfd/mmdet/models/dense_heads/corner_head.py:264
Method
forward_test
Args: imgs (List[Tensor]): the outer list indicates test-time augmentations and inner Tensor should have a shape
detection/scrfd/mmdet/models/detectors/fast_rcnn.py:24
Method
forward_train
Args: x (list[Tensor]): Features from FPN. img_metas (list[dict]): Meta information of each image, e.g.,
detection/scrfd/mmdet/models/dense_heads/base_dense_head.py:22
Method
forward_train
Forward function for training mode. Args: x (list[Tensor]): Features from backbone. img_metas (list[dict]): Meta info
detection/scrfd/mmdet/models/dense_heads/transformer_head.py:533
Method
forward_train
Args: x (list[Tensor]): Features from FPN. img_metas (list[dict]): Meta information of each image, e.g.,
detection/scrfd/mmdet/models/dense_heads/scrfd_head.py:341
Method
forward_train
Forward function for training. Args: x (list[Tensor]): List of multi-level img features. img_metas (list[dict]): List
detection/scrfd/mmdet/models/roi_heads/pisa_roi_head.py:12
← previous
next →
6,901–7,000 of 8,893, ranked by callers