MCPcopy Create free account

hub / github.com/ChenhongyiYang/PGD / functions

Functions2,117 in github.com/ChenhongyiYang/PGD

Methodforward
Forward feature from the regression head to get integral result of bounding box location. Args: x (Tensor): Features of t
mmdet/models/dense_heads/gfl_head.py:36
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/atss_iou_head.py:117
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/fcos_head.py:120
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/ddod_head.py:122
Methodforward
Forward features from the upstream network. Args: x (tensor): Input feature of BiCornerPool. Returns: conv2
mmdet/models/dense_heads/corner_head.py:63
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/corner_head.py:246
Methodforward
(self, **kwargs)
mmdet/models/dense_heads/pgd_heads/utils/pgw_anchor_free.py:91
Methodforward
(self, **kwargs)
mmdet/models/dense_heads/pgd_heads/utils/pgw_anchor_based.py:108
Methodforward
(self, x)
mmdet/models/utils/se_layer.py:53
Methodforward
(self, x)
mmdet/models/utils/identity.py:8
Methodforward
Forward function for `SinePositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
mmdet/models/utils/positional_encoding.py:55
Methodforward
Forward function for `LearnedPositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
mmdet/models/utils/positional_encoding.py:132
Methodforward
(self, x)
mmdet/models/utils/normed_predictor.py:32
Methodforward
(self, x)
mmdet/models/utils/normed_predictor.py:67
Methodforward
Forward function for `TransformerCoder`. Returns: Tensor: forwarded results with shape [num_query, bs, embed_dims].
mmdet/models/utils/transformer.py:112
Methodforward
Forward function for `TransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs, embed_di
mmdet/models/utils/transformer.py:148
Methodforward
Forward function for `TransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs, embed_di
mmdet/models/utils/transformer.py:278
Methodforward
Forward function for `Transformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level. Each ele
mmdet/models/utils/transformer.py:532
Methodforward
Forward function for `DynamicConv`. Args: param_feature (Tensor): The feature can be used to generate the paramet
mmdet/models/utils/transformer.py:750
Methodforward
Forward function.
mmdet/models/utils/res_layer.py:170
Methodforward
(self, x)
mmdet/models/utils/inverted_residual.py:98
Methodforward
(self, feats, rois, roi_scale_factor=None)
mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:86
Methodforward
Forward function.
mmdet/models/roi_heads/roi_extractors/single_level_roi_extractor.py:57
Methodforward
Forward function.
mmdet/models/roi_heads/roi_extractors/generic_roi_extractor.py:43
Methodforward
Classify each point base on fine grained and coarse feats. Args: fine_grained_feats (Tensor): Fine grained feature sampled from F
mmdet/models/roi_heads/mask_heads/mask_point_head.py:85
Methodforward
(self, x)
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:127
Methodforward
(self, x)
mmdet/models/roi_heads/mask_heads/grid_head.py:154
Methodforward
Forward function.
mmdet/models/roi_heads/mask_heads/global_context_head.py:79
Methodforward
(self, feats)
mmdet/models/roi_heads/mask_heads/fused_semantic_head.py:85
Methodforward
Forward function.
mmdet/models/roi_heads/mask_heads/feature_relay_head.py:42
Methodforward
(self, mask_feat, mask_pred)
mmdet/models/roi_heads/mask_heads/maskiou_head.py:72
Methodforward
(self, x, res_feat=None, return_logits=True, return_feat=True)
mmdet/models/roi_heads/mask_heads/htc_mask_head.py:21
Methodforward
(self, x)
mmdet/models/roi_heads/mask_heads/coarse_mask_head.py:87
Methodforward
(self, x)
mmdet/models/roi_heads/bbox_heads/bbox_head.py:108
Methodforward
Forward function. Args: x (Tensor): input features return_shared_feat (bool): If True, return cls-reg-shared feature.
mmdet/models/roi_heads/bbox_heads/scnet_bbox_head.py:58
Methodforward
Forward function of Dynamic Instance Interactive Head. Args: roi_feat (Tensor): Roi-pooling features with shape (
mmdet/models/roi_heads/bbox_heads/dii_head.py:140
Methodforward
(self, x)
mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:62
Methodforward
(self, x_cls, x_reg)
mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:157
Methodforward
(self, x)
mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py:151
Methodforward
(self, x)
mmdet/models/roi_heads/bbox_heads/sabl_head.py:316
Methodforward
(self, x)
mmdet/models/roi_heads/shared_heads/res_layer.py:69
Methodforward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
mmdet/models/detectors/base.py:156
Methodforward
Forward function.
mmdet/models/losses/ae_loss.py:92
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet/models/losses/varifocal_loss.py:96
Methodforward
Forward function of loss. Args: pred (torch.Tensor): The prediction with shape (N, 4). target (torch.Tensor): The lea
mmdet/models/losses/balanced_l1_loss.py:83
Methodforward
Forward function. Args: pred (torch.Tensor): Predicted joint representation of classification and quality (IoU) e
mmdet/models/losses/gfocal_loss.py:107
Methodforward
Forward function. Args: pred (torch.Tensor): Predicted general distribution of bounding boxes (before softmax) wi
mmdet/models/losses/gfocal_loss.py:161
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet/models/losses/smooth_l1_loss.py:66
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet/models/losses/smooth_l1_loss.py:115
Methodforward
Forward function. Args: cls_score (torch.Tensor): The prediction with shape (N, C + 2). labels (torch.Tensor): The le
mmdet/models/losses/seesaw_loss.py:198
Methodforward
Forward function of loss. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of th
mmdet/models/losses/mse_loss.py:29
Methodforward
Forward function. Args: pred (Tensor): Predicted logits with shape (N, n + 1). soft_label (Tensor): Target logits wit
mmdet/models/losses/kd_loss.py:55
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet/models/losses/gaussian_focal_loss.py:60
Methodforward
Forward function to calculate accuracy. Args: pred (torch.Tensor): Prediction of models. target (torch.Tensor): Targe
mmdet/models/losses/accuracy.py:68
Methodforward
Calculate the GHM-C loss. Args: pred (float tensor of size [batch_num, class_num]): The direct prediction of clas
mmdet/models/losses/ghm_loss.py:50
Methodforward
Calculate the GHM-R loss. Args: pred (float tensor of size [batch_num, 4 (* class_num)]): The prediction of box r
mmdet/models/losses/ghm_loss.py:127
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet/models/losses/iou_loss.py:247
Methodforward
(self, pred, target, weight=None, avg_factor=N
mmdet/models/losses/iou_loss.py:303
Methodforward
(self, pred, target, weight=None, avg_factor=N
mmdet/models/losses/iou_loss.py:338
Methodforward
(self, pred, target, weight=None, avg_factor=N
mmdet/models/losses/iou_loss.py:378
Methodforward
(self, pred, target, weight=None, avg_factor=N
mmdet/models/losses/iou_loss.py:418
Methodforward
Forward function. Args: cls_score (torch.Tensor): The prediction. label (torch.Tensor): The learning label of the pre
mmdet/models/losses/cross_entropy_loss.py:178
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning label of the predict
mmdet/models/losses/focal_loss.py:136
Methodforward
(self, x, y)
tests/test_runtime/test_fp16.py:70
Methodforward
(self, imgs, rescale=False, return_loss=False)
tests/test_runtime/test_eval_hook.py:51
Methodforward
(self, x)
tests/test_data/test_datasets/test_common.py:317
Methodforward_dummy
Dummy forward function. Used in flops calculation.
mmdet/models/dense_heads/embedding_rpn_head.py:94
Methodforward_dummy
Dummy forward function when do the flops computing.
mmdet/models/roi_heads/sparse_roi_head.py:304
Methodforward_dummy
Dummy forward function.
mmdet/models/roi_heads/grid_roi_head.py:52
Methodforward_dummy
Dummy forward function.
mmdet/models/roi_heads/standard_roi_head.py:37
Methodforward_dummy
Dummy forward function.
mmdet/models/roi_heads/htc_roi_head.py:48
Methodforward_dummy
Dummy forward function.
mmdet/models/roi_heads/cascade_roi_head.py:111
Methodforward_dummy
Used for computing network flops. See `mmdetection/tools/analysis_tools/get_flops.py`
mmdet/models/detectors/two_stage.py:71
Methodforward_dummy
Used for computing network flops. See `mmdetection/tools/analysis_tools/get_flops.py`
mmdet/models/detectors/yolact.py:27
Methodforward_dummy
Used for computing network flops. See `mmdetection/tools/analysis_tools/get_flops.py`
mmdet/models/detectors/sparse_rcnn.py:92
Methodforward_dummy
Used for computing network flops. See `mmdetection/tools/analysis_tools/get_flops.py`
mmdet/models/detectors/single_stage.py:47
Methodforward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. scale (:obj: `mmcv.cnn.S
mmdet/models/dense_heads/ddod_fcos_head.py:129
Methodforward_single
Forward feature map of a single FPN level.
mmdet/models/dense_heads/reppoints_head.py:256
Methodforward_single
(self, x)
mmdet/models/dense_heads/guided_anchor_head.py:223
Methodforward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. Returns: tuple:
mmdet/models/dense_heads/retina_head.py:93
Methodforward_single
Forward feature map of a single scale level.
mmdet/models/dense_heads/ga_retina_head.py:91
Methodforward_single
Forward features of a single scale level. Args: x (Tensor): FPN feature maps of the specified stride. scale (:obj: `m
mmdet/models/dense_heads/autoassign_head.py:192
Methodforward_single
Forward feature of a single level. Args: feat (Tensor): Feature of a single level. Returns: center_heatmap_p
mmdet/models/dense_heads/centernet_head.py:97
Methodforward_single
Forward features of a single scale level. Args: x (Tensor): FPN feature maps of the specified stride. scale (:obj: `m
mmdet/models/dense_heads/vfnet_head.py:215
Methodforward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. Returns: tuple:
mmdet/models/dense_heads/anchor_head.py:105
Methodforward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. Returns: tuple:
mmdet/models/dense_heads/yolact_head.py:115
Methodforward_single
Forward features of a single scale level. Args: x (Tensor): FPN feature maps of the specified stride. Returns:
mmdet/models/dense_heads/anchor_free_head.py:197
Methodforward_single
Forward function of single scale.
mmdet/models/dense_heads/cascade_rpn_head.py:162
Methodforward_single
(self, x)
mmdet/models/dense_heads/fovea_head.py:117
Methodforward_single
Forward feature of a single scale level.
mmdet/models/dense_heads/ga_rpn_head.py:39
Methodforward_single
Forward feature map of a single scale level. Args: x (Tensor): Feature map of a single scale level. Returns:
mmdet/models/dense_heads/fsaf_head.py:62
Methodforward_single
(self, feature)
mmdet/models/dense_heads/yolof_head.py:118
Methodforward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. scale (:obj: `mmcv.cnn.S
mmdet/models/dense_heads/atss_head.py:113
Methodforward_single
Forward feature of a single level. Args: x (Tensor): Feature of a single level. lvl_ind (int): Level index of current
mmdet/models/dense_heads/centripetal_head.py:155
Methodforward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. scale (:obj: `mmcv.cnn.S
mmdet/models/dense_heads/gfl_head.py:183
Methodforward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. scale (:obj: `mmcv.cnn.S
mmdet/models/dense_heads/atss_iou_head.py:135
Methodforward_single
Forward feature map of a single scale level.
mmdet/models/dense_heads/rpn_head.py:37
Methodforward_single
Forward features of a single scale level. Args: x (Tensor): FPN feature maps of the specified stride. scale (:obj: `m
mmdet/models/dense_heads/fcos_head.py:140
Methodforward_single
Forward feature of a single scale level. Args: x (Tensor): Features of a single scale level. scale (:obj: `mmcv.cnn.S
mmdet/models/dense_heads/ddod_head.py:140
Methodforward_single
(self, x)
mmdet/models/dense_heads/sabl_retina_head.py:183
← previousnext →1,501–1,600 of 2,117, ranked by callers