MCPcopy Create free account

hub / github.com/Gsunshine/Enjoy-Hamburger / types & classes

Types & classes483 in github.com/Gsunshine/Enjoy-Hamburger

↓ 8 callersClassDataLoader
Data loader. Combines a dataset and a sampler, and provides single- or multi-process iterators over the dataset. Arguments: data
seg/HamNet/sync_bn/utils/data/dataloader.py:338
↓ 6 callersClassGELayer
Gather-and-Expansion Layer. Args: in_channels (int): Number of input channels. out_channels (int): Number of output channels.
seg_light_ham/mmseg/models/backbones/bisenetv2.py:179
↓ 6 callersClassGELayer
Gather-and-Expansion Layer. Args: in_channels (int): Number of input channels. out_channels (int): Number of output channels.
seg_mm/mmseg/models/backbones/bisenetv2.py:179
↓ 5 callersClassCompose
Compose multiple transforms sequentially. Args: transforms (Sequence[dict | callable]): Sequence of transform object or confi
seg_light_ham/mmseg/datasets/pipelines/compose.py:10
↓ 5 callersClassCompose
Compose multiple transforms sequentially. Args: transforms (Sequence[dict | callable]): Sequence of transform object or confi
seg_mm/mmseg/datasets/pipelines/compose.py:10
↓ 5 callersClassUpsample
seg_light_ham/mmseg/ops/wrappers.py:30
↓ 5 callersClassUpsample
seg_mm/mmseg/ops/wrappers.py:30
↓ 4 callersClassConvBNReLU
seg/HamNet/hamburger/bread.py:21
↓ 4 callersClassHamNet
seg/HamNet/network.py:179
↓ 4 callersClassInvertedResidual
InvertedResidual block for MobileNetV2. Args: in_channels (int): The input channels of the InvertedResidual block. out_channels (
seg_light_ham/mmseg/models/utils/inverted_residual.py:9
↓ 4 callersClassInvertedResidual
InvertedResidual block for MobileNetV2. Args: in_channels (int): The input channels of the InvertedResidual block. out_channels (
seg_mm/mmseg/models/utils/inverted_residual.py:9
↓ 4 callersClassLoadImage
A simple pipeline to load image.
seg_light_ham/mmseg/apis/inference.py:43
↓ 4 callersClassLoadImage
A simple pipeline to load image.
seg_mm/mmseg/apis/inference.py:43
↓ 4 callersClassPPM
Pooling Pyramid Module used in PSPNet. Args: pool_scales (tuple[int]): Pooling scales used in Pooling Pyramid Module.
seg_light_ham/mmseg/models/decode_heads/psp_head.py:11
↓ 4 callersClassPPM
Pooling Pyramid Module used in PSPNet. Args: pool_scales (tuple[int]): Pooling scales used in Pooling Pyramid Module.
seg_mm/mmseg/models/decode_heads/psp_head.py:11
↓ 4 callersClassPatchEmbed
Image to Patch Embedding. We use a conv layer to implement PatchEmbed. Args: in_channels (int): The num of input channels. Default:
seg_light_ham/mmseg/models/utils/embed.py:83
↓ 4 callersClassPatchEmbed
Image to Patch Embedding. We use a conv layer to implement PatchEmbed. Args: in_channels (int): The num of input channels. Default:
seg_mm/mmseg/models/utils/embed.py:83
↓ 4 callersClassSynchronizedBatchNorm1d
r"""Applies Synchronized Batch Normalization over a 2d or 3d input that is seen as a mini-batch. .. math:: y = \frac{x - mean[x]}{ \
seg/HamNet/sync_bn/nn/modules/batchnorm.py:137
↓ 3 callersClassAttentionRefinementModule
Attention Refinement Module (ARM) to refine the features of each stage. Args: in_channels (int): The number of input channels. ou
seg_light_ham/mmseg/models/backbones/bisenetv1.py:84
↓ 3 callersClassAttentionRefinementModule
Attention Refinement Module (ARM) to refine the features of each stage. Args: in_channels (int): The number of input channels. ou
seg_mm/mmseg/models/backbones/bisenetv1.py:84
↓ 3 callersClassDataParallelWithCallback
Data Parallel with a replication callback. An replication callback `__data_parallel_replicate__` of each module will be invoked after being
seg/HamNet/sync_bn/nn/modules/replicate.py:50
↓ 3 callersClassNonBottleneck1d
Non-bottleneck block of ERFNet. Args: channels (int): Number of channels in Non-bottleneck block. drop_rate (float): Probability
seg_light_ham/mmseg/models/backbones/erfnet.py:68
↓ 3 callersClassNonBottleneck1d
Non-bottleneck block of ERFNet. Args: channels (int): Number of channels in Non-bottleneck block. drop_rate (float): Probability
seg_mm/mmseg/models/backbones/erfnet.py:68
↓ 3 callersClassResLayer
ResLayer to build ResNet style backbone. Args: block (nn.Module): block used to build ResLayer. inplanes (int): inplanes of block
seg_light_ham/mmseg/models/utils/res_layer.py:7
↓ 3 callersClassResLayer
ResLayer to build ResNet style backbone. Args: block (nn.Module): block used to build ResLayer. inplanes (int): inplanes of block
seg_mm/mmseg/models/utils/res_layer.py:7
↓ 3 callersClassValDataset
seg/HamNet/dataset.py:125
↓ 2 callersClassAdaptivePadding
Applies padding to input (if needed) so that input can get fully covered by filter you specified. It support two modes "same" and "corner". The
seg_light_ham/mmseg/models/utils/embed.py:12
↓ 2 callersClassAdaptivePadding
Applies padding to input (if needed) so that input can get fully covered by filter you specified. It support two modes "same" and "corner". The
seg_mm/mmseg/models/utils/embed.py:12
↓ 2 callersClassCascadeFeatureFusion
Cascade Feature Fusion Unit in ICNet. Args: low_channels (int): The number of input channels for low resolution feature map.
seg_light_ham/mmseg/models/necks/ic_neck.py:9
↓ 2 callersClassCascadeFeatureFusion
Cascade Feature Fusion Unit in ICNet. Args: low_channels (int): The number of input channels for low resolution feature map.
seg_mm/mmseg/models/necks/ic_neck.py:9
↓ 2 callersClassConcatDataset
A wrapper of concatenated dataset. Same as :obj:`torch.utils.data.dataset.ConcatDataset`, but support evaluation and formatting results
seg_light_ham/mmseg/datasets/dataset_wrappers.py:17
↓ 2 callersClassConcatDataset
A wrapper of concatenated dataset. Same as :obj:`torch.utils.data.dataset.ConcatDataset`, but support evaluation and formatting results
seg_mm/mmseg/datasets/dataset_wrappers.py:17
↓ 2 callersClassContextGuidedBlock
Context Guided Block for CGNet. This class consists of four components: local feature extractor, surrounding feature extractor, joint feature
seg_light_ham/mmseg/models/backbones/cgnet.py:54
↓ 2 callersClassContextGuidedBlock
Context Guided Block for CGNet. This class consists of four components: local feature extractor, surrounding feature extractor, joint feature
seg_mm/mmseg/models/backbones/cgnet.py:54
↓ 2 callersClassDistributedSampler
Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.Distrib
seg/HamNet/sync_bn/utils/data/distributed.py:7
↓ 2 callersClassDownsamplerBlock
Downsampler block of ERFNet. This module is a little different from basical ConvModule. The features from Conv and MaxPool layers are con
seg_light_ham/mmseg/models/backbones/erfnet.py:11
↓ 2 callersClassDownsamplerBlock
Downsampler block of ERFNet. This module is a little different from basical ConvModule. The features from Conv and MaxPool layers are con
seg_mm/mmseg/models/backbones/erfnet.py:11
↓ 2 callersClassExceptionWrapper
r"Wraps an exception plus traceback to communicate across threads
seg/HamNet/sync_bn/utils/data/dataloader.py:22
↓ 2 callersClassHamburger
seg_light_ham/mmseg/models/decode_heads/ham_head.py:149
↓ 2 callersClassInputInjection
Downsampling module for CGNet.
seg_light_ham/mmseg/models/backbones/cgnet.py:171
↓ 2 callersClassInputInjection
Downsampling module for CGNet.
seg_mm/mmseg/models/backbones/cgnet.py:171
↓ 2 callersClassLoadAnnotations
Load annotations for semantic segmentation. Args: reduce_zero_label (bool): Whether reduce all label value by 1. Usually used
seg_light_ham/mmseg/datasets/pipelines/loading.py:91
↓ 2 callersClassLoadAnnotations
Load annotations for semantic segmentation. Args: reduce_zero_label (bool): Whether reduce all label value by 1. Usually used
seg_mm/mmseg/datasets/pipelines/loading.py:91
↓ 2 callersClassNMF2D
seg_light_ham/mmseg/models/decode_heads/ham_head.py:104
↓ 2 callersClassPreActResidualConvUnit
ResidualConvUnit, pre-activate residual unit. Args: in_channels (int): number of channels in the input feature map. act_cfg (dict
seg_light_ham/mmseg/models/decode_heads/dpt_head.py:99
↓ 2 callersClassPreActResidualConvUnit
ResidualConvUnit, pre-activate residual unit. Args: in_channels (int): number of channels in the input feature map. act_cfg (dict
seg_mm/mmseg/models/decode_heads/dpt_head.py:99
↓ 2 callersClassSelfAttentionBlock
Self-Attention Module. Args: in_channels (int): Input channels of key/query feature. channels (int): Output channels of key/query
seg_light_ham/mmseg/models/decode_heads/isa_head.py:12
↓ 2 callersClassSelfAttentionBlock
Make a ANN used SelfAttentionBlock. Args: low_in_channels (int): Input channels of lower level feature, which is the key feat
seg_light_ham/mmseg/models/decode_heads/ann_head.py:33
↓ 2 callersClassSelfAttentionBlock
Self-Attention Module. Args: in_channels (int): Input channels of key/query feature. channels (int): Output channels of key/query
seg_mm/mmseg/models/decode_heads/isa_head.py:12
↓ 2 callersClassSelfAttentionBlock
Make a ANN used SelfAttentionBlock. Args: low_in_channels (int): Input channels of lower level feature, which is the key feat
seg_mm/mmseg/models/decode_heads/ann_head.py:33
↓ 2 callersClassTrainDataset
seg/HamNet/dataset.py:107
↓ 2 callersClassTransformerEncoderLayer
Implements one encoder layer in Vision Transformer. Args: embed_dims (int): The feature dimension. num_heads (int): Parallel atte
seg_light_ham/mmseg/models/backbones/vit.py:22
↓ 2 callersClassTransformerEncoderLayer
Implements one encoder layer in Vision Transformer. Args: embed_dims (int): The feature dimension. num_heads (int): Parallel atte
seg_mm/mmseg/models/backbones/vit.py:22
↓ 2 callersClassUpsamplerBlock
Upsampler block of ERFNet. Args: in_channels (int): Number of input channels. out_channels (int): Number of output channels.
seg_light_ham/mmseg/models/backbones/erfnet.py:148
↓ 2 callersClassUpsamplerBlock
Upsampler block of ERFNet. Args: in_channels (int): Number of input channels. out_channels (int): Number of output channels.
seg_mm/mmseg/models/backbones/erfnet.py:148
↓ 1 callersClassACM
Adaptive Context Module used in APCNet. Args: pool_scale (int): Pooling scale used in Adaptive Context Module to extract regi
seg_light_ham/mmseg/models/decode_heads/apc_head.py:12
↓ 1 callersClassACM
Adaptive Context Module used in APCNet. Args: pool_scale (int): Pooling scale used in Adaptive Context Module to extract regi
seg_mm/mmseg/models/decode_heads/apc_head.py:12
↓ 1 callersClassAFNB
Asymmetric Fusion Non-local Block(AFNB) Args: low_in_channels (int): Input channels of lower level feature, which is the key
seg_light_ham/mmseg/models/decode_heads/ann_head.py:80
↓ 1 callersClassAFNB
Asymmetric Fusion Non-local Block(AFNB) Args: low_in_channels (int): Input channels of lower level feature, which is the key
seg_mm/mmseg/models/decode_heads/ann_head.py:80
↓ 1 callersClassAPNB
Asymmetric Pyramid Non-local Block (APNB) Args: in_channels (int): Input channels of key/query feature, which is the key feat
seg_light_ham/mmseg/models/decode_heads/ann_head.py:134
↓ 1 callersClassAPNB
Asymmetric Pyramid Non-local Block (APNB) Args: in_channels (int): Input channels of key/query feature, which is the key feat
seg_mm/mmseg/models/decode_heads/ann_head.py:134
↓ 1 callersClassASPPModule
Atrous Spatial Pyramid Pooling (ASPP) Module. Args: dilations (tuple[int]): Dilation rate of each layer. in_channels (int): Input
seg_light_ham/mmseg/models/decode_heads/aspp_head.py:11
↓ 1 callersClassASPPModule
Atrous Spatial Pyramid Pooling (ASPP) Module. Args: dilations (tuple[int]): Dilation rate of each layer. in_channels (int): Input
seg_mm/mmseg/models/decode_heads/aspp_head.py:11
↓ 1 callersClassAttentionModule
seg_light_ham/van.py:62
↓ 1 callersClassBGALayer
Bilateral Guided Aggregation Layer to fuse the complementary information from both Detail Branch and Semantic Branch. Args: out_chann
seg_light_ham/mmseg/models/backbones/bisenetv2.py:433
↓ 1 callersClassBGALayer
Bilateral Guided Aggregation Layer to fuse the complementary information from both Detail Branch and Semantic Branch. Args: out_chann
seg_mm/mmseg/models/backbones/bisenetv2.py:433
↓ 1 callersClassBaseLookAhead
Lookahead optimization strategy for any optimizer. This implemention is based on: https://arxiv.org/abs/1907.08610 "Look
gan/HamGAN/optimization.py:8
↓ 1 callersClassBasicConvBlock
Basic convolutional block for UNet. This module consists of several plain convolutional layers. Args: in_channels (int): Number of i
seg_light_ham/mmseg/models/backbones/unet.py:16
↓ 1 callersClassBasicConvBlock
Basic convolutional block for UNet. This module consists of several plain convolutional layers. Args: in_channels (int): Number of i
seg_mm/mmseg/models/backbones/unet.py:16
↓ 1 callersClassBatchSampler
Wraps another sampler to yield a mini-batch of indices. Args: sampler (Sampler): Base sampler. batch_size (int): Size of mini-bat
seg/HamNet/sync_bn/utils/data/sampler.py:96
↓ 1 callersClassBlock
seg_light_ham/van.py:96
↓ 1 callersClassCAM
Channel Attention Module (CAM)
seg_light_ham/mmseg/models/decode_heads/da_head.py:50
↓ 1 callersClassCAM
Channel Attention Module (CAM)
seg_mm/mmseg/models/decode_heads/da_head.py:50
↓ 1 callersClassCEBlock
Context Embedding Block for large receptive filed in Semantic Branch. Args: in_channels (int): Number of input channels. Defa
seg_light_ham/mmseg/models/backbones/bisenetv2.py:302
↓ 1 callersClassCEBlock
Context Embedding Block for large receptive filed in Semantic Branch. Args: in_channels (int): Number of input channels. Defa
seg_mm/mmseg/models/backbones/bisenetv2.py:302
↓ 1 callersClassCallbackContext
seg/HamNet/sync_bn/nn/modules/replicate.py:23
↓ 1 callersClassConcatDataset
Dataset to concatenate multiple datasets. Purpose: useful to assemble different existing datasets, possibly large-scale datasets as the c
seg/HamNet/sync_bn/utils/data/dataset.py:49
↓ 1 callersClassConditionalPositionEncoding
The Conditional Position Encoding (CPE) module. The CPE is the implementation of 'Conditional Positional Encodings for Vision Transformers <h
seg_light_ham/mmseg/models/backbones/twins.py:314
↓ 1 callersClassConditionalPositionEncoding
The Conditional Position Encoding (CPE) module. The CPE is the implementation of 'Conditional Positional Encodings for Vision Transformers <h
seg_mm/mmseg/models/backbones/twins.py:314
↓ 1 callersClassContextPath
Context Path to provide sufficient receptive field. Args: backbone_cfg:(dict): Config of backbone of Context Path. co
seg_light_ham/mmseg/models/backbones/bisenetv1.py:129
↓ 1 callersClassContextPath
Context Path to provide sufficient receptive field. Args: backbone_cfg:(dict): Config of backbone of Context Path. co
seg_mm/mmseg/models/backbones/bisenetv1.py:129
↓ 1 callersClassCrossEntropyLoss2d
seg/HamNet/network.py:168
↓ 1 callersClassDCM
Dynamic Convolutional Module used in DMNet. Args: filter_size (int): The filter size of generated convolution kernel used in
seg_light_ham/mmseg/models/decode_heads/dm_head.py:11
↓ 1 callersClassDCM
Dynamic Convolutional Module used in DMNet. Args: filter_size (int): The filter size of generated convolution kernel used in
seg_mm/mmseg/models/decode_heads/dm_head.py:11
↓ 1 callersClassDWConv
seg_light_ham/van.py:284
↓ 1 callersClassDataLoaderIter
Iterates once over the DataLoader's dataset, as specified by the sampler
seg/HamNet/sync_bn/utils/data/dataloader.py:185
↓ 1 callersClassDepthwiseSeparableASPPModule
Atrous Spatial Pyramid Pooling (ASPP) Module with depthwise separable conv.
seg_light_ham/mmseg/models/decode_heads/sep_aspp_head.py:11
↓ 1 callersClassDepthwiseSeparableASPPModule
Atrous Spatial Pyramid Pooling (ASPP) Module with depthwise separable conv.
seg_mm/mmseg/models/decode_heads/sep_aspp_head.py:11
↓ 1 callersClassDetailBranch
Detail Branch with wide channels and shallow layers to capture low-level details and generate high-resolution feature representation. Args:
seg_light_ham/mmseg/models/backbones/bisenetv2.py:12
↓ 1 callersClassDetailBranch
Detail Branch with wide channels and shallow layers to capture low-level details and generate high-resolution feature representation. Args:
seg_mm/mmseg/models/backbones/bisenetv2.py:12
↓ 1 callersClassDisentangledNonLocal2d
Disentangled Non-Local Blocks. Args: temperature (float): Temperature to adjust attention. Default: 0.05
seg_light_ham/mmseg/models/decode_heads/dnl_head.py:10
↓ 1 callersClassDisentangledNonLocal2d
Disentangled Non-Local Blocks. Args: temperature (float): Temperature to adjust attention. Default: 0.05
seg_mm/mmseg/models/decode_heads/dnl_head.py:10
↓ 1 callersClassEMAModule
Expectation Maximization Attention Module used in EMANet. Args: channels (int): Channels of the whole module. num_bases (int): Nu
seg_light_ham/mmseg/models/decode_heads/ema_head.py:23
↓ 1 callersClassEMAModule
Expectation Maximization Attention Module used in EMANet. Args: channels (int): Channels of the whole module. num_bases (int): Nu
seg_mm/mmseg/models/decode_heads/ema_head.py:23
↓ 1 callersClassEfficientMultiheadAttention
An implementation of Efficient Multi-head Attention of Segformer. This module is modified from MultiheadAttention which is a module from mmcv
seg_light_ham/mmseg/models/backbones/mit.py:90
↓ 1 callersClassEfficientMultiheadAttention
An implementation of Efficient Multi-head Attention of Segformer. This module is modified from MultiheadAttention which is a module from mmcv
seg_mm/mmseg/models/backbones/mit.py:90
↓ 1 callersClassEncModule
Encoding Module used in EncNet. Args: in_channels (int): Input channels. num_codes (int): Number of code words. conv_cfg
seg_light_ham/mmseg/models/decode_heads/enc_head.py:12
↓ 1 callersClassEncModule
Encoding Module used in EncNet. Args: in_channels (int): Input channels. num_codes (int): Number of code words. conv_cfg
seg_mm/mmseg/models/decode_heads/enc_head.py:12
↓ 1 callersClassEncoding
Encoding Layer: a learnable residual encoder. Input is of shape (batch_size, channels, height, width). Output is of shape (batch_size, num_c
seg_light_ham/mmseg/ops/encoding.py:7
↓ 1 callersClassEncoding
Encoding Layer: a learnable residual encoder. Input is of shape (batch_size, channels, height, width). Output is of shape (batch_size, num_c
seg_mm/mmseg/ops/encoding.py:7
next →1–100 of 483, ranked by callers