MCPcopy Create free account

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

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

↓ 1 callersFunction_generate_dilation_grids
(spatial_shapes, kernel_h, kernel_w, dilation_h, dilation_w, group, device)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/ops_dcnv3/functions/dcnv3_func.py:142
↓ 1 callersFunction_generate_dilation_grids
(spatial_shapes, kernel_h, kernel_w, dilation_h, dilation_w, group, device)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/ops_dcnv3/functions/dcnv3_func.py:142
↓ 1 callersFunction_generate_dilation_grids
(spatial_shapes, kernel_h, kernel_w, dilation_h, dilation_w, group, device)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/ops_dcnv3/functions/dcnv3_func.py:142
↓ 1 callersFunction_generate_dilation_grids
(spatial_shapes, kernel_h, kernel_w, dilation_h, dilation_w, group, device)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/ops_dcnv3/functions/dcnv3_func.py:142
↓ 1 callersFunction_generate_dilation_grids
(spatial_shapes, kernel_h, kernel_w, dilation_h, dilation_w, group, device)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/ops_dcnv3/functions/dcnv3_func.py:142
↓ 1 callersFunction_generate_dilation_grids
(spatial_shapes, kernel_h, kernel_w, dilation_h, dilation_w, group, device)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/ops_dcnv3/functions/dcnv3_func.py:142
↓ 1 callersFunction_generate_dilation_grids
(spatial_shapes, kernel_h, kernel_w, dilation_h, dilation_w, group, device)
Multi-Task_Pretrain/backbone/ops_dcnv3/functions/dcnv3_func.py:142
↓ 1 callersMethod_get_crop_size
Randomly generates the absolute crop size based on `crop_type` and `image_size`. Args: image_size (Tuple[int, int]): (h,
Multi-Task_Pretrain/augmentations.py:1097
↓ 1 callersMethod_get_pad_shape
Get the pad_shape of each image based on data and pad_size_divisor.
Multi-Task_Pretrain/preprocessing.py:189
↓ 1 callersFunction_get_reference_points
(spatial_shapes, device, kernel_h, kernel_w, dilation_h, dilation_w, pad_h=0, pad_w=0, stride_h=1, stride_w=1)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/ops_dcnv3/functions/dcnv3_func.py:109
↓ 1 callersFunction_get_reference_points
(spatial_shapes, device, kernel_h, kernel_w, dilation_h, dilation_w, pad_h=0, pad_w=0, stride_h=1, stride_w=1)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/ops_dcnv3/functions/dcnv3_func.py:109
↓ 1 callersFunction_get_reference_points
(spatial_shapes, device, kernel_h, kernel_w, dilation_h, dilation_w, pad_h=0, pad_w=0, stride_h=1, stride_w=1)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/ops_dcnv3/functions/dcnv3_func.py:109
↓ 1 callersFunction_get_reference_points
(spatial_shapes, device, kernel_h, kernel_w, dilation_h, dilation_w, pad_h=0, pad_w=0, stride_h=1, stride_w=1)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/ops_dcnv3/functions/dcnv3_func.py:109
↓ 1 callersFunction_get_reference_points
(spatial_shapes, device, kernel_h, kernel_w, dilation_h, dilation_w, pad_h=0, pad_w=0, stride_h=1, stride_w=1)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/ops_dcnv3/functions/dcnv3_func.py:109
↓ 1 callersFunction_get_reference_points
(spatial_shapes, device, kernel_h, kernel_w, dilation_h, dilation_w, pad_h=0, pad_w=0, stride_h=1, stride_w=1)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/ops_dcnv3/functions/dcnv3_func.py:109
↓ 1 callersFunction_get_reference_points
(spatial_shapes, device, kernel_h, kernel_w, dilation_h, dilation_w, pad_h=0, pad_w=0, stride_h=1, stride_w=1)
Multi-Task_Pretrain/backbone/ops_dcnv3/functions/dcnv3_func.py:109
↓ 1 callersMethod_init_auxiliary_head
Initialize ``auxiliary_head``
Multi-Task_Pretrain/semantic_segmentation/encoder_decoder.py:116
↓ 1 callersMethod_init_decode_head
Initialize ``decode_head``
Multi-Task_Pretrain/semantic_segmentation/encoder_decoder.py:109
↓ 1 callersMethod_init_layers
Initialize layers of the head.
Multi-Task_Pretrain/rotated_detection/anchor_head.py:122
↓ 1 callersMethod_join_prefix
Join ``self.data_root`` with ``self.data_prefix`` and ``self.ann_file``. Examples: >>> # self.data_prefix contains relati
Multi-Task_Pretrain/datasets.py:628
↓ 1 callersMethod_load_bboxes
Private function to load bounding box annotations. Args: results (dict): Result dict from :obj:``mmengine.BaseDataset``.
Multi-Task_Pretrain/augmentations.py:281
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
RS_Tasks_Finetune/Scene_Classification/mmcv_custom/checkpoint.py:226
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
RS_Tasks_Finetune/Semantic_Segmentation/mmcv_custom/checkpoint.py:226
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
RS_Tasks_Finetune/Horizontal_Detection/mmcv_custom/checkpoint.py:226
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
RS_Tasks_Finetune/Change_Detection/mmcv_custom/checkpoint.py:226
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmcv_custom/checkpoint.py:226
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmcv_custom/checkpoint.py:226
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
Multi-Task_Pretrain/backbone/checkpoint.py:226
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
Multi-Task_Pretrain/mmcv_custom/checkpoint.py:226
↓ 1 callersMethod_load_labels
Private function to load label annotations. Args: results (dict): Result dict from :obj:``mmengine.BaseDataset``. Return
Multi-Task_Pretrain/augmentations.py:324
↓ 1 callersMethod_load_masks
Private function to load mask annotations. Args: results (dict): Result dict from :obj:``mmengine.BaseDataset``.
Multi-Task_Pretrain/augmentations.py:429
↓ 1 callersMethod_load_metainfo
Collect meta information from the dictionary of meta. Args: metainfo (dict): Meta information dict. If ``metainfo``
Multi-Task_Pretrain/datasets.py:590
↓ 1 callersMethod_load_rboxes
Private function to load bounding box annotations. Args: results (dict): Result dict from :obj:``mmengine.BaseDataset``.
Multi-Task_Pretrain/augmentations.py:302
↓ 1 callersMethod_load_rlabels
Private function to load label annotations. Args: results (dict): Result dict from :obj:``mmengine.BaseDataset``. Return
Multi-Task_Pretrain/augmentations.py:340
↓ 1 callersMethod_load_seg_map
Private function to load semantic segmentation annotations. Args: results (dict): Result dict from :obj:``mmcv.BaseDataset``.
Multi-Task_Pretrain/augmentations.py:445
↓ 1 callersMethod_mask_forward
Mask head forward function used in both training and testing. Args: x (tuple[Tensor]): Tuple of multi-level img features.
Multi-Task_Pretrain/instance_segmentation/roi_head.py:452
↓ 1 callersMethod_pad_masks
Pad masks according to ``results['pad_shape']``.
Multi-Task_Pretrain/augmentations.py:1809
↓ 1 callersMethod_poly2mask
Private function to convert masks represented with polygon to bitmaps. Args: mask_ann (list | dict): Polygon mask annotat
Multi-Task_Pretrain/augmentations.py:356
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: roi (Tensor): Boxes to be transforme
Multi-Task_Pretrain/rotated_detection/bbox_head.py:350
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: roi (Tensor): Boxes to be transforme
Multi-Task_Pretrain/rotated_detection/base_bbox_head.py:491
↓ 1 callersMethod_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/dense_head.py:325
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: roi (Tensor): Boxes to be transforme
Multi-Task_Pretrain/instance_segmentation/bbox_head.py:349
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: roi (Tensor): Boxes to be transforme
Multi-Task_Pretrain/instance_segmentation/base_bbox_head.py:495
↓ 1 callersMethod_predict_by_feat_single
Get segmentation masks from mask_preds and bboxes. Args: mask_preds (Tensor): Predicted foreground masks, has shape
Multi-Task_Pretrain/instance_segmentation/mask_head.py:279
↓ 1 callersMethod_process_masks
Process gt_masks and filter invalid polygons. Args: results (dict): Result dict from :obj:``mmengine.BaseDataset``. Retu
Multi-Task_Pretrain/augmentations.py:385
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
RS_Tasks_Finetune/Scene_Classification/mmcv_custom/checkpoint.py:215
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
RS_Tasks_Finetune/Semantic_Segmentation/mmcv_custom/checkpoint.py:215
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
RS_Tasks_Finetune/Horizontal_Detection/mmcv_custom/checkpoint.py:215
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
RS_Tasks_Finetune/Change_Detection/mmcv_custom/checkpoint.py:215
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmcv_custom/checkpoint.py:215
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmcv_custom/checkpoint.py:215
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
Multi-Task_Pretrain/backbone/checkpoint.py:215
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
Multi-Task_Pretrain/mmcv_custom/checkpoint.py:215
↓ 1 callersMethod_rand_another
Get random index. Returns: int: Random index from 0 to ``len(self)-1``
Multi-Task_Pretrain/datasets.py:895
↓ 1 callersMethod_rand_offset
Randomly generate crop offset. Args: margin (Tuple[int, int]): The upper bound for the offset generated randomly.
Multi-Task_Pretrain/augmentations.py:1080
↓ 1 callersMethod_random_sample
Private function to randomly sample a scale from a list of tuples. Args: scales (list[tuple]): Images scale range for sampling.
Multi-Task_Pretrain/augmentations.py:769
↓ 1 callersMethod_random_sample_ratio
Private function to randomly sample a scale from a tuple. A ratio will be randomly sampled from the range specified by ``ratio_range`
Multi-Task_Pretrain/augmentations.py:790
↓ 1 callersMethod_random_scale
Private function to randomly sample an scale according to the type of ``scale``. Returns: tuple: The targeted scale of th
Multi-Task_Pretrain/augmentations.py:815
↓ 1 callersMethod_record_homography_matrix
Record the homography matrix for the RandomFlip.
Multi-Task_Pretrain/augmentations.py:619
↓ 1 callersMethod_record_homography_matrix
Record the homography matrix for the Resize.
Multi-Task_Pretrain/augmentations.py:1698
↓ 1 callersMethod_reset_parameters
(self)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/ops_dcnv3/modules/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/ops_dcnv3/modules/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/ops_dcnv3/modules/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/ops_dcnv3/modules/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/ops_dcnv3/modules/dcnv3.py:175
↓ 1 callersMethod_reset_parameters
(self)
Multi-Task_Pretrain/backbone/ops_dcnv3/modules/dcnv3.py:175
↓ 1 callersMethod_resize_bboxes
Resize bounding boxes with ``results['scale_factor']``.
Multi-Task_Pretrain/augmentations.py:1684
↓ 1 callersMethod_resize_masks
Resize masks with ``results['scale']``
Multi-Task_Pretrain/augmentations.py:1674
↓ 1 callersMethod_resize_rboxes
Resize bounding boxes with ``results['scale_factor']``.
Multi-Task_Pretrain/augmentations.py:1691
↓ 1 callersMethod_results2submission
Generate the submission of full images. Args: id_list (list): Id of images. dets_list (list): Detection results of pe
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/datasets/dota.py:278
↓ 1 callersMethod_results2submission
Generate the submission of full images. Args: id_list (list): Id of images. dets_list (list): Detection results of pe
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/datasets/fair1m.py:286
↓ 1 callersMethod_sample_neg
Sample negative samples.
Multi-Task_Pretrain/rotated_detection/random_sampler.py:44
↓ 1 callersMethod_sample_pos
Sample positive samples.
Multi-Task_Pretrain/rotated_detection/random_sampler.py:38
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
RS_Tasks_Finetune/Scene_Classification/mmcv_custom/checkpoint.py:382
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
RS_Tasks_Finetune/Semantic_Segmentation/mmcv_custom/checkpoint.py:382
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
RS_Tasks_Finetune/Horizontal_Detection/mmcv_custom/checkpoint.py:382
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
RS_Tasks_Finetune/Change_Detection/mmcv_custom/checkpoint.py:382
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmcv_custom/checkpoint.py:382
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmcv_custom/checkpoint.py:382
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
Multi-Task_Pretrain/backbone/checkpoint.py:382
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
Multi-Task_Pretrain/mmcv_custom/checkpoint.py:382
↓ 1 callersMethod_update_palette
Update palette after loading metainfo. If length of palette is equal to classes, just return the palette. If palette is not defined,
Multi-Task_Pretrain/datasets.py:307
↓ 1 callersMethodassign_wrt_overlaps
Assign w.r.t. the overlaps of priors with gts. Args: overlaps (Tensor): Overlaps between k gt_bboxes and n bboxes,
Multi-Task_Pretrain/rotated_detection/max_iou_assigner.py:231
↓ 1 callersMethodbbox_loss
Perform forward propagation and loss calculation of the bbox head on the features of the upstream network. Args: x (tuple
Multi-Task_Pretrain/rotated_detection/standard_roi_head.py:322
↓ 1 callersMethodbrightness
Brightness distortion. Args: img (np.ndarray): The input image. Returns: np.ndarray: Image after brightness c
Multi-Task_Pretrain/augmentations.py:1311
↓ 1 callersFunctionbuild_labels
(src_raster_dir, src_vector_dir, dst_dir)
scripts/process_spacenet.py:67
↓ 1 callersFunctioncalc_rel_pos_spatial
Spatial Relative Positional Embeddings.
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/vit_rvsa_mtp_branches.py:132
↓ 1 callersFunctioncalc_rel_pos_spatial
Spatial Relative Positional Embeddings.
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/vit_rvsa_mtp.py:132
↓ 1 callersFunctioncalc_rel_pos_spatial
Spatial Relative Positional Embeddings.
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/vit_rvsa_mtp_branches.py:132
↓ 1 callersFunctioncalc_rel_pos_spatial
Spatial Relative Positional Embeddings.
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/vit_rvsa_mtp.py:132
↓ 1 callersFunctioncalc_rel_pos_spatial
Spatial Relative Positional Embeddings.
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/vit_rvsa_mtp_branches.py:134
↓ 1 callersFunctioncalc_rel_pos_spatial
Spatial Relative Positional Embeddings.
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/vit_rvsa_mtp.py:134
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
RS_Tasks_Finetune/Scene_Classification/mmpretrain/models/backbones/ops_dcnv3/test.py:94
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
RS_Tasks_Finetune/Semantic_Segmentation/mmseg/models/backbones/ops_dcnv3/test.py:94
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
RS_Tasks_Finetune/Horizontal_Detection/mmdet/models/backbones/ops_dcnv3/test.py:94
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
RS_Tasks_Finetune/Change_Detection/opencd/models/backbones/ops_dcnv3/test.py:94
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
RS_Tasks_Finetune/Rotated_Detection/mmrotate1.x/mmrotate/models/backbones/ops_dcnv3/test.py:94
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
RS_Tasks_Finetune/Rotated_Detection/mmrotate0.3.4/mmrotate/models/backbones/ops_dcnv3/test.py:94
↓ 1 callersFunctioncheck_backward_equal_with_pytorch_double
(channels=4, grad_input=True, grad_offset=True, grad_mask=True)
Multi-Task_Pretrain/backbone/ops_dcnv3/test.py:94
← previousnext →201–300 of 1,405, ranked by callers