MCPcopy Create free account

hub / github.com/ZhengPeng7/BiRefNet / types & classes

Types & classes66 in github.com/ZhengPeng7/BiRefNet

↓ 23 callersClassConfig
config.py:5
↓ 4 callersClassBlock
models/backbones/pvt_v2.py:121
↓ 4 callersClassMyData
dataset.py:34
↓ 4 callersClassOverlapPatchEmbed
Image to Patch Embedding
models/backbones/pvt_v2.py:161
↓ 4 callersClassSwinTransformer
Swin Transformer backbone. A PyTorch impl of : `Swin Transformer: Hierarchical Vision Transformer using Shifted Windows` - https:/
models/backbones/swin_v1.py:456
↓ 4 callersClass_ASPPModule
models/modules/aspp.py:11
↓ 3 callersClassASPP
models/modules/aspp.py:26
↓ 3 callersClassASPPDeformable
models/modules/aspp.py:86
↓ 3 callersClassBiRefNet
models/birefnet.py:22
↓ 2 callersClassBasicDecBlk
models/modules/decoder_blocks.py:11
↓ 2 callersClassDecoder
models/refinement/refiner.py:109
↓ 2 callersClassIoULoss
loss.py:71
↓ 2 callersClassMLPLayer
models/modules/mlp.py:11
↓ 2 callersClassStemLayer
r""" Stem layer of InternImage Args: in_channels (int): number of input channels out_channels (int): number of output channels
models/refinement/stem_layer.py:5
↓ 2 callersClass_ASPPModuleDeformable
models/modules/aspp.py:71
↓ 2 callersClassto_channels_first
models/modules/utils.py:39
↓ 2 callersClassto_channels_last
models/modules/utils.py:48
↓ 1 callersClassAttention
models/modules/mlp.py:30
↓ 1 callersClassAttention
models/backbones/pvt_v2.py:52
↓ 1 callersClassAverageMeter
Computes and stores the average and current value
utils.py:62
↓ 1 callersClassBasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of feature channels depth (int): Depths of this stage.
models/backbones/swin_v1.py:309
↓ 1 callersClassClsLoss
Auxiliary classification loss for each refined class output.
loss.py:131
↓ 1 callersClassContourLoss
loss.py:38
↓ 1 callersClassDWConv
models/backbones/pvt_v2.py:361
↓ 1 callersClassDecoder
models/birefnet.py:149
↓ 1 callersClassDeformableConv2d
models/modules/deform_conv.py:6
↓ 1 callersClassDiscriminator
loss.py:9
↓ 1 callersClassEmeasure
evaluation/metrics.py:296
↓ 1 callersClassFmeasure
evaluation/metrics.py:110
↓ 1 callersClassHCEMeasure
evaluation/metrics.py:476
↓ 1 callersClassLogger
utils.py:42
↓ 1 callersClassMAEmeasure
evaluation/metrics.py:168
↓ 1 callersClassMlp
Multilayer perceptron.
models/backbones/swin_v1.py:20
↓ 1 callersClassMlp
models/backbones/pvt_v2.py:14
↓ 1 callersClassPSA
models/modules/attentions.py:25
↓ 1 callersClassPatchEmbed
Image to Patch Embedding Args: patch_size (int): Patch token size. Default: 4. in_channels (int): Number of input image channels
models/backbones/swin_v1.py:413
↓ 1 callersClassPatchIoULoss
loss.py:106
↓ 1 callersClassPixLoss
Pixel loss for each refined map output.
loss.py:154
↓ 1 callersClassSEWeightModule
models/modules/attentions.py:7
↓ 1 callersClassSGE
models/modules/attentions.py:65
↓ 1 callersClassSSIMLoss
loss.py:193
↓ 1 callersClassSmeasure
evaluation/metrics.py:187
↓ 1 callersClassStructureLoss
loss.py:89
↓ 1 callersClassSwinTransformerBlock
Swin Transformer Block. Args: dim (int): Number of input channels. num_heads (int): Number of attention heads. window_si
models/backbones/swin_v1.py:164
↓ 1 callersClassThrReg_loss
loss.py:123
↓ 1 callersClassTrainer
train.py:134
↓ 1 callersClassWeightedFmeasure
evaluation/metrics.py:409
↓ 1 callersClassWindowAttention
Window based multi-head self attention (W-MSA) module with relative position bias. It supports both of shifted and non-shifted window. Args:
models/backbones/swin_v1.py:73
ClassBasicLatBlk
models/modules/lateral_blocks.py:13
ClassBlock
models/modules/mlp.py:74
ClassBlockA
models/modules/ing.py:5
ClassHierarAttDecBlk
models/modules/decoder_blocks.py:69
ClassOverlapPatchEmbed
Image to Patch Embedding
models/modules/mlp.py:95
ClassPatchMerging
Patch Merging Layer Args: dim (int): Number of input channels. norm_layer (nn.Module, optional): Normalization layer. Default:
models/backbones/swin_v1.py:266
ClassPyramidVisionTransformerImpr
models/backbones/pvt_v2.py:204
ClassRefUNet
models/refinement/refiner.py:158
ClassRefiner
models/refinement/refiner.py:63
ClassRefinerPVTInChannels4
models/refinement/refiner.py:19
ClassResBlk
models/modules/decoder_blocks.py:36
ClassSimpleConvs
models/birefnet.py:308
Classpvt_v2_b0
models/backbones/pvt_v2.py:387
Classpvt_v2_b1
models/backbones/pvt_v2.py:397
Classpvt_v2_b2
models/backbones/pvt_v2.py:405
Classpvt_v2_b3
models/backbones/pvt_v2.py:413
Classpvt_v2_b4
models/backbones/pvt_v2.py:421
Classpvt_v2_b5
models/backbones/pvt_v2.py:430