Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csguoh/AdaptIR
/ types & classes
Types & classes
49 in github.com/csguoh/AdaptIR
⨍
Functions
266
◇
Types & classes
49
↓ 8 callers
Class
AverageMeter
Computes and stores the average and current value
utils/val_utils.py:7
↓ 3 callers
Class
DerainLowlightDataset
utils/dataset_utils.py:376
↓ 3 callers
Class
ResBlockDown
net/edt.py:38
↓ 3 callers
Class
SRHybridTestDataset
utils/dataset_utils.py:436
↓ 2 callers
Class
AdaptIR
net/ipt.py:508
↓ 2 callers
Class
EDT
net/edt.py:884
↓ 2 callers
Class
IPT
net/ipt.py:48
↓ 2 callers
Class
ResBlockUp
net/edt.py:79
↓ 2 callers
Class
UpResBlock
net/edt.py:109
↓ 1 callers
Class
AdaptIR
net/edt.py:1129
↓ 1 callers
Class
BasicLayer
A basic CSwin Transformer layer for one stage. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input r
net/edt.py:475
↓ 1 callers
Class
CSwinTransformerBlock
r""" CSwin Transformer Block. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resulotion.
net/edt.py:317
↓ 1 callers
Class
Degradation
utils/degradation_utils.py:11
↓ 1 callers
Class
DenoiseTestDataset
utils/dataset_utils.py:310
↓ 1 callers
Class
LearnedPositionalEncoding
net/ipt.py:361
↓ 1 callers
Class
LinearWarmupCosineAnnealingLR
Sets the learning rate of each parameter group to follow a linear warmup schedule between warmup_start_lr and base_lr followed by a cosine anneali
utils/schedulers.py:239
↓ 1 callers
Class
Mlp
net/edt.py:159
↓ 1 callers
Class
MultiTaskIRModel
train.py:19
↓ 1 callers
Class
MultiTaskIRModel
test.py:24
↓ 1 callers
Class
PatchEmbed
r""" Image to Patch Embedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
net/edt.py:600
↓ 1 callers
Class
PatchUnEmbed
r""" Image to Patch Unembedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
net/edt.py:643
↓ 1 callers
Class
PromptTrainDataset
utils/dataset_utils.py:32
↓ 1 callers
Class
RSTB
Residual CSwin Transformer Block (RSTB). Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resoluti
net/edt.py:545
↓ 1 callers
Class
ResBlockSkip
net/edt.py:134
↓ 1 callers
Class
SwinBody
r""" SwinIR A PyTorch impl of : `SwinIR: Image Restoration Using Swin Transformer`, based on Swin Transformer. Args: img_size (in
net/edt.py:738
↓ 1 callers
Class
TransformerDecoder
net/ipt.py:431
↓ 1 callers
Class
TransformerDecoderLayer
net/ipt.py:444
↓ 1 callers
Class
TransformerEncoder
net/ipt.py:379
↓ 1 callers
Class
TransformerEncoderLayer
net/ipt.py:394
↓ 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
net/edt.py:677
↓ 1 callers
Class
VisionTransformer
net/ipt.py:250
↓ 1 callers
Class
WindowAttention
r""" Window based multi-head self attention (W-MSA) module with relative position bias. Args: dim (int): Number of input channels.
net/edt.py:232
Class
AttnPooling
net/edt.py:1090
Class
BasicBlock
net/common.py:27
Class
ConvFFN
net/edt.py:1113
Class
CosineAnnealingRestartCyclicLR
Cosine annealing with restarts learning rate scheme. An example of config: periods = [10, 10, 10, 10] restart_weights = [1, 0.5, 0.5, 0.5
utils/schedulers.py:190
Class
CosineAnnealingRestartLR
Cosine annealing with restarts learning rate scheme. An example of config: periods = [10, 10, 10, 10] restart_weights = [1, 0.5, 0.5, 0.
utils/schedulers.py:140
Class
EdgeComputation
utils/image_utils.py:14
Class
GANLoss
utils/loss_utils.py:6
Class
LayerNorm2d
net/ipt.py:20
Class
LinearLR
Args: optimizer (torch.nn.optimizer): Torch optimizer. milestones (list): Iterations that will decrease learning rate. g
utils/schedulers.py:53
Class
MeanShift
net/common.py:15
Class
MultiStepRestartLR
MultiStep with restarts learning rate scheme. Args: optimizer (torch.nn.optimizer): Torch optimizer. milestones (list): Iteratio
utils/schedulers.py:11
Class
ProgressBar
A progress bar which can print the progress modified from https://github.com/hellock/cvbase/blob/master/cvbase/progress.py
utils/common.py:260
Class
ResBlock
net/common.py:40
Class
UpsampleOneStep
UpsampleOneStep module (the difference with Upsample is that it always only has 1conv + 1pixelshuffle) Used in lightweight SR to save parameter
net/edt.py:712
Class
Upsampler
net/common.py:63
Class
VibrateLR
Args: optimizer (torch.nn.optimizer): Torch optimizer. milestones (list): Iterations that will decrease learning rate. g
utils/schedulers.py:76
Class
timer
utils/val_utils.py:78