MCPcopy Create free account

hub / github.com/NVlabs/SegFormer / functions

Functions711 in github.com/NVlabs/SegFormer

Method__init__
(self, branch_channels=(32, 64), **kwargs)
mmseg/models/decode_heads/lraspp_head.py:23
Method__init__
(self, filter_sizes=(1, 3, 5, 7), fusion=False, **kwargs)
mmseg/models/decode_heads/dm_head.py:106
Method__init__
(self, mask_size, psa_type='bi-direction', compact=False,
mmseg/models/decode_heads/psa_head.py:35
Method__init__
(self, channels, num_bases, num_stages, momentum)
mmseg/models/decode_heads/ema_head.py:31
Method__init__
(self, reduction=2, use_scale=True, mode='embedded_gaussian
mmseg/models/decode_heads/nl_head.py:23
Method__init__
(self, pool_scales=(1, 2, 3, 6), fusion=True, **kwargs)
mmseg/models/decode_heads/apc_head.py:124
Method__init__
(self)
mmseg/models/decode_heads/da_head.py:52
Method__init__
(self, pam_channels, **kwargs)
mmseg/models/decode_heads/da_head.py:85
Method__init__
(self, loss_type='multi_class', classes='present', per_imag
mmseg/models/losses/lovasz_loss.py:248
Method__init__
Module to calculate the accuracy. Args: topk (tuple, optional): The criterion used to calculate the accuracy. Def
mmseg/models/losses/accuracy.py:55
Method__init__
(self, use_sigmoid=False, use_mask=False, reduction='mean',
mmseg/models/losses/cross_entropy_loss.py:154
Method__init__
(self)
tests/test_eval_hook.py:28
Method__init__
(self)
tests/test_models/test_segmentor.py:64
Method__init__
(self)
tests/test_models/test_segmentor.py:74
Method__init__
(self, cnt=0)
tests/test_data/test_dataset_builder.py:15
Method__item__
(self, idx)
tests/test_data/test_dataset_builder.py:18
Method__len__
Total number of samples of data.
mmseg/datasets/custom.py:115
Method__len__
The length is multiplied by ``times``
mmseg/datasets/dataset_wrappers.py:48
Method__len__
(self)
tests/test_eval_hook.py:22
Method__len__
(self)
tests/test_data/test_dataset_builder.py:21
Method__repr__
(self)
mmseg/ops/encoding.py:70
Method__repr__
(self)
mmseg/datasets/pipelines/test_time_aug.py:128
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:227
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:455
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:515
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:583
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:625
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:672
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:716
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:792
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:850
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:926
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:985
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:1024
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:1064
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:1094
Method__repr__
(self)
mmseg/datasets/pipelines/transforms.py:1207
Method__repr__
(self)
mmseg/datasets/pipelines/loading.py:81
Method__repr__
(self)
mmseg/datasets/pipelines/loading.py:149
Method__repr__
(self)
mmseg/datasets/pipelines/compose.py:45
Method__repr__
(self)
mmseg/datasets/pipelines/formating.py:62
Method__repr__
(self)
mmseg/datasets/pipelines/formating.py:100
Method__repr__
(self)
mmseg/datasets/pipelines/formating.py:133
Method__repr__
(self)
mmseg/datasets/pipelines/formating.py:173
Method__repr__
(self)
mmseg/datasets/pipelines/formating.py:214
Method__repr__
(self)
mmseg/datasets/pipelines/formating.py:286
Function_check_input_dim
(self, inputs)
tests/test_models/test_forward.py:182
Method_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
mmseg/models/segmentors/cascade_encoder_decoder.py:80
Method_init_decode_head
Initialize ``decode_head``
mmseg/models/segmentors/cascade_encoder_decoder.py:38
Method_init_weights
(self, m)
mmseg/models/backbones/mix_transformer.py:33
Method_init_weights
(self, m)
mmseg/models/backbones/mix_transformer.py:81
Method_init_weights
(self, m)
mmseg/models/backbones/mix_transformer.py:138
Method_init_weights
(self, m)
mmseg/models/backbones/mix_transformer.py:179
Method_init_weights
(self, m)
mmseg/models/backbones/mix_transformer.py:261
Method_inner_forward
(x)
mmseg/models/backbones/resnest.py:228
Method_inner_forward
(x)
mmseg/models/backbones/cgnet.py:39
Method_inner_forward
(x)
mmseg/models/backbones/cgnet.py:144
Method_inner_forward
(x)
mmseg/models/backbones/resnet.py:70
Method_inner_forward
(x)
mmseg/models/backbones/resnet.py:267
Method_inner_forward
(x)
mmseg/models/utils/inverted_residual.py:83
Method_inner_forward
(x)
mmseg/models/utils/inverted_residual.py:185
Functionade_classes
ADE20K class names for external use.
mmseg/core/evaluation/class_names.py:14
Functionade_palette
ADE20K palette for external use.
mmseg/core/evaluation/class_names.py:63
Methodafter_train_epoch
After train epoch hook.
mmseg/core/evaluation/eval_hooks.py:33
Methodafter_train_epoch
After train epoch hook.
mmseg/core/evaluation/eval_hooks.py:94
Methodafter_train_iter
After train epoch hook.
mmseg/core/evaluation/eval_hooks.py:24
Methodafter_train_iter
After train epoch hook.
mmseg/core/evaluation/eval_hooks.py:79
Methodaug_test
Test with augmentations. Only rescale=True is supported.
mmseg/models/segmentors/encoder_decoder.py:276
Functionbinary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1). label (torch.Tensor): The le
mmseg/models/losses/cross_entropy_loss.py:57
Functionbuild_backbone
Build backbone.
mmseg/models/builder.py:36
Functionbuild_head
Build head.
mmseg/models/builder.py:46
Functionbuild_neck
Build neck.
mmseg/models/builder.py:41
Functionbuilder_inited_handler
(app)
docs/conf.py:83
Functioncalculate_uncertainty
Estimate uncertainty based on seg logits. For each location of the prediction ``seg_logits`` we estimate uncertainty as the difference betwee
mmseg/models/decode_heads/point_head.py:14
Functioncityscapes_classes
Cityscapes class names for external use.
mmseg/core/evaluation/class_names.py:4
Functioncityscapes_palette
Cityscapes palette for external use.
mmseg/core/evaluation/class_names.py:54
Methodcls_seg
Classify each pixel.
mmseg/models/decode_heads/decode_head.py:209
Functionconvert_json_to_label
(json_file)
tools/convert_datasets/cityscapes.py:8
Functionconvert_mat
(mat_file, in_dir, out_dir)
tools/convert_datasets/voc_aug.py:13
Functioncross_entropy
The wrapper function for :func:`F.cross_entropy`
mmseg/models/losses/cross_entropy_loss.py:9
Methodembedded_gaussian
Embedded gaussian with temperature.
mmseg/models/decode_heads/dnl_head.py:21
Methodencode_decode
Placeholder for encode images with backbone and decode into a semantic segmentation map of the same size as input.
mmseg/models/segmentors/base.py:45
Methodencode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
mmseg/models/segmentors/cascade_encoder_decoder.py:65
Methodevaluate
Evaluation in Cityscapes/default protocol. Args: results (list): Testing results of the dataset. metric (str | list[s
mmseg/datasets/cityscapes.py:124
Methodextra_repr
Extra repr.
mmseg/models/decode_heads/decode_head.py:90
Methodforward
(self, x)
mmseg/ops/encoding.py:57
Methodforward
(self, x)
mmseg/ops/wrappers.py:48
Methodforward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
mmseg/models/segmentors/base.py:111
Methodforward
(self, inputs)
mmseg/models/necks/fpn.py:162
Methodforward
(self, x)
mmseg/models/backbones/resnest.py:28
Methodforward
(self, x)
mmseg/models/backbones/resnest.py:117
Methodforward
(self, x)
mmseg/models/backbones/resnest.py:226
Methodforward
(self, x, H, W)
mmseg/models/backbones/mix_transformer.py:48
Methodforward
(self, x, H, W)
mmseg/models/backbones/mix_transformer.py:96
Methodforward
(self, x, H, W)
mmseg/models/backbones/mix_transformer.py:153
Methodforward
(self, x)
mmseg/models/backbones/mix_transformer.py:194
Methodforward
(self, x)
mmseg/models/backbones/mix_transformer.py:351
Methodforward
(self, x, H, W)
mmseg/models/backbones/mix_transformer.py:363
Methodforward
Forward function.
mmseg/models/backbones/unet.py:76
Methodforward
Forward function.
mmseg/models/backbones/unet.py:137
← previousnext →401–500 of 711, ranked by callers