MCPcopy Create free account

hub / github.com/VCIP-RGBD/DFormer / functions

Functions937 in github.com/VCIP-RGBD/DFormer

Functionsigmoid_focal_loss
r"""A wrapper of cuda version `Focal Loss <https://arxiv.org/abs/1708.02002>`_. Args: pred (torch.Tensor): The prediction with shape (
models/losses/focal_loss.py:71
Methodsimple_test
Simple test with single image.
mmseg/models/segmentors/encoder_decoder.py:247
Methodsimple_test_logits
Test without augmentations. Return numpy seg_map logits.
mmseg/models/segmentors/encoder_decoder.py:263
Methodsliding_eval
(self, img, crop_size, stride_rate, device=None)
utils/engine/evaluator.py:213
Methodsliding_eval
(self, img, crop_size, stride_rate, device=None)
utils/engine/dist_test.py:175
Methodsliding_eval_rgbX
(self, img, modal_x, crop_size, stride_rate, device=None)
utils/engine/evaluator.py:316
Functionstare_classes
stare class names for external use.
mmseg/core/evaluation/class_names.py:427
Functionstare_palette
STARE palette for external use.
mmseg/core/evaluation/class_names.py:854
Functionsync_random_seed
Make sure different ranks share the same seed. All workers must call this function, otherwise it will deadlock. This method is generally used in
mmseg/core/utils/dist_util.py:12
Methodtrain
Convert the model into training mode will keeping the normalization layer freezed.
mmseg/models/backbones/cgnet.py:347
Methodtrain
(self, mode=True)
mmseg/models/backbones/vit.py:427
Methodtrain
(self, mode=True)
mmseg/models/backbones/mobilenet_v3.py:263
Methodtrain
Convert the model into training mode will keeping the normalization layer freezed.
mmseg/models/backbones/hrnet.py:603
Methodtrain
(self, mode=True)
mmseg/models/backbones/beit.py:538
Methodtrain
Convert the model into training mode while keep layers freezed.
mmseg/models/backbones/swin.py:631
Methodtrain
(self, mode=True)
mmseg/models/backbones/mobilenet_v2.py:188
Methodtrain
Convert the model into training mode while keep normalization layer freezed.
mmseg/models/backbones/resnet.py:624
Methodtrain
Convert the model into training mode while keep normalization layer freezed.
models/encoders/DFormerv2.py:639
Functiontrain_segmentor
Launch segmentor training.
mmseg/apis/train.py:69
Methodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
mmseg/models/segmentors/base.py:109
Methoduint82bin
returns the binary of integer n, count refers to amount of bits
utils/dataloader/RGBXDataset.py:260
Functionvaihingen_classes
Vaihingen class names for external use.
mmseg/core/evaluation/class_names.py:400
Functionvaihingen_palette
Vaihingen palette for external use.
mmseg/core/evaluation/class_names.py:827
Methodval_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note t
mmseg/models/segmentors/base.py:142
Functionvoc_classes
Pascal VOC class names for external use.
mmseg/core/evaluation/class_names.py:186
Functionvoc_palette
Pascal VOC palette for external use.
mmseg/core/evaluation/class_names.py:613
Functionweighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, ta
mmseg/models/losses/utils.py:83
Functionweighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, ta
models/losses/utils.py:83
Methodwhole_eval
(self, img, output_size, device=None)
utils/engine/evaluator.py:196
Methodwhole_eval
(self, img, output_size, input_size=None, device=None)
utils/engine/dist_test.py:156
Methodwith_auxiliary_head
bool: whether the segmentor has auxiliary head
mmseg/models/segmentors/base.py:26
Methodwith_decode_head
bool: whether the segmentor has decode head
mmseg/models/segmentors/base.py:31
Methodwith_neck
bool: whether the segmentor has neck
mmseg/models/segmentors/base.py:21
Methodworker
(self, shred_list, device)
utils/engine/evaluator.py:180
Methodworker
(self, shred_list, device)
utils/engine/dist_test.py:141
Functionwrapper
(pred, target, weight=None, reduction="mean", avg_factor=None, **kwargs)
mmseg/models/losses/utils.py:115
Functionwrapper
(pred, target, weight=None, reduction="mean", avg_factor=None, **kwargs)
models/losses/utils.py:115
← previous901–937 of 937, ranked by callers