MCPcopy Create free account

hub / github.com/Traffic-X/ViT-CoMer / functions

Functions528 in github.com/Traffic-X/ViT-CoMer

Functionms_deform_attn_cpu_backward
detection/ops/src/cpu/ms_deform_attn_cpu.cpp:29
Functionms_deform_attn_cpu_forward
detection/ops/src/cpu/ms_deform_attn_cpu.cpp:17
Functionms_deform_attn_forward
detection/ops/src/ms_deform_attn.h:20
Functionmy_load_checkpoint
Load checkpoint from a file or URI. Args: model (Module): Module to load checkpoint. filename (str): Either a filepath or URL or
detection/mmcv_custom/my_checkpoint.py:86
Functionmy_load_checkpoint
Load checkpoint from a file or URI. Args: model (Module): Module to load checkpoint. filename (str): Either a filepath or URL or
segmentation/mmcv_custom/my_checkpoint.py:86
Methodnum_base_priors
list[int]: The number of priors (points) at a point on the feature grid
segmentation/mmseg_custom/core/anchor/point_generator.py:63
Methodnum_levels
int: number of feature levels that the generator will be applied
segmentation/mmseg_custom/core/anchor/point_generator.py:58
Functionpy_sigmoid_focal_loss
PyTorch version of `Focal Loss <https://arxiv.org/abs/1708.02002>`_. Args: pred (torch.Tensor): The prediction with shape (N, C), C is th
segmentation/mmseg_custom/models/losses/focal_loss.py:11
Methodrandom
Args: rng (None | int | numpy.random.RandomState): seed or state. kwargs (keyword arguments): - num_p
segmentation/mmseg_custom/core/box/samplers/sampling_result.py:92
Methodrescale
(param, layer_id)
detection/mmdet_custom/models/backbones/base/beit.py:414
Methodrescale
(param, layer_id)
segmentation/mmseg_custom/models/backbones/base/beit.py:361
Methodsample
Directly returns the positive and negative indices of samples. Args: assign_result (:obj:`AssignResult`): Assigned results
segmentation/mmseg_custom/core/box/samplers/mask_pseudo_sampler.py:26
Functionsave_checkpoint
Save checkpoint to file. The checkpoint will have 3 fields: ``meta``, ``state_dict`` and ``optimizer``. By default ``meta`` will contain vers
detection/mmcv_custom/checkpoint.py:576
Functionsave_checkpoint
Save checkpoint to file. The checkpoint will have 3 fields: ``meta``, ``state_dict`` and ``optimizer``. By default ``meta`` will contain vers
detection/mmcv_custom/my_checkpoint.py:159
Functionsave_checkpoint
Save checkpoint to file. The checkpoint will have 3 fields: ``meta``, ``state_dict`` and ``optimizer``. By default ``meta`` will contain vers
segmentation/mmcv_custom/checkpoint.py:593
Functionsave_checkpoint
Save checkpoint to file. The checkpoint will have 3 fields: ``meta``, ``state_dict`` and ``optimizer``. By default ``meta`` will contain vers
segmentation/mmcv_custom/my_checkpoint.py:159
Functionsigmoid_focal_loss
r"""A warpper of cuda version `Focal Loss <https://arxiv.org/abs/1708.02002>`_. Args: pred (torch.Tensor): The prediction with shape
segmentation/mmseg_custom/models/losses/focal_loss.py:59
Methodsimple_test
Simple test with single image.
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former.py:255
Methodsimple_test
Simple test with single image.
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former_aug.py:259
Methodsparse_priors
Generate sparse points according to the ``prior_idxs``. Args: prior_idxs (Tensor): The index of corresponding anchors
segmentation/mmseg_custom/core/anchor/point_generator.py:231
Functionsplit_combined_polys
Split the combined 1-D polys into masks. A mask is represented as a list of polys, and a poly is represented as a 1-D array. In dataset, all
segmentation/mmseg_custom/core/mask/utils.py:8
Methodvalid_flags
(self, featmap_size, valid_size, device='cuda')
segmentation/mmseg_custom/core/anchor/point_generator.py:29
Methodvalid_flags
Generate valid flags of points of multiple feature levels. Args: featmap_sizes (list(tuple)): List of feature map sizes in
segmentation/mmseg_custom/core/anchor/point_generator.py:174
Functionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
detection/mmdet_custom/models/backbones/base/vit.py:93
Functionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
segmentation/mmseg_custom/models/backbones/base/vit.py:91
Functionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
detection/mmdet_custom/models/backbones/base/vit.py:107
Functionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
segmentation/mmseg_custom/models/backbones/base/vit.py:105
Methodwith_semantic
bool: whether the detector has a semantic head
detection/mmdet_custom/models/detectors/htc_aug.py:19
← previous501–528 of 528, ranked by callers