MCPcopy Create free account

hub / github.com/ViTAE-Transformer/MTP / functions

Functions1,405 in github.com/ViTAE-Transformer/MTP

Method_clip_grad
(self, grad_norm)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/vit_rvsa_mtp_branches.py:425
Method_clip_grad
(self, grad_norm)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/vit_rvsa_mtp.py:425
Method_clip_grad
(self, grad_norm)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/vit_rvsa_mtp.py:425
Method_clip_grad
(self, grad_norm)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/vit_rvsa_mtp_branches.py:425
Method_clip_grad
(self, grad_norm)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/vit_rvsa_mtp.py:425
Method_clip_grad
(self, grad_norm)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/vit_rvsa_mtp_branches.py:427
Method_clip_grad
(self, grad_norm)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/vit_rvsa_mtp.py:427
Method_clip_grad
(self, grad_norm)
Multi-Task_Pretrain/backbone/vit_win_rvsa_v3_wsz7.py:435
Method_data_parallel_master
Reduce the sum and square-sum, compute the statistics, and broadcast it.
Multi-Task_Pretrain/sync_batchnorm/batchnorm.py:121
Method_filter_imgs
Filter images without ground truths.
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/datasets/dota.py:149
Method_filter_imgs
Filter images without ground truths.
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/datasets/fair1m.py:157
Method_flip
Flip images, bounding boxes, and semantic segmentation map.
Multi-Task_Pretrain/augmentations.py:643
Method_forward
Network forward process. Usually includes backbone, neck and head forward without any post-processing. Args: batch_inputs
Multi-Task_Pretrain/rotated_detection/two_stage.py:117
Method_forward
Network forward process. Args: inputs (Tensor): Inputs with shape (N, C, H, W). data_samples (List[:obj:`SegDataSampl
Multi-Task_Pretrain/semantic_segmentation/encoder_decoder.py:236
Method_forward
Network forward process. Usually includes backbone, neck and head forward without any post-processing. Args: batch_inputs
Multi-Task_Pretrain/instance_segmentation/two_stage.py:115
Method_freeze_stages
Freeze stages param and norm stats.
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/intern_image.py:703
Method_freeze_stages
Freeze stages param and norm stats.
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/vit_rvsa_mtp.py:820
Method_get_targets_single
Calculate the ground truth for proposals in the single image according to the sampling results. Args: pos_priors (Tensor)
Multi-Task_Pretrain/rotated_detection/base_bbox_head.py:155
Method_get_targets_single
Compute regression and classification targets for anchors in a single image. Args: flat_anchors (Tensor or :obj:`BaseBoxe
Multi-Task_Pretrain/rotated_detection/anchor_head.py:204
Method_get_targets_single
Calculate the ground truth for proposals in the single image according to the sampling results. Args: pos_priors (Tensor)
Multi-Task_Pretrain/instance_segmentation/base_bbox_head.py:157
Method_init_deform_weights
(self, m)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/intern_image.py:693
Method_init_deform_weights
(self, m)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/intern_image.py:693
Method_init_deform_weights
(self, m)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/intern_image.py:693
Method_init_deform_weights
(self, m)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/intern_image.py:698
Method_init_deform_weights
(self, m)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/intern_image.py:693
Method_init_deform_weights
(self, m)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/intern_image.py:696
Method_init_deform_weights
(self, m)
Multi-Task_Pretrain/backbone/intern_image.py:686
Method_init_layers
Initialize layers of the head.
Multi-Task_Pretrain/rotated_detection/rpn_head.py:50
Method_init_layers
Initialize layers of the head.
Multi-Task_Pretrain/instance_segmentation/rpn_head.py:50
Method_init_weights
(self, m)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/intern_image.py:684
Method_init_weights
(self, m)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/vit_rvsa_mtp.py:675
Method_init_weights
(self, m)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/intern_image.py:684
Method_init_weights
(self, m)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/vit_rvsa_mtp.py:675
Method_init_weights
(self, m)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/intern_image.py:684
Method_init_weights
(self, m)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/vit_rvsa_mtp_branches.py:675
Method_init_weights
(self, m)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/vit_rvsa_mtp.py:675
Method_init_weights
(self, m)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/intern_image.py:689
Method_init_weights
(self, m)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/vit_rvsa_mtp.py:679
Method_init_weights
(self, m)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/intern_image.py:684
Method_init_weights
(self, m)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/vit_rvsa_mtp_branches.py:675
Method_init_weights
(self, m)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/vit_rvsa_mtp.py:675
Method_init_weights
(self, m)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/intern_image.py:687
Method_init_weights
(self, m)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/vit_rvsa_mtp_branches.py:678
Method_init_weights
(self, m)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/vit_rvsa_mtp.py:678
Method_init_weights
(self, m)
Multi-Task_Pretrain/backbone/intern_image.py:677
Method_init_weights
(self, m)
Multi-Task_Pretrain/backbone/vit_win_rvsa_v3_wsz7.py:684
Method_inner_forward
(x)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/intern_image.py:411
Method_inner_forward
(x)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/intern_image.py:411
Method_inner_forward
(x)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/intern_image.py:411
Method_inner_forward
(x)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/intern_image.py:411
Method_inner_forward
(x)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/intern_image.py:411
Method_inner_forward
(x)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/intern_image.py:413
Method_inner_forward
(x)
Multi-Task_Pretrain/backbone/intern_image.py:409
Method_load_from_state_dict
Exchange bbox_head key to rpn_head key when loading single-stage weights into two-stage model.
Multi-Task_Pretrain/instance_segmentation/two_stage.py:66
Function_merge_func
Merging patch bboxes into full image. Args: CLASSES (list): Label category. iou_thr (float): Threshold of IoU.
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/datasets/dota.py:358
Function_merge_func
Merging patch bboxes into full image. Args: CLASSES (list): Label category. iou_thr (float): Threshold of IoU.
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/datasets/fair1m.py:366
Method_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: cls_score_list (list[Tensor]): Box s
Multi-Task_Pretrain/rotated_detection/rpn_head.py:134
Method_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: cls_score_list (list[Tensor]): Box s
Multi-Task_Pretrain/instance_segmentation/rpn_head.py:134
Method_reset_parameters
(self)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/vit_rvsa_mtp.py:430
Method_reset_parameters
(self)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/vit_rvsa_mtp.py:430
Method_reset_parameters
(self)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/vit_rvsa_mtp_branches.py:430
Method_reset_parameters
(self)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/vit_rvsa_mtp.py:430
Method_reset_parameters
(self)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/vit_rvsa_mtp.py:430
Method_reset_parameters
(self)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/vit_rvsa_mtp_branches.py:430
Method_reset_parameters
(self)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/vit_rvsa_mtp.py:430
Method_reset_parameters
(self)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/vit_rvsa_mtp_branches.py:432
Method_reset_parameters
(self)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/vit_rvsa_mtp.py:432
Method_reset_parameters
(self)
Multi-Task_Pretrain/backbone/vit_win_rvsa_v3_wsz7.py:440
Method_sample_neg
Randomly sample some negative samples. Args: assign_result (:obj:`AssignResult`): Bbox assigning results. num_expecte
Multi-Task_Pretrain/rotated_detection/random_sampler.py:228
Method_sample_pos
Randomly sample some positive samples. Args: assign_result (:obj:`AssignResult`): Bbox assigning results. num_expecte
Multi-Task_Pretrain/rotated_detection/random_sampler.py:209
Method_serialize
(data)
Multi-Task_Pretrain/datasets.py:877
Method_set_group_flag
Set flag according to image aspect ratio. All set to 0.
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/datasets/dota.py:158
Method_set_group_flag
Set flag according to image aspect ratio. All set to 0.
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/datasets/fair1m.py:166
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Scene_Classification/mmcv_custom/custom_layer_decay_optimizer_constructor.py:65
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Scene_Classification/mmcv_custom/layer_decay_optimizer_constructor_vit.py:20
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Semantic_Segmentation/mmcv_custom/custom_layer_decay_optimizer_constructor.py:65
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Semantic_Segmentation/mmcv_custom/layer_decay_optimizer_constructor_vit.py:20
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Horizontal_Detection/mmcv_custom/custom_layer_decay_optimizer_constructor.py:65
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Horizontal_Detection/mmcv_custom/layer_decay_optimizer_constructor_vit.py:20
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Change_Detection/mmcv_custom/custom_layer_decay_optimizer_constructor.py:65
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Change_Detection/mmcv_custom/layer_decay_optimizer_constructor_vit.py:20
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with s
RS_Tasks_Finetune/Change_Detection/opencd/engine/optimizers/layer_decay_optimizer_constructor.py:111
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmcv_custom/custom_layer_decay_optimizer_constructor.py:65
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmcv_custom/layer_decay_optimizer_constructor_vit.py:20
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmcv_custom/custom_layer_decay_optimizer_constructor.py:68
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmcv_custom/layer_decay_optimizer_constructor_vit.py:24
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
Multi-Task_Pretrain/mmcv_custom/custom_layer_decay_optimizer_constructor.py:65
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with sp
Multi-Task_Pretrain/mmcv_custom/layer_decay_optimizer_constructor_vit.py:20
Methodanchor_generator
(self)
Multi-Task_Pretrain/rotated_detection/anchor_head.py:117
MethodassertTensorClose
(self, x, y)
Multi-Task_Pretrain/sync_batchnorm/unittest.py:16
Methodaug_test
Test function with test time augmentation. Args: aug_batch_feats (list[tuple[Tensor]]): The outer list indicates
Multi-Task_Pretrain/rotated_detection/dense_head.py:522
Methodaug_test
Test with augmentations. Only rescale=True is supported.
Multi-Task_Pretrain/semantic_segmentation/encoder_decoder.py:360
Methodbbox_min_size
Return the minimum size of bounding boxes in the images.
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/datasets/dior.py:93
Methodbbox_min_size
Return the minimum size of bounding boxes in the images.
Multi-Task_Pretrain/datasets.py:1219
Functioncenterxywh_to_topleftxywh
args: boxes:list of center_x,center_y,width,height, return: boxes:list of x,y,x,y,cooresponding to top left and bottom right
scripts/dior_h_2_coco.py:137
Functioncenterxywh_to_xyxy
args: boxes:list of center_x,center_y,width,height, return: boxes:list of x,y,x,y,cooresponding to top left and bottom right
scripts/dior_h_2_coco.py:123
Functionclamp
(coord, width, height)
scripts/dior_h_2_coco.py:157
Functionclip_xview_yolo
(txt_addr, img_addr, patch_txt_addr, patch_img_addr)
scripts/prepare_xview_dataset.py:187
Methodcompute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
Multi-Task_Pretrain/rotated_detection/metric.py:662
Methodcompute_metrics
Compute the metrics from processed results. Args: results (list): The processed results of each batch. Returns:
Multi-Task_Pretrain/semantic_segmentation/metric.py:102
← previousnext →801–900 of 1,405, ranked by callers