Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cewang-sysu/DuDoTrans
/ types & classes
Types & classes
23 in github.com/cewang-sysu/DuDoTrans
⨍
Functions
73
◇
Types & classes
23
↓ 4 callers
Class
double_conv
(conv => BN => ReLU) * 2
modules/Unet_parts.py:8
↓ 4 callers
Class
down
modules/Unet_parts.py:36
↓ 4 callers
Class
up
modules/Unet_parts.py:49
↓ 3 callers
Class
CTSlice_Provider
loaders/load_dataset.py:14
↓ 3 callers
Class
SwinIR
r""" SwinIR A PyTorch impl of : `SwinIR: Image Restoration Using Swin Transformer`, based on Swin Transformer. Args: img_size (in
network_swinir.py:618
↓ 3 callers
Class
reconstructor_loss
modules/reconstructor.py:40
↓ 2 callers
Class
PatchEmbed
r""" Image to Patch Embedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
network_swinir.py:495
↓ 2 callers
Class
PatchUnEmbed
r""" Image to Patch Unembedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
network_swinir.py:538
↓ 2 callers
Class
reconstructor
modules/reconstructor.py:8
↓ 1 callers
Class
BasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input re
network_swinir.py:349
↓ 1 callers
Class
Mlp
network_swinir.py:14
↓ 1 callers
Class
RSTB
Residual Swin Transformer Block (RSTB). Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resolutio
network_swinir.py:419
↓ 1 callers
Class
SwinTransformerBlock
r""" Swin Transformer Block. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resulotion.
network_swinir.py:164
↓ 1 callers
Class
Trainer
main.py:17
↓ 1 callers
Class
Upsample
Upsample module. Args: scale (int): Scale factor. Supported scales: 2^n and 3. num_feat (int): Channel number of intermediate fea
network_swinir.py:572
↓ 1 callers
Class
UpsampleOneStep
UpsampleOneStep module (the difference with Upsample is that it always only has 1conv + 1pixelshuffle) Used in lightweight SR to save parameter
network_swinir.py:594
↓ 1 callers
Class
WindowAttention
r""" Window based multi-head self attention (W-MSA) module with relative position bias. It supports both of shifted and non-shifted window. A
network_swinir.py:65
↓ 1 callers
Class
inconv
modules/Unet_parts.py:26
↓ 1 callers
Class
outconv
modules/Unet_parts.py:116
Class
ConvReLu
modules/Unet_parts.py:125
Class
PatchMerging
r""" Patch Merging Layer. Args: input_resolution (tuple[int]): Resolution of input feature. dim (int): Number of input channels.
network_swinir.py:300
Class
UNet_Slim_Fat
modules/unet_model.py:9
Class
up_hm
modules/Unet_parts.py:81