MCPcopy Create free account

hub / github.com/KyanChen/RSPrompter / functions

Functions6,823 in github.com/KyanChen/RSPrompter

Methodforward
Forward function. pred_tracks (ndarray): With shape (N, 7). Each row denotes (frame_id, track_id, x1, y1, x2, y2, score).
mmdet/models/task_modules/tracking/aflink.py:206
Methodforward
Forward function for SELayer.
mmdet/models/layers/se_layer.py:59
Methodforward
Forward function.
mmdet/models/layers/se_layer.py:126
Methodforward
Forward function for ChannelAttention.
mmdet/models/layers/se_layer.py:156
Methodforward
Forward function for `SinePositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
mmdet/models/layers/positional_encoding.py:60
Methodforward
Forward function for `LearnedPositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
mmdet/models/layers/positional_encoding.py:157
Methodforward
Forward function for `SinePositionalEncoding3D`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
mmdet/models/layers/positional_encoding.py:216
Methodforward
Forward function.
mmdet/models/layers/csp_layer.py:70
Methodforward
Forward function.
mmdet/models/layers/csp_layer.py:141
Methodforward
Forward function.
mmdet/models/layers/csp_layer.py:235
Methodforward
(self, inputs)
mmdet/models/layers/activations.py:18
Methodforward
Forward function for `NormedLinear`.
mmdet/models/layers/normed_predictor.py:42
Methodforward
Forward function for `NormedConv2d`.
mmdet/models/layers/normed_predictor.py:78
Methodforward
Args: x (Tensor): Input feature map on which some areas will be randomly dropped. Returns: T
mmdet/models/layers/dropblock.py:36
Methodforward
(self, x)
mmdet/models/layers/brick_wrappers.py:37
Methodforward
(self, x)
mmdet/models/layers/brick_wrappers.py:82
Methodforward
Args: feats (list[Tensor]): Feature maps of each level. Each has shape of (batch_size, c, h, w). Returns
mmdet/models/layers/msdeformattn_pixel_decoder.py:144
Methodforward
Forward function for SimplifiedBasicBlock.
mmdet/models/layers/res_layer.py:176
Methodforward
(self, x)
mmdet/models/layers/inverted_residual.py:105
Methodforward
(self, x)
mmdet/models/layers/conv_upsample.py:59
Methodforward
Args: feats (list[Tensor]): Feature maps of each level. Each has shape of (batch_size, c, h, w). batc
mmdet/models/layers/pixel_decoder.py:94
Methodforward
Args: feats (list[Tensor]): Feature maps of each level. Each has shape of (batch_size, c, h, w). batc
mmdet/models/layers/pixel_decoder.py:198
Methodforward
Forward function of Transformer decoder. Args: query (Tensor): The input query, has shape (bs, num_queries, dims)
mmdet/models/layers/transformer/ddq_detr_layers.py:104
Methodforward
Forward function of Transformer encoder. Args: query (Tensor): The input query, has shape (bs, num_queries, dim). que
mmdet/models/layers/transformer/deformable_detr_layers.py:42
Methodforward
Forward function of Transformer decoder. Args: query (Tensor): The input queries, has shape (bs, num_queries, dim
mmdet/models/layers/transformer/deformable_detr_layers.py:135
Methodforward
Forward function of Transformer encoder. Args: query (Tensor): The input query, has shape (bs, num_queries, dim). que
mmdet/models/layers/transformer/mask2former_layers.py:13
Methodforward
Args: query (Tensor): The input query, has shape (bs, num_queries, dim). key (Tensor, optional): The input key, has s
mmdet/models/layers/transformer/mask2former_layers.py:73
Methodforward
Forward function of Transformer decoder. Args: query (Tensor): The input query, has shape (num_queries, bs, dim). val
mmdet/models/layers/transformer/dino_layers.py:26
Methodforward
Args: query (Tensor): The input query with shape [bs, num_queries, dim]. key (Tensor): The key tensor
mmdet/models/layers/transformer/dab_detr_layers.py:34
Methodforward
Forward function of decoder. Args: query (Tensor): The input query with shape (bs, num_queries, dim). key (Tensor): T
mmdet/models/layers/transformer/dab_detr_layers.py:164
Methodforward
Forward function of encoder. Args: query (Tensor): Input queries of encoder, has shape (bs, num_queries, dim).
mmdet/models/layers/transformer/dab_detr_layers.py:274
Methodforward
(self, x)
mmdet/models/layers/transformer/utils.py:175
Methodforward
Args: x (Tensor): Has shape (B, C, H, W). In most case, C is 3. Returns: tuple: Contains merged results and
mmdet/models/layers/transformer/utils.py:288
Methodforward
Args: x (Tensor): Has shape (B, H*W, C_in). input_size (tuple[int]): The spatial shape of x, arrange as (H, W).
mmdet/models/layers/transformer/utils.py:392
Methodforward
Forward function for `ConditionalAttention`. Args: query (Tensor): The input query with shape [bs, num_queries, em
mmdet/models/layers/transformer/utils.py:644
Methodforward
Forward function of MLP. Args: x (Tensor): The input feature, has shape (num_queries, bs, input_dim). Ret
mmdet/models/layers/transformer/utils.py:756
Methodforward
Forward function for `DynamicConv`. Args: param_feature (Tensor): The feature can be used to generate the paramet
mmdet/models/layers/transformer/utils.py:833
Methodforward
Forward function of decoder. Args: query (Tensor): The input query with shape (bs, num_queries, dim).
mmdet/models/layers/transformer/conditional_detr_layers.py:34
Methodforward
Args: query (Tensor): The input query, has shape (bs, num_queries, dim) key (Tensor, optional): The input key, has sh
mmdet/models/layers/transformer/conditional_detr_layers.py:111
Methodforward
Implements decoder layer in Grounding DINO transformer. Args: query (Tensor): The input query, has shape (bs, num_queries, dim).
mmdet/models/layers/transformer/grounding_dino_layers.py:54
Methodforward
Forward function of Transformer encoder. Args: query (Tensor): The input query, has shape (bs, num_queries, dim). que
mmdet/models/layers/transformer/grounding_dino_layers.py:169
Methodforward
Forward function of encoder. Args: query (Tensor): Input queries of encoder, has shape (bs, num_queries, dim).
mmdet/models/layers/transformer/detr_layers.py:63
Methodforward
Forward function of decoder Args: query (Tensor): The input query, has shape (bs, num_queries, dim). key (Tensor): The
mmdet/models/layers/transformer/detr_layers.py:122
Methodforward
Forward function of an encoder layer. Args: query (Tensor): The input query, has shape (bs, num_queries, dim). query_
mmdet/models/layers/transformer/detr_layers.py:213
Methodforward
Args: query (Tensor): The input query, has shape (bs, num_queries, dim). key (Tensor, optional): The input key, has s
mmdet/models/layers/transformer/detr_layers.py:312
Methodforward
The unified entry for a forward process in both training and test. The method should accept three modes: "tensor", "predict" and "loss":
mmdet/models/reid/base_reid.py:28
Methodforward
(self, inputs)
mmdet/models/reid/gap.py:25
Methodforward
Model forward.
mmdet/models/reid/fc_module.py:64
Methodforward
The forward process.
mmdet/models/reid/linear_reid_head.py:110
Methodforward
Forward function.
mmdet/models/losses/ae_loss.py:91
Methodforward
Forward function. Args: pred (Tensor): The prediction with shape (N, C), C is the number of classes.
mmdet/models/losses/varifocal_loss.py:101
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:85
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction, has a shape (n, *). target (torch.Tensor): The label of
mmdet/models/losses/dice_loss.py:103
Methodforward
Forward function. Args: pred (torch.Tensor): Predicted joint representation of classification and quality (IoU) e
mmdet/models/losses/gfocal_loss.py:201
Methodforward
Forward function. Args: pred (torch.Tensor): Predicted general distribution of bounding boxes (before softmax) wi
mmdet/models/losses/gfocal_loss.py:268
Methodforward
Forward function. Args: pred (Tensor): The prediction. target (Tensor): The learning target of the prediction.
mmdet/models/losses/smooth_l1_loss.py:76
Methodforward
Forward function. Args: pred (Tensor): The prediction. target (Tensor): The learning target of the prediction.
mmdet/models/losses/smooth_l1_loss.py:134
Methodforward
Forward function. Args: cls_score (Tensor): The prediction with shape (N, C + 2). labels (Tensor): The learning label
mmdet/models/losses/seesaw_loss.py:212
Methodforward
Forward function of loss. Args: pred (Tensor): The prediction. target (Tensor): The learning target of the prediction
mmdet/models/losses/mse_loss.py:42
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet/models/losses/margin_loss.py:46
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:60
Methodforward
Forward function. If you want to manually determine which positions are positive samples, you can set the pos_index and pos_label
mmdet/models/losses/gaussian_focal_loss.py:127
Methodforward
`Equalization Loss v2 <https://arxiv.org/abs/2012.08548>`_ Args: cls_score (Tensor): The prediction with shape (N, C), C is the
mmdet/models/losses/eqlv2_loss.py:92
Methodforward
Forward function. Args: cls_score (torch.Tensor): The classification score. label (torch.Tensor): The assigned label
mmdet/models/losses/multipos_cross_entropy_loss.py:70
Methodforward
Forward function to calculate accuracy. Args: pred (torch.Tensor): Prediction of models. target (torch.Tensor): Targe
mmdet/models/losses/accuracy.py:67
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:60
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:158
Methodforward
Forward function. Args: pred (Tensor): Predicted bboxes of format (x1, y1, x2, y2), shape (n, 4). tar
mmdet/models/losses/iou_loss.py:444
Methodforward
Forward function. Args: pred (Tensor): Predicted bboxes of format (x1, y1, x2, y2), shape (n, 4). tar
mmdet/models/losses/iou_loss.py:521
Methodforward
Forward function. Args: pred (Tensor): Predicted bboxes of format (x1, y1, x2, y2), shape (n, 4). tar
mmdet/models/losses/iou_loss.py:585
Methodforward
Forward function. Args: pred (Tensor): Predicted bboxes of format (x1, y1, x2, y2), shape (n, 4). tar
mmdet/models/losses/iou_loss.py:656
Methodforward
Forward function. Args: pred (Tensor): Predicted bboxes of format (x1, y1, x2, y2), shape (n, 4). tar
mmdet/models/losses/iou_loss.py:728
Methodforward
Forward function. Args: pred (Tensor): Predicted bboxes of format (x1, y1, x2, y2), shape (n, 4). tar
mmdet/models/losses/iou_loss.py:803
Methodforward
Forward function. Args: pred (Tensor): Predicted bboxes of format (x1, y1, x2, y2), shape (n, 4). tar
mmdet/models/losses/iou_loss.py:879
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:258
Methodforward
Args: inputs (torch.Tensor): feature matrix with shape (batch_size, feat_dim). targets (torch.LongTen
mmdet/models/losses/triplet_loss.py:73
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning label of the predict
mmdet/models/losses/focal_loss.py:201
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning label of the predict
mmdet/models/losses/focal_loss.py:328
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet/models/losses/l2_loss.py:54
Methodforward
Feed the inputs to the model.
mmpretrain/apis/multimodal_retrieval.py:220
Methodforward
Feed the inputs to the model.
mmpretrain/apis/multimodal_retrieval.py:485
Methodforward
The forward function of MAERandomResizedCrop. Args: results (dict): The results dict contains the image and all these
mmpretrain/datasets/transforms/processing.py:1780
Methodforward
(self, x: torch.Tensor)
mmpretrain/models/necks/spark_neck.py:38
Methodforward
(self, x)
mmpretrain/models/necks/spark_neck.py:92
Methodforward
(self, to_dec)
mmpretrain/models/necks/spark_neck.py:163
Methodforward
Forward function. Args: x (Tuple[torch.Tensor]): The feature map of backbone. Returns: Tuple[torch.Tensor]:
mmpretrain/models/necks/mocov2_neck.py:39
Methodforward
Forward function of neck. Args: x (Tuple[torch.Tensor]): feature map of backbone. Returns: Tuple[torch.Tenso
mmpretrain/models/necks/densecl_neck.py:47
Methodforward
(self, inputs)
mmpretrain/models/necks/gap.py:35
Methodforward
The forward function. The process computes the visible patches' features vectors and the mask tokens to output feature vectors, which
mmpretrain/models/necks/mae_neck.py:111
Methodforward
The forward function.
mmpretrain/models/necks/mae_neck.py:182
Methodforward
forward function. Args: inputs (Union[Tuple, torch.Tensor]): The features extracted from the backbone. Multiple s
mmpretrain/models/necks/linear_neck.py:67
Methodforward
Forward function.
mmpretrain/models/necks/simmim_neck.py:30
Methodforward
Forward function. Args: x (torch.Tensor): The input features, which is of shape (N, L, C). mask (torch.Tensor): The t
mmpretrain/models/necks/mixmim_neck.py:79
Methodforward
Forward function.
mmpretrain/models/necks/cae_neck.py:104
Methodforward
Get the latent prediction and final prediction. Args: x_unmasked (torch.Tensor): Features of unmasked tokens. pos_emb
mmpretrain/models/necks/cae_neck.py:236
Methodforward
Get the latent prediction and final prediction. Args: x (Tuple[torch.Tensor]): Features of tokens. rel_pos_bias (torc
mmpretrain/models/necks/beitv2_neck.py:125
Methodforward
(self, inputs)
mmpretrain/models/necks/gem.py:40
Methodforward
(self, x)
mmpretrain/models/necks/itpn_neck.py:33
Methodforward
The forward function. The process computes the visible patches' features vectors and the mask tokens to output feature vectors, which
mmpretrain/models/necks/itpn_neck.py:300
Methodforward
Forward function for `PromptMultiheadAttention`. Args: x (torch.Tensor): Mask token features with shape N x L_m x C.
mmpretrain/models/necks/milan_neck.py:74
← previousnext →4,501–4,600 of 6,823, ranked by callers