MCPcopy Create free account

hub / github.com/Zj-BinXia/AMSA / types & classes

Types & classes61 in github.com/Zj-BinXia/AMSA

↓ 5 callersClassProgressBar
A progress bar which can print the progress. Modified from: https://github.com/hellock/cvbase/blob/master/cvbase/progress.py
AMSA/mmsr/utils/util.py:250
↓ 4 callersClassVGGFeatureExtractor
VGG network for feature extraction. In this implementation, we allow users to choose whether use normalization in the input feature and the t
AMSA/mmsr/models/archs/vgg_arch.py:59
↓ 3 callersClassFileClient
A general file client to access files in different backend. The client loads a file or text in a specified backend from its path and return i
AMSA/mmsr/utils/file_client.py:170
↓ 2 callersClassContrasExtractorLayer
AMSA/mmsr/models/archs/contras_extractor_arch.py:8
↓ 1 callersClassContentExtractor
AMSA/mmsr/models/archs/ref_restoration_arch.py:9
↓ 1 callersClassDeformSearch
AMSA/mmsr/models/archs/patch_match_arch.py:8
↓ 1 callersClassDistIterSampler
Sampler that restricts data loading to a subset of the dataset. Modified from torch.utils.data.distributed.DistributedSampler Support enlargi
AMSA/mmsr/data/data_sampler.py:8
↓ 1 callersClassDynamicAggregationRestoration
AMSA/mmsr/models/archs/ref_restoration_arch.py:75
↓ 1 callersClassEvaluate
AMSA/mmsr/models/archs/patch_match_arch.py:35
↓ 1 callersClassMessageLogger
Message logger for printing. Args: opt (dict): Config. It contains the following keys: name (str): Exp name. logg
AMSA/mmsr/utils/logger.py:8
↓ 1 callersClassNoneDict
None dict. It will return none if key is not in the dict.
AMSA/mmsr/utils/options.py:122
↓ 1 callersClassPatchMatch
AMSA/mmsr/models/archs/patch_match_arch.py:105
↓ 1 callersClassPropagation
AMSA/mmsr/models/archs/patch_match_arch.py:65
↓ 1 callersClassfeature_match_index
AMSA/mmsr/models/archs/patch_match_arch.py:162
ClassBaseModel
Base model.
AMSA/mmsr/models/base_model.py:14
ClassBaseStorageBackend
Abstract class of storage backends. All backends need to implement two apis: `get()` and `get_text()`. `get()` reads the file as a byte strea
AMSA/mmsr/utils/file_client.py:7
ClassCephBackend
Ceph storage backend.
AMSA/mmsr/utils/file_client.py:24
ClassCharbonnierLoss
Charbonnier loss (one variant of Robust L1Loss, a differentiable variant of L1Loss). Described in "Deep Laplacian Pyramid Networks for Fast a
AMSA/mmsr/models/losses.py:89
ClassContrasDataset
Dataset for the training of Contrastive Correspondence Network. There are three modes: 1. 'lmdb': Use lmdb files. If opt['io_backend'
AMSA/mmsr/data/contras_dataset.py:94
ClassContrasExtractorSep
AMSA/mmsr/models/archs/contras_extractor_arch.py:44
ClassContrasValDataset
Dataset for the validation of Contrastive Correspondence Network. There are three modes: 1. 'lmdb': Use lmdb files. If opt['io_backen
AMSA/mmsr/data/contras_dataset.py:234
ClassCorrespondenceGenerationArch
AMSA/mmsr/models/archs/corres_generation_arch.py:14
ClassCosineAnnealingRestartLR
Cosine annealing with restarts learning rate scheme. An example of config: period = [10, 10, 10, 10] restarts = [10, 20, 30] restart
AMSA/mmsr/models/lr_scheduler.py:50
ClassDCN
AMSA/mmsr/models/archs/DCNv2/dcn_v2.py:98
ClassDCNPooling
AMSA/mmsr/models/archs/DCNv2/dcn_v2.py:413
ClassDCN_pre_offset
Use other features to generate offsets and masks. Intialized the offset with precomputed non-local offset.
AMSA/mmsr/models/archs/DCNv2/dcn_v2.py:187
ClassDCN_sep
Use other features to generate offsets and masks
AMSA/mmsr/models/archs/DCNv2/dcn_v2.py:136
ClassDCN_sep_pre_multi_offset
Use other features to generate offsets and masks. Intialized the offset with precomputed non-local offset.
AMSA/mmsr/models/archs/DCNv2/dcn_v2.py:256
ClassDCNv2
AMSA/mmsr/models/archs/DCNv2/dcn_v2.py:56
ClassDCNv2Pooling
AMSA/mmsr/models/archs/DCNv2/dcn_v2.py:382
ClassDeformConv
AMSA/mmsr/models/archs/dcn/deform_conv.py:193
ClassDeformConvFunction
AMSA/mmsr/models/archs/dcn/deform_conv.py:15
ClassDeformConvPack
AMSA/mmsr/models/archs/dcn/deform_conv.py:242
ClassGANLoss
Define GAN loss. Args: gan_type (str): Support 'vanilla', 'lsgan', 'wgan', 'hinge'. real_label_val (float): The value for real la
AMSA/mmsr/models/losses.py:275
ClassGradientPenaltyLoss
Gradient penalty loss for wgan-gp. Args: loss_weight (float): Loss weight. Default: 1.0.
AMSA/mmsr/models/losses.py:403
ClassHardDiskBackend
Raw hard disks storage backend.
AMSA/mmsr/utils/file_client.py:154
ClassImageDiscriminator
AMSA/mmsr/models/archs/discriminator_arch.py:6
ClassL1Loss
L1 (mean absolute error, MAE) loss. Args: loss_weight (float): Loss weight for L1 loss. Default: 1.0. reduction (str): Specifies
AMSA/mmsr/models/losses.py:31
ClassLmdbBackend
Lmdb storage backend. Args: db_paths (str | list[str]): Lmdb database paths. client_keys (str | list[str]): Lmdb client keys. Def
AMSA/mmsr/utils/file_client.py:83
ClassMSELoss
MSE (L2) loss. Args: loss_weight (float): Loss weight for MSE loss. Default: 1.0. reduction (str): Specifies the reduction to app
AMSA/mmsr/models/losses.py:60
ClassMapLoss
Perceptual loss with commonly used style loss. Args: layers_weights (dict): The weight for each layer of vgg feature. Here is
AMSA/mmsr/models/losses.py:536
ClassMaskedTVLoss
AMSA/mmsr/models/losses.py:125
ClassMemcachedBackend
Memcached storage backend. Attributes: server_list_cfg (str): Config file for memcached server list. client_cfg (str): Config fil
AMSA/mmsr/utils/file_client.py:45
ClassModulatedDeformConv
AMSA/mmsr/models/archs/dcn/deform_conv.py:267
ClassModulatedDeformConvFunction
AMSA/mmsr/models/archs/dcn/deform_conv.py:116
ClassModulatedDeformConvPack
AMSA/mmsr/models/archs/dcn/deform_conv.py:314
ClassMultiStepRestartLR
MultiStep with restarts learning rate scheme. Args: optimizer (torch.nn.optimizer): Torch optimizer. milestones (list): Iteratio
AMSA/mmsr/models/lr_scheduler.py:7
ClassPerceptualLoss
Perceptual loss with commonly used style loss. Args: layers_weights (dict): The weight for each layer of vgg feature. Here is
AMSA/mmsr/models/losses.py:141
ClassPerceptualLossMultiInputs
Perceptual loss with multiple inputs images. Args: x (Tensor): Input tensor with shape (B, N, C, H, W), where N indicates num
AMSA/mmsr/models/losses.py:241
ClassRefCUFEDDataset
Reference based CUFED dataset for super-resolution. There are three modes: 1. 'lmdb': Use lmdb files. If opt['io_backend'] == lmdb.
AMSA/mmsr/data/ref_cufed_dataset.py:13
ClassRefRestorationModel
AMSA/mmsr/models/ref_restoration_model.py:20
ClassResidualBlockNoBN
Residual block without BN. It has a style of: ---Conv-ReLU-Conv-+- |________________| Args: nf (int): Number of fea
AMSA/mmsr/models/archs/arch_util.py:79
ClassResidualBlockwithBN
Residual block with BN. It has a style of: ---Conv-BN-ReLU-Conv-BN-+- |______________________| Args: nf (int): Numb
AMSA/mmsr/models/archs/arch_util.py:161
ClassRestorationNet
AMSA/mmsr/models/archs/ref_restoration_arch.py:31
ClassSRModel
Single image SR model.
AMSA/mmsr/models/sr_model.py:20
ClassStudentContrasDistillationModel
AMSA/mmsr/models/student_contras_distillation_model.py:67
ClassTeacherContrasModel
AMSA/mmsr/models/teacher_contras_model.py:67
ClassTextureLoss
Define Texture Loss. Args: use_weights (bool): If True, the weights computed in swapping will be used to scale the features.
AMSA/mmsr/models/losses.py:431
ClassUpsample
Upsample module. Args: scale (int): Scale factor. Supported scales: 2^n and 3. nf (int): Channel number of intermediate features.
AMSA/mmsr/models/archs/arch_util.py:138
Class_DCNv2
AMSA/mmsr/models/archs/DCNv2/dcn_v2.py:16
Class_DCNv2Pooling
AMSA/mmsr/models/archs/DCNv2/dcn_v2.py:325