Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gsunshine/Enjoy-Hamburger
/ types & classes
Types & classes
483 in github.com/Gsunshine/Enjoy-Hamburger
⨍
Functions
1,928
◇
Types & classes
483
↳
Endpoints
1
↓ 8 callers
Class
DataLoader
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 callers
Class
GELayer
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 callers
Class
GELayer
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 callers
Class
Compose
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 callers
Class
Compose
Compose multiple transforms sequentially. Args: transforms (Sequence[dict | callable]): Sequence of transform object or confi
seg_mm/mmseg/datasets/pipelines/compose.py:10
↓ 5 callers
Class
Upsample
seg_light_ham/mmseg/ops/wrappers.py:30
↓ 5 callers
Class
Upsample
seg_mm/mmseg/ops/wrappers.py:30
↓ 4 callers
Class
ConvBNReLU
seg/HamNet/hamburger/bread.py:21
↓ 4 callers
Class
HamNet
seg/HamNet/network.py:179
↓ 4 callers
Class
InvertedResidual
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 callers
Class
InvertedResidual
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 callers
Class
LoadImage
A simple pipeline to load image.
seg_light_ham/mmseg/apis/inference.py:43
↓ 4 callers
Class
LoadImage
A simple pipeline to load image.
seg_mm/mmseg/apis/inference.py:43
↓ 4 callers
Class
PPM
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 callers
Class
PPM
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 callers
Class
PatchEmbed
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 callers
Class
PatchEmbed
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 callers
Class
SynchronizedBatchNorm1d
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 callers
Class
AttentionRefinementModule
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 callers
Class
AttentionRefinementModule
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 callers
Class
DataParallelWithCallback
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 callers
Class
NonBottleneck1d
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 callers
Class
NonBottleneck1d
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 callers
Class
ResLayer
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 callers
Class
ResLayer
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 callers
Class
ValDataset
seg/HamNet/dataset.py:125
↓ 2 callers
Class
AdaptivePadding
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 callers
Class
AdaptivePadding
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 callers
Class
CascadeFeatureFusion
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 callers
Class
CascadeFeatureFusion
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 callers
Class
ConcatDataset
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 callers
Class
ConcatDataset
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 callers
Class
ContextGuidedBlock
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 callers
Class
ContextGuidedBlock
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 callers
Class
DistributedSampler
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 callers
Class
DownsamplerBlock
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 callers
Class
DownsamplerBlock
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 callers
Class
ExceptionWrapper
r"Wraps an exception plus traceback to communicate across threads
seg/HamNet/sync_bn/utils/data/dataloader.py:22
↓ 2 callers
Class
Hamburger
seg_light_ham/mmseg/models/decode_heads/ham_head.py:149
↓ 2 callers
Class
InputInjection
Downsampling module for CGNet.
seg_light_ham/mmseg/models/backbones/cgnet.py:171
↓ 2 callers
Class
InputInjection
Downsampling module for CGNet.
seg_mm/mmseg/models/backbones/cgnet.py:171
↓ 2 callers
Class
LoadAnnotations
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 callers
Class
LoadAnnotations
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 callers
Class
NMF2D
seg_light_ham/mmseg/models/decode_heads/ham_head.py:104
↓ 2 callers
Class
PreActResidualConvUnit
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 callers
Class
PreActResidualConvUnit
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 callers
Class
SelfAttentionBlock
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 callers
Class
SelfAttentionBlock
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 callers
Class
SelfAttentionBlock
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 callers
Class
SelfAttentionBlock
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 callers
Class
TrainDataset
seg/HamNet/dataset.py:107
↓ 2 callers
Class
TransformerEncoderLayer
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 callers
Class
TransformerEncoderLayer
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 callers
Class
UpsamplerBlock
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 callers
Class
UpsamplerBlock
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 callers
Class
ACM
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 callers
Class
ACM
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 callers
Class
AFNB
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 callers
Class
AFNB
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 callers
Class
APNB
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 callers
Class
APNB
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 callers
Class
ASPPModule
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 callers
Class
ASPPModule
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 callers
Class
AttentionModule
seg_light_ham/van.py:62
↓ 1 callers
Class
BGALayer
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 callers
Class
BGALayer
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 callers
Class
BaseLookAhead
Lookahead optimization strategy for any optimizer. This implemention is based on: https://arxiv.org/abs/1907.08610 "Look
gan/HamGAN/optimization.py:8
↓ 1 callers
Class
BasicConvBlock
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 callers
Class
BasicConvBlock
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 callers
Class
BatchSampler
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 callers
Class
Block
seg_light_ham/van.py:96
↓ 1 callers
Class
CAM
Channel Attention Module (CAM)
seg_light_ham/mmseg/models/decode_heads/da_head.py:50
↓ 1 callers
Class
CAM
Channel Attention Module (CAM)
seg_mm/mmseg/models/decode_heads/da_head.py:50
↓ 1 callers
Class
CEBlock
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 callers
Class
CEBlock
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 callers
Class
CallbackContext
seg/HamNet/sync_bn/nn/modules/replicate.py:23
↓ 1 callers
Class
ConcatDataset
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 callers
Class
ConditionalPositionEncoding
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 callers
Class
ConditionalPositionEncoding
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 callers
Class
ContextPath
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 callers
Class
ContextPath
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 callers
Class
CrossEntropyLoss2d
seg/HamNet/network.py:168
↓ 1 callers
Class
DCM
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 callers
Class
DCM
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 callers
Class
DWConv
seg_light_ham/van.py:284
↓ 1 callers
Class
DataLoaderIter
Iterates once over the DataLoader's dataset, as specified by the sampler
seg/HamNet/sync_bn/utils/data/dataloader.py:185
↓ 1 callers
Class
DepthwiseSeparableASPPModule
Atrous Spatial Pyramid Pooling (ASPP) Module with depthwise separable conv.
seg_light_ham/mmseg/models/decode_heads/sep_aspp_head.py:11
↓ 1 callers
Class
DepthwiseSeparableASPPModule
Atrous Spatial Pyramid Pooling (ASPP) Module with depthwise separable conv.
seg_mm/mmseg/models/decode_heads/sep_aspp_head.py:11
↓ 1 callers
Class
DetailBranch
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 callers
Class
DetailBranch
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 callers
Class
DisentangledNonLocal2d
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 callers
Class
DisentangledNonLocal2d
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 callers
Class
EMAModule
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 callers
Class
EMAModule
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 callers
Class
EfficientMultiheadAttention
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 callers
Class
EfficientMultiheadAttention
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 callers
Class
EncModule
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 callers
Class
EncModule
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 callers
Class
Encoding
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 callers
Class
Encoding
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