Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ViTAE-Transformer/MTP
/ functions
Functions
1,405 in github.com/ViTAE-Transformer/MTP
⨍
Functions
1,405
◇
Types & classes
310
↓ 2 callers
Function
_get_mmcv_home
()
RS_Tasks_Finetune/Scene_Classification/mmcv_custom/checkpoint.py:30
↓ 2 callers
Function
_get_mmcv_home
()
RS_Tasks_Finetune/Semantic_Segmentation/mmcv_custom/checkpoint.py:30
↓ 2 callers
Function
_get_mmcv_home
()
RS_Tasks_Finetune/Horizontal_Detection/mmcv_custom/checkpoint.py:30
↓ 2 callers
Function
_get_mmcv_home
()
RS_Tasks_Finetune/Change_Detection/mmcv_custom/checkpoint.py:30
↓ 2 callers
Function
_get_mmcv_home
()
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmcv_custom/checkpoint.py:30
↓ 2 callers
Function
_get_mmcv_home
()
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmcv_custom/checkpoint.py:30
↓ 2 callers
Function
_get_mmcv_home
()
Multi-Task_Pretrain/backbone/checkpoint.py:30
↓ 2 callers
Function
_get_mmcv_home
()
Multi-Task_Pretrain/mmcv_custom/checkpoint.py:30
↓ 2 callers
Method
_get_serialized_subset
Get subset of serialized data information list. Args: indices (int or Sequence[int]): If type of indices is int,
Multi-Task_Pretrain/datasets.py:767
↓ 2 callers
Function
_is_power_of_2
(n)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/ops_dcnv3/modules/dcnv3.py:72
↓ 2 callers
Function
_is_power_of_2
(n)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/ops_dcnv3/modules/dcnv3.py:72
↓ 2 callers
Function
_is_power_of_2
(n)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/ops_dcnv3/modules/dcnv3.py:72
↓ 2 callers
Function
_is_power_of_2
(n)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/ops_dcnv3/modules/dcnv3.py:72
↓ 2 callers
Function
_is_power_of_2
(n)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:72
↓ 2 callers
Function
_is_power_of_2
(n)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:72
↓ 2 callers
Function
_is_power_of_2
(n)
Multi-Task_Pretrain/backbone/ops_dcnv3/modules/dcnv3.py:72
↓ 2 callers
Method
_reset_parameters
(self)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/ops_dcnv3/modules/dcnv3.py:308
↓ 2 callers
Method
_reset_parameters
(self)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/ops_dcnv3/modules/dcnv3.py:308
↓ 2 callers
Method
_reset_parameters
(self)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/ops_dcnv3/modules/dcnv3.py:308
↓ 2 callers
Method
_reset_parameters
(self)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/ops_dcnv3/modules/dcnv3.py:308
↓ 2 callers
Method
_reset_parameters
(self)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:308
↓ 2 callers
Method
_reset_parameters
(self)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:308
↓ 2 callers
Method
_reset_parameters
(self)
Multi-Task_Pretrain/backbone/ops_dcnv3/modules/dcnv3.py:308
↓ 2 callers
Method
_serialize_data
Serialize ``self.data_list`` to save memory when launching multiple workers in data loading. This function will be called in ``full_init``.
Multi-Task_Pretrain/datasets.py:863
↓ 2 callers
Function
_sum_ft
sum over the first and last dimention
Multi-Task_Pretrain/sync_batchnorm/batchnorm.py:47
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/intern_image.py:65
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/ops_dcnv3/modules/dcnv3.py:61
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/intern_image.py:65
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/ops_dcnv3/modules/dcnv3.py:61
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/intern_image.py:65
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/ops_dcnv3/modules/dcnv3.py:61
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/intern_image.py:65
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/ops_dcnv3/modules/dcnv3.py:61
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/intern_image.py:65
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:61
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/intern_image.py:67
↓ 2 callers
Function
build_act_layer
(act_layer)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:61
↓ 2 callers
Function
build_act_layer
(act_layer)
Multi-Task_Pretrain/backbone/intern_image.py:63
↓ 2 callers
Function
build_act_layer
(act_layer)
Multi-Task_Pretrain/backbone/ops_dcnv3/modules/dcnv3.py:61
↓ 2 callers
Function
build_norm_layer
(dim, norm_layer, in_format='channels_last', ou
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/ops_dcnv3/modules/dcnv3.py:37
↓ 2 callers
Function
build_norm_layer
(dim, norm_layer, in_format='channels_last', ou
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/ops_dcnv3/modules/dcnv3.py:37
↓ 2 callers
Function
build_norm_layer
(dim, norm_layer, in_format='channels_last', ou
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/ops_dcnv3/modules/dcnv3.py:37
↓ 2 callers
Function
build_norm_layer
(dim, norm_layer, in_format='channels_last', ou
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/ops_dcnv3/modules/dcnv3.py:37
↓ 2 callers
Function
build_norm_layer
(dim, norm_layer, in_format='channels_last', ou
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:37
↓ 2 callers
Function
build_norm_layer
(dim, norm_layer, in_format='channels_last', ou
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:37
↓ 2 callers
Function
build_norm_layer
(dim, norm_layer, in_format='channels_last', ou
Multi-Task_Pretrain/backbone/ops_dcnv3/modules/dcnv3.py:37
↓ 2 callers
Function
calc_rel_pos_spatial
Spatial Relative Positional Embeddings.
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/vit_rvsa_mtp.py:132
↓ 2 callers
Function
calc_rel_pos_spatial
Spatial Relative Positional Embeddings.
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/vit_rvsa_mtp.py:132
↓ 2 callers
Function
calc_rel_pos_spatial
Spatial Relative Positional Embeddings.
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/vit_rvsa_mtp.py:132
↓ 2 callers
Function
calc_rel_pos_spatial
Spatial Relative Positional Embeddings.
Multi-Task_Pretrain/backbone/vit_win_rvsa_v3_wsz7.py:142
↓ 2 callers
Method
contrast
Contrast distortion. Args: img (np.ndarray): The input image. Returns: np.ndarray: Image after contrast chang
Multi-Task_Pretrain/augmentations.py:1327
↓ 2 callers
Method
encode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
Multi-Task_Pretrain/semantic_segmentation/encoder_decoder.py:133
↓ 2 callers
Function
execute_replication_callbacks
Execute an replication callback `__data_parallel_replicate__` on each module created by original replication. The callback will be invoked w
Multi-Task_Pretrain/sync_batchnorm/replicate.py:27
↓ 2 callers
Method
forward
Forward features from the upstream network. Args: x (tuple[Tensor]): Features from the upstream network, each is
Multi-Task_Pretrain/rotated_detection/bbox_head.py:170
↓ 2 callers
Method
full_init
Load annotation file and set ``BaseDataset._fully_initialized`` to True. If ``lazy_init=False``, ``full_init`` will be called during
Multi-Task_Pretrain/datasets.py:378
↓ 2 callers
Method
get_cat_ids
Get DIOR category ids by index. Args: idx (int): Index of data. Returns: List[int]: All categories in the im
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/datasets/dior.py:217
↓ 2 callers
Method
get_cat_ids
Get category ids by index. Dataset wrapped by ClassBalancedDataset must implement this method. The ``ClassBalancedDataset`` requires
Multi-Task_Pretrain/datasets.py:467
↓ 2 callers
Function
get_torchvision_models
()
RS_Tasks_Finetune/Scene_Classification/mmcv_custom/checkpoint.py:173
↓ 2 callers
Function
get_torchvision_models
()
RS_Tasks_Finetune/Semantic_Segmentation/mmcv_custom/checkpoint.py:173
↓ 2 callers
Function
get_torchvision_models
()
RS_Tasks_Finetune/Horizontal_Detection/mmcv_custom/checkpoint.py:173
↓ 2 callers
Function
get_torchvision_models
()
RS_Tasks_Finetune/Change_Detection/mmcv_custom/checkpoint.py:173
↓ 2 callers
Function
get_torchvision_models
()
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmcv_custom/checkpoint.py:173
↓ 2 callers
Function
get_torchvision_models
()
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmcv_custom/checkpoint.py:173
↓ 2 callers
Function
get_torchvision_models
()
Multi-Task_Pretrain/backbone/checkpoint.py:173
↓ 2 callers
Function
get_torchvision_models
()
Multi-Task_Pretrain/mmcv_custom/checkpoint.py:173
↓ 2 callers
Method
load_data_list
Load annotations from an annotation file named as ``self.ann_file`` Returns: List[dict]: A list of annotation.
RS_Tasks_Finetune/Horizontal_Detection/mmdet/datasets/dior.py:48
↓ 2 callers
Method
loss_and_predict
Perform forward propagation of the head, then calculate loss and predictions from the features and data samples. Args: x
Multi-Task_Pretrain/rotated_detection/dense_head.py:166
↓ 2 callers
Method
loss_and_predict
Perform forward propagation of the head, then calculate loss and predictions from the features and data samples. Args: x
Multi-Task_Pretrain/instance_segmentation/rpn_head.py:304
↓ 2 callers
Method
loss_and_target
Calculate the loss based on the features extracted by the bbox head. Args: cls_score (Tensor): Classification prediction
Multi-Task_Pretrain/rotated_detection/base_bbox_head.py:288
↓ 2 callers
Method
loss_and_target
Calculate the loss based on the features extracted by the mask head. Args: mask_preds (Tensor): Predicted foreground masks, has s
Multi-Task_Pretrain/instance_segmentation/mask_head.py:179
↓ 2 callers
Method
loss_by_feat
Calculate the loss based on the features extracted by the detection head.
Multi-Task_Pretrain/rotated_detection/dense_head.py:161
↓ 2 callers
Method
mask_loss
Perform forward propagation and loss calculation of the mask head on the features of the upstream network. Args: x (tuple
Multi-Task_Pretrain/instance_segmentation/roi_head.py:312
↓ 2 callers
Method
parse_data_info
Parse raw annotation to target format. This method should return dict or list of dict. Each dict or list contains the data informatio
Multi-Task_Pretrain/datasets.py:432
↓ 2 callers
Method
predict_by_feat
Transform a batch of output features extracted from the head into bbox results. Note: When score_factors is not None, the cls_scores
Multi-Task_Pretrain/rotated_detection/dense_head.py:235
↓ 2 callers
Method
predict_mask
Perform forward propagation of the mask head and predict detection results on the features of the upstream network. Args:
Multi-Task_Pretrain/instance_segmentation/roi_head.py:581
↓ 2 callers
Method
prepare_data
Get data processed by ``self.pipeline``. Args: idx (int): The index of ``data_info``. Returns: Any: Depends
Multi-Task_Pretrain/datasets.py:904
↓ 2 callers
Method
random_choice
Random select some elements from the gallery. If `gallery` is a Tensor, the returned indices will be a Tensor; If `gallery` is a ndar
Multi-Task_Pretrain/rotated_detection/random_sampler.py:176
↓ 2 callers
Function
set_seeds
(seed=2023)
Multi-Task_Pretrain/main_pretrain.py:107
↓ 2 callers
Method
test_bbox_roi_feats
(self, x, rois)
Multi-Task_Pretrain/instance_segmentation/roi_head.py:245
↓ 2 callers
Method
train_bbox_forward
Box head forward function used in both training and testing. Args: x (tuple[Tensor]): List of multi-level img features.
Multi-Task_Pretrain/instance_segmentation/roi_head.py:209
↓ 2 callers
Function
unpack_r_gt_instances
Unpack ``gt_instances``, ``gt_instances_ignore`` and ``img_metas`` based on ``batch_data_samples`` Args: batch_data_samples (List[:ob
Multi-Task_Pretrain/rotated_detection/dense_head.py:22
↓ 2 callers
Method
xyxy2xywh
Convert ``xyxy`` style bounding boxes to ``xywh`` style for COCO evaluation. Args: bbox (numpy.ndarray): The bounding box
Multi-Task_Pretrain/instance_segmentation/metric.py:185
↓ 1 callers
Method
__data_parallel_replicate__
(self, ctx, copy_id)
Multi-Task_Pretrain/sync_batchnorm/batchnorm.py:111
↓ 1 callers
Method
__init__
(self, crop_size: tuple, crop_type: str = 'absolute', allow
Multi-Task_Pretrain/augmentations.py:924
↓ 1 callers
Method
__init__
(self, num_shared_convs: int = 0, num_shared_fcs: int = 0,
Multi-Task_Pretrain/rotated_detection/bbox_head.py:32
↓ 1 callers
Method
__init__
(self, num: int, pos_fraction: float, neg_pos_ub: int = -1,
Multi-Task_Pretrain/rotated_detection/random_sampler.py:24
↓ 1 callers
Method
__init__
(self, num_shared_convs: int = 0, num_shared_fcs: int = 0,
Multi-Task_Pretrain/instance_segmentation/bbox_head.py:31
↓ 1 callers
Method
__init__
Args: master_callback: a callback to be invoked after having collected messages from slave devices.
Multi-Task_Pretrain/sync_batchnorm/comm.py:67
↓ 1 callers
Method
_auxiliary_head_forward_train
Run forward function and calculate loss for auxiliary head in training.
Multi-Task_Pretrain/semantic_segmentation/encoder_decoder.py:155
↓ 1 callers
Method
_bbox_forward
Box head forward function used in both training and testing. Args: x (tuple[Tensor]): List of multi-level img features.
Multi-Task_Pretrain/rotated_detection/standard_roi_head.py:296
↓ 1 callers
Method
_bbox_forward
Box head forward function used in both training and testing. Args: x (tuple[Tensor]): List of multi-level img features.
Multi-Task_Pretrain/instance_segmentation/roi_head.py:255
↓ 1 callers
Method
_bbox_post_process
bbox post-processing method. The boxes would be rescaled to the original image scale and do the nms operation. Usually `with_nms` is
Multi-Task_Pretrain/rotated_detection/dense_head.py:458
↓ 1 callers
Method
_bbox_post_process
bbox post-processing method. The boxes would be rescaled to the original image scale and do the nms operation. Args:
Multi-Task_Pretrain/rotated_detection/rpn_head.py:236
↓ 1 callers
Method
_bbox_post_process
bbox post-processing method. The boxes would be rescaled to the original image scale and do the nms operation. Args:
Multi-Task_Pretrain/instance_segmentation/rpn_head.py:236
↓ 1 callers
Method
_compute_mean_std
Compute the mean and standard-deviation with sum and square-sum. This method also maintains the moving average on the master device.
Multi-Task_Pretrain/sync_batchnorm/batchnorm.py:144
↓ 1 callers
Method
_copy_without_annotation
Deepcopy for all attributes other than ``data_list``, ``data_address`` and ``data_bytes``. Args: memo: Memory dict which
Multi-Task_Pretrain/datasets.py:932
↓ 1 callers
Method
_crop_data
Function to randomly crop images, bounding boxes, masks, semantic segmentation maps. Args: results (dict): Result dict fr
Multi-Task_Pretrain/augmentations.py:954
↓ 1 callers
Method
_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
Multi-Task_Pretrain/semantic_segmentation/encoder_decoder.py:144
↓ 1 callers
Function
_do_paste_mask
Paste instance masks according to boxes. This implementation is modified from https://github.com/facebookresearch/detectron2/ Args:
Multi-Task_Pretrain/instance_segmentation/mask_head.py:401
↓ 1 callers
Method
_forward
Network forward process. Usually includes backbone, neck and head forward without any post- processing.
Multi-Task_Pretrain/rotated_detection/base_detector.py:139
← previous
next →
101–200 of 1,405, ranked by callers