MCPcopy Create free account

hub / github.com/LayneH/GreenMIM / types & classes

Types & classes34 in github.com/LayneH/GreenMIM

↓ 4 callersClassMaskedAutoencoder
Masked Autoencoder with VisionTransformer backbone
modeling/base_green_models.py:57
↓ 3 callersClassGroupingModule
modeling/group_window_attention.py:186
↓ 3 callersClassSwinTransformer
r""" Swin Transformer A PyTorch impl of : `Swin Transformer: Hierarchical Vision Transformer using Shifted Windows` - https://arxiv
modeling/green_swin_models.py:287
↓ 2 callersClassAttention
GSA: using a key to summarize the information for a group to be efficient.
modeling/green_twins_models.py:48
↓ 2 callersClassMlp
modeling/green_swin_models.py:20
↓ 2 callersClassSmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
util/misc.py:24
↓ 2 callersClassSparseConv2d
SparseConv module that operates on torch.Tensor
modeling/sparse_conv_me.py:21
↓ 1 callersClassBasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input re
modeling/green_swin_models.py:154
↓ 1 callersClassGroupAttention
LSA: self attention within a group
modeling/green_twins_models.py:15
↓ 1 callersClassImageNet
util/base_dataset.py:111
↓ 1 callersClassPatchEmbed
r""" Image to Patch Embedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
modeling/green_swin_models.py:246
↓ 1 callersClassPatchEmbed
Image to Patch Embedding
modeling/green_twins_models.py:147
↓ 1 callersClassPosCNN
modeling/green_twins_models.py:279
↓ 1 callersClassSparseDWConv2d
We need to first convert the sparse tensor to dense tensor and then perform DWConv because spconv does not support `groups` option.
modeling/sparse_conv_spconv.py:41
↓ 1 callersClassSparsePatchEmbed
Image to Patch Embedding
modeling/green_twins_models.py:175
↓ 1 callersClassSwinTransformerBlock
r""" Swin Transformer Block. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resulotion.
modeling/green_swin_models.py:38
↓ 1 callersClassWindowAttention
r""" Window based multi-head self attention (W-MSA) module with relative position bias. It supports both of shifted and non-shifted window. A
modeling/group_window_attention.py:20
ClassALTGVT
alias Twins-SVT
modeling/green_twins_models.py:382
ClassBaseDataset
util/base_dataset.py:47
ClassBaseGreenModel
modeling/base_green_models.py:17
ClassBlock
modeling/green_twins_models.py:95
ClassCPVTV2
Use useful results from CPVT. PEG and GAP. Therefore, cls token is no longer required. PEG is used to encode the absolute position on the
modeling/green_twins_models.py:293
ClassDatasetCache
util/base_dataset.py:17
ClassGroupBlock
modeling/green_twins_models.py:127
ClassImageNetWithIdx
util/base_dataset.py:131
ClassMetricLogger
util/misc.py:86
ClassNativeScalerWithGradNormCount
util/misc.py:268
ClassPCPVT
modeling/green_twins_models.py:372
ClassPatchMerging
r""" Patch Merging Layer. Args: input_resolution (tuple[int]): Resolution of input feature. dim (int): Number of input channels.
modeling/green_swin_models.py:101
ClassPyramidVisionTransformer
modeling/green_twins_models.py:210
ClassSBlock
modeling/green_twins_models.py:117
ClassSparseAvgPool2d
SparseConv module that operates on torch.Tensor
modeling/sparse_conv_me.py:47
ClassSparseConv2d
SparseConv module that operates on torch.Tensor
modeling/sparse_conv_spconv.py:21
ClassSubMConv2d
SubManifold Conv module that operates on torch.Tensor
modeling/sparse_conv_spconv.py:32