MCPcopy Create free account

hub / github.com/csguoh/AdaptIR / types & classes

Types & classes49 in github.com/csguoh/AdaptIR

↓ 8 callersClassAverageMeter
Computes and stores the average and current value
utils/val_utils.py:7
↓ 3 callersClassDerainLowlightDataset
utils/dataset_utils.py:376
↓ 3 callersClassResBlockDown
net/edt.py:38
↓ 3 callersClassSRHybridTestDataset
utils/dataset_utils.py:436
↓ 2 callersClassAdaptIR
net/ipt.py:508
↓ 2 callersClassEDT
net/edt.py:884
↓ 2 callersClassIPT
net/ipt.py:48
↓ 2 callersClassResBlockUp
net/edt.py:79
↓ 2 callersClassUpResBlock
net/edt.py:109
↓ 1 callersClassAdaptIR
net/edt.py:1129
↓ 1 callersClassBasicLayer
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 callersClassCSwinTransformerBlock
r""" CSwin Transformer Block. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resulotion.
net/edt.py:317
↓ 1 callersClassDegradation
utils/degradation_utils.py:11
↓ 1 callersClassDenoiseTestDataset
utils/dataset_utils.py:310
↓ 1 callersClassLearnedPositionalEncoding
net/ipt.py:361
↓ 1 callersClassLinearWarmupCosineAnnealingLR
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 callersClassMlp
net/edt.py:159
↓ 1 callersClassMultiTaskIRModel
train.py:19
↓ 1 callersClassMultiTaskIRModel
test.py:24
↓ 1 callersClassPatchEmbed
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 callersClassPatchUnEmbed
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 callersClassPromptTrainDataset
utils/dataset_utils.py:32
↓ 1 callersClassRSTB
Residual CSwin Transformer Block (RSTB). Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resoluti
net/edt.py:545
↓ 1 callersClassResBlockSkip
net/edt.py:134
↓ 1 callersClassSwinBody
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 callersClassTransformerDecoder
net/ipt.py:431
↓ 1 callersClassTransformerDecoderLayer
net/ipt.py:444
↓ 1 callersClassTransformerEncoder
net/ipt.py:379
↓ 1 callersClassTransformerEncoderLayer
net/ipt.py:394
↓ 1 callersClassUpsample
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 callersClassVisionTransformer
net/ipt.py:250
↓ 1 callersClassWindowAttention
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
ClassAttnPooling
net/edt.py:1090
ClassBasicBlock
net/common.py:27
ClassConvFFN
net/edt.py:1113
ClassCosineAnnealingRestartCyclicLR
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
ClassCosineAnnealingRestartLR
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
ClassEdgeComputation
utils/image_utils.py:14
ClassGANLoss
utils/loss_utils.py:6
ClassLayerNorm2d
net/ipt.py:20
ClassLinearLR
Args: optimizer (torch.nn.optimizer): Torch optimizer. milestones (list): Iterations that will decrease learning rate. g
utils/schedulers.py:53
ClassMeanShift
net/common.py:15
ClassMultiStepRestartLR
MultiStep with restarts learning rate scheme. Args: optimizer (torch.nn.optimizer): Torch optimizer. milestones (list): Iteratio
utils/schedulers.py:11
ClassProgressBar
A progress bar which can print the progress modified from https://github.com/hellock/cvbase/blob/master/cvbase/progress.py
utils/common.py:260
ClassResBlock
net/common.py:40
ClassUpsampleOneStep
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
ClassUpsampler
net/common.py:63
ClassVibrateLR
Args: optimizer (torch.nn.optimizer): Torch optimizer. milestones (list): Iterations that will decrease learning rate. g
utils/schedulers.py:76
Classtimer
utils/val_utils.py:78