MCPcopy Create free account

hub / github.com/IceClear/CLIP-IQA / types & classes

Types & classes335 in github.com/IceClear/CLIP-IQA

↓ 18 callersClassPixelShufflePack
Pixel Shuffle upsample layer. Args: in_channels (int): Number of input channels. out_channels (int): Number of output channels.
mmedit/models/common/upsample.py:8
↓ 12 callersClassCompose
Compose a data pipeline with a sequence of transforms. Args: transforms (list[dict | callable]): Either config dicts of trans
mmedit/datasets/pipelines/compose.py:10
↓ 10 callersClassMaskConvModule
Mask convolution module. This is a simple wrapper for mask convolution like: 'partial conv'. Convolutions in this module always need a mask a
mmedit/models/common/mask_conv_module.py:5
↓ 10 callersClassMaxFeature
Conv2d or Linear layer with max feature selector. Generate feature maps with double channels, split them and select the max feature.
mmedit/models/components/discriminators/light_cnn.py:10
↓ 9 callersClassResidualBlocksWithInputConv
Residual blocks with a convolution in front. Args: in_channels (int): Number of input channels of the first conv. out_channels (i
mmedit/models/backbones/sr_backbones/basicvsr_net.py:186
↓ 8 callersClassResBlock
ResBlock for Hourglass. It has a style of: :: ---Conv-ReLU-Conv-Conv-+- |_________Conv________| or ---Co
mmedit/models/extractors/feedback_hour_glass.py:8
↓ 6 callersClassUnetSkipConnectionBlock
Construct a Unet submodule with skip connections, with the following. structure: downsampling - `submodule` - upsampling. Args: oute
mmedit/models/common/generation_model_utils.py:114
↓ 5 callersClassBlur
mmedit/models/components/stylegan2/modules.py:369
↓ 5 callersClassConvDownLayer
mmedit/models/components/stylegan2/modules.py:819
↓ 5 callersClassEqualLinearActModule
Equalized LR Linear Module with Activation Layer. Args: nn ([type]): [description]
mmedit/models/components/stylegan2/modules.py:253
↓ 5 callersClassLayerNorm
Subclass torch's LayerNorm to handle fp16.
mmedit/models/components/clip/model.py:162
↓ 4 callersClassFIDInceptionC
InceptionC block patched for FID computation.
mmedit/core/evaluation/inception_utils.py:225
↓ 4 callersClassSEGating
Gatting of SE attention. Args: in_channels (int): Number of channels in the input feature map.
mmedit/models/backbones/vfi_backbones/flavr_net.py:551
↓ 3 callersClassConvNormWithReflectionPad
Apply reflection padding, followed by a convolution, which can be followed by an optional normalization. Args: in_channels (int): Cha
mmedit/models/backbones/vfi_backbones/cain_net.py:53
↓ 3 callersClassFIDInceptionA
InceptionA block patched for FID computation.
mmedit/core/evaluation/inception_utils.py:192
↓ 3 callersClassModulatedStyleConv
mmedit/models/components/stylegan2/modules.py:690
↓ 3 callersClassResidualDenseBlock
Residual Dense Block. Used in RRDB block in ESRGAN. Args: mid_channels (int): Channel number of intermediate features. growt
mmedit/models/backbones/sr_backbones/rrdb_net.py:13
↓ 3 callersClassUpConv3d
A conv block that bundles conv/SEGating/norm layers. Args: in_channels (int): Number of channels in the input feature map. Sa
mmedit/models/backbones/vfi_backbones/flavr_net.py:346
↓ 2 callersClassASPP
ASPP module from DeepLabV3. The code is adopted from https://github.com/pytorch/vision/blob/master/torchvision/models/ segmentation/deepl
mmedit/models/common/aspp.py:31
↓ 2 callersClassBottleneck
mmedit/models/components/clip/model.py:10
↓ 2 callersClassConv3d
A conv block that bundles conv/SEGating/norm layers. Args: in_channels (int): Number of channels in the input feature map. Sa
mmedit/models/backbones/vfi_backbones/flavr_net.py:409
↓ 2 callersClassDepthwiseSeparableConvModule
Depthwise separable convolution module. See https://arxiv.org/pdf/1704.04861.pdf for details. This module can replace a ConvModule with the
mmedit/models/common/separable_conv_module.py:6
↓ 2 callersClassDistributedDataParallelWrapper
A DistributedDataParallel wrapper for models in MMediting. In MMedting, there is a need to wrap different modules in the models with separate
mmedit/core/distributed_wrapper.py:10
↓ 2 callersClassGANImageBuffer
This class implements an image buffer that stores previously generated images. This buffer allows us to update the discriminator using a hist
mmedit/models/common/generation_model_utils.py:57
↓ 2 callersClassGCAModule
Guided Contextual Attention Module. From https://arxiv.org/pdf/2001.04069.pdf. Based on https://github.com/nbei/Deep-Flow-Guided-Video-Inpain
mmedit/models/common/gca_module.py:8
↓ 2 callersClassHourglass
Hourglass model for face landmark. It is a recursive model. Args: depth (int): Depth of Hourglass, the number of recursions.
mmedit/models/extractors/feedback_hour_glass.py:57
↓ 2 callersClassImgNormalize
Normalize images with the given mean and std value. Based on Conv2d layer, can work in GPU. Args: pixel_range (float): Pixel range o
mmedit/models/common/img_normalize.py:6
↓ 2 callersClassInvertedResidual
Inverted residual layer for indexnet encoder. It basically is a depthwise separable conv module. If `expand_ratio` is not one, then a conv mo
mmedit/models/backbones/encoder_decoders/encoders/indexnet_encoder.py:221
↓ 2 callersClassModulatedConv2d
r"""Modulated Conv2d in StyleGANv2. Attention: #. ``style_bias`` is provided to check the difference between official TF implementati
mmedit/models/components/stylegan2/modules.py:385
↓ 2 callersClassModulatedDCNPack
Modulated Deformable Convolutional Pack. Different from the official DCN, which generates offsets and masks from the preceding features, this
mmedit/models/backbones/sr_backbones/edvr_net.py:15
↓ 2 callersClassModulatedToRGB
mmedit/models/components/stylegan2/modules.py:782
↓ 2 callersClassMultiLayerDiscriminator
Multilayer Discriminator. This is a commonly used structure with stacked multiply convolution layers. Args: in_channels (int): Input
mmedit/models/components/discriminators/multi_layer_disc.py:12
↓ 2 callersClassNoiseInjection
mmedit/models/components/stylegan2/modules.py:501
↓ 2 callersClassNormalize
Normalize images with the given mean and std value. Required keys are the keys in attribute "keys", added or modified keys are the keys in at
mmedit/datasets/pipelines/normalization.py:9
↓ 2 callersClassPCDAlignment
Alignment module using Pyramid, Cascading and Deformable convolution (PCD). It is used in EDVRNet. Args: mid_channels (int): Number o
mmedit/models/backbones/sr_backbones/edvr_net.py:61
↓ 2 callersClassPerceptualVGG
VGG network used in calculating perceptual loss. In this implementation, we allow users to choose whether use normalization in the input feat
mmedit/models/losses/perceptual_loss.py:12
↓ 2 callersClassPyTorchInceptionV3
Pretrained InceptionV3 network returning feature maps. This class is only used when TorchScript is not available, `torch.__version__` < '1.6.
mmedit/core/evaluation/inception_utils.py:24
↓ 2 callersClassResize
Resize data to a specific size for training or resize the images to fit the network input regulation for testing. When used for resizing imag
mmedit/datasets/pipelines/augmentation.py:20
↓ 2 callersClassSPyNet
SPyNet architecture. Note that this implementation is specifically for TOFlow. It differs from the common SPyNet in the following aspects:
mmedit/models/backbones/sr_backbones/tof.py:78
↓ 2 callersClassSPyNet
SPyNet network structure. The difference to the SPyNet in [tof.py] is that 1. more SPyNetBasicModule is used in this version, and
mmedit/models/backbones/sr_backbones/basicvsr_net.py:224
↓ 2 callersClassTSAFusion
Temporal Spatial Attention (TSA) fusion module. It is used in EDVRNet. Args: mid_channels (int): Number of the channels of middle feature
mmedit/models/backbones/sr_backbones/edvr_net.py:190
↓ 2 callersClassToTensor
Convert some values in results dict to `torch.Tensor` type in data loader pipeline. Args: keys (Sequence[str]): Required keys to be c
mmedit/datasets/pipelines/formating.py:34
↓ 2 callersClassTransformer
mmedit/models/components/clip/model.py:200
↓ 1 callersClassAOTBlock
AOT Block which constitutes the dilation backbone. This implementation follows: Aggregated Contextual Transformations for High-Resolution Ima
mmedit/models/backbones/encoder_decoders/necks/aot_neck.py:48
↓ 1 callersClassASPPPooling
mmedit/models/common/aspp.py:10
↓ 1 callersClassAttentionPool2d
mmedit/models/components/clip/model.py:56
↓ 1 callersClassAugmentedDeformConv2dPack
Augmented Deformable Convolution Pack. Different from DeformConv2dPack, which generates offsets from the preceding feature, this AugmentedDef
mmedit/models/backbones/sr_backbones/tdan_net.py:15
↓ 1 callersClassBasicModule
Basic module of SPyNet. Note that unlike the common spynet architecture, the basic module here contains batch normalization.
mmedit/models/backbones/sr_backbones/tof.py:13
↓ 1 callersClassBasicModule
Basic module of SPyNet. Note that unlike the common spynet architecture, the basic module here could contain batch normalization. Args:
mmedit/models/backbones/vfi_backbones/tof_vfi_net.py:13
↓ 1 callersClassBasicVSRNet
BasicVSR network structure for video super-resolution. Support only x4 upsampling. Paper: BasicVSR: The Search for Essential Componen
mmedit/models/backbones/sr_backbones/basicvsr_net.py:15
↓ 1 callersClassCLIP
mmedit/models/components/clip/model.py:257
↓ 1 callersClassCSFI2
Cross-Scale Feature Integration between 1x and 2x features. Cross-Scale Feature Integration in Texture Transformer Network for Image Supe
mmedit/models/backbones/sr_backbones/ttsr_net.py:65
↓ 1 callersClassCSFI3
Cross-Scale Feature Integration between 1x, 2x, and 4x features. Cross-Scale Feature Integration in Texture Transformer Network for Image
mmedit/models/backbones/sr_backbones/ttsr_net.py:110
↓ 1 callersClassChannelAttentionLayer
Channel Attention (CA) Layer. Args: mid_channels (int): Channel number of the intermediate features. reduction (int): Channel red
mmedit/models/backbones/vfi_backbones/cain_net.py:99
↓ 1 callersClassColorJitter
mmedit/apis/restoration_inference.py:144
↓ 1 callersClassConstantInput
mmedit/models/components/stylegan2/modules.py:518
↓ 1 callersClassContextualAttentionModule
Contexture attention module. The details of this module can be found in: Generative Image Inpainting with Contextual Attention Args:
mmedit/models/common/contextual_attention.py:9
↓ 1 callersClassCustomCLIP
mmedit/models/backbones/sr_backbones/coopclipiqa.py:190
↓ 1 callersClassDecoder
Decoder of FLAVR. Args: join_type (str): Join type of tensors from decoder and encoder. Candidates are ``concat`` and ``add``
mmedit/models/backbones/vfi_backbones/flavr_net.py:250
↓ 1 callersClassDenseLayer
Dense layer. Args: in_channels (int): Channel number of inputs. out_channels (int): Channel number of outputs.
mmedit/models/backbones/sr_backbones/rdn.py:9
↓ 1 callersClassDistEvalIterHook
Distributed evaluation hook. Args: dataloader (DataLoader): A PyTorch dataloader. interval (int): Evaluation interval. Default: 1
mmedit/core/evaluation/eval_hooks.py:74
↓ 1 callersClassDistributedSampler
DistributedSampler inheriting from `torch.utils.data.DistributedSampler`. In pytorch of lower versions, there is no `shuffle` argument. This
mmedit/datasets/samplers/distributed_sampler.py:11
↓ 1 callersClassEDVRFeatureExtractor
EDVR feature extractor for information-refill in IconVSR. We use EDVR-M in IconVSR. To adopt pretrained models, please specify "pretrained".
mmedit/models/backbones/sr_backbones/iconvsr.py:271
↓ 1 callersClassEncoder
Encoder of FLAVR. Args: block (nn.Module): Basic block of encoder. layers (str): List of layers in encoder. stem_layer (n
mmedit/models/backbones/vfi_backbones/flavr_net.py:125
↓ 1 callersClassEqualizedLR
r"""Equalized Learning Rate. This trick is proposed in: Progressive Growing of GANs for Improved Quality, Stability, and Variation The g
mmedit/models/components/stylegan2/modules.py:64
↓ 1 callersClassEqualizedLRConvModule
r"""Equalized LR ConvModule. In this module, we inherit default ``mmcv.cnn.ConvModule`` and adopt equalized lr in convolution. The equalized
mmedit/models/components/stylegan2/modules.py:188
↓ 1 callersClassEqualizedLRLinearModule
r"""Equalized LR LinearModule. In this module, we adopt equalized lr in ``nn.Linear``. The equalized learning rate is proposed in: Progre
mmedit/models/components/stylegan2/modules.py:217
↓ 1 callersClassEvalIterHook
Non-Distributed evaluation hook for iteration-based runner. This hook will regularly perform evaluation in a given interval when performing i
mmedit/core/evaluation/eval_hooks.py:8
↓ 1 callersClassFIDInceptionE_1
First InceptionE block patched for FID computation.
mmedit/core/evaluation/inception_utils.py:261
↓ 1 callersClassFIDInceptionE_2
Second InceptionE block patched for FID computation.
mmedit/core/evaluation/inception_utils.py:302
↓ 1 callersClassFeatureHeatmapFusingBlock
Fusing Feature and Heatmap. Args: in_channels (int): Number of channels in the input features. num_heatmaps (int): Number of heat
mmedit/models/backbones/sr_backbones/dic_net.py:210
↓ 1 callersClassFeedbackBlockCustom
Custom feedback block, will be used as the first feedback block. Args: in_channels (int): Number of channels in the input features.
mmedit/models/backbones/sr_backbones/dic_net.py:124
↓ 1 callersClassFeedbackBlockHeatmapAttention
Feedback block with HeatmapAttention. Args: in_channels (int): Number of channels in the input features. mid_channels (int): Numb
mmedit/models/backbones/sr_backbones/dic_net.py:272
↓ 1 callersClassFeedbackHourglass
Feedback Hourglass model for face landmark. It has a style of: :: -- preprocessing ----- Hourglass ----->
mmedit/models/extractors/feedback_hour_glass.py:98
↓ 1 callersClassGaussianBlur
A Gaussian filter which blurs a given tensor with a two-dimensional gaussian kernel by convolving it along each channel. Batch operation is su
mmedit/models/losses/gan_loss.py:135
↓ 1 callersClassInceptionV3
Feature extractor features using InceptionV3 model. Args: style (str): The model style to run Inception model. it must be either
mmedit/core/evaluation/inceptions.py:10
↓ 1 callersClassIndexedUpsample
Indexed upsample module. Args: in_channels (int): Input channels. out_channels (int): Output channels. kernel_size (int,
mmedit/models/backbones/encoder_decoders/decoders/indexnet_decoder.py:13
↓ 1 callersClassLightCNN
LightCNN discriminator with input size 128 x 128. It is used to train DICGAN. Args: in_channels (int): Channel number of inputs.
mmedit/models/components/discriminators/light_cnn.py:66
↓ 1 callersClassLightCNNFeature
Feature of LightCNN. It is used to train DICGAN.
mmedit/models/losses/feature_loss.py:11
↓ 1 callersClassLinearModule
A linear block that contains linear/norm/activation layers. For low level vision, we add spectral norm and padding layer. Args: in_f
mmedit/models/common/linear_module.py:6
↓ 1 callersClassMATLABLikeResize
Resize the input image using MATLAB-like downsampling. Currently support bicubic interpolation only. Note that the output of this function is
mmedit/datasets/pipelines/matlab_like_resize.py:166
↓ 1 callersClassMaxUnpool2d
This module is modified from Pytorch `MaxUnpool2d` module. Args: kernel_size (int or tuple): Size of the max pooling window. stride (
mmedit/models/backbones/encoder_decoders/decoders/plain_decoder.py:104
↓ 1 callersClassMergeFeatures
Merge Features. Merge 1x, 2x, and 4x features. Final module of Texture Transformer Network for Image Super-Resolution. Args: mid_cha
mmedit/models/backbones/sr_backbones/ttsr_net.py:177
↓ 1 callersClassModMBStddevLayer
Modified MiniBatch Stddev Layer. This layer is modified from ``MiniBatchStddevLayer`` used in PGGAN. In StyleGAN2, the authors add a new feat
mmedit/models/components/stylegan2/modules.py:902
↓ 1 callersClassModifiedResNet
A ResNet class that is similar to torchvision's but contains the following changes: - There are now 3 "stem" convolutions as opposed to 1,
mmedit/models/components/clip/model.py:98
↓ 1 callersClassModulatedPEConv2d
r"""Modulated Conv2d in StyleGANv2. Attention: #. ``style_bias`` is provided to check the difference between official TF implementati
mmedit/models/components/stylegan2/modules.py:540
↓ 1 callersClassNonLinearRegressor
mmedit/models/backbones/sr_backbones/coopclipiqa.py:226
↓ 1 callersClassPixelNorm
Pixel Normalization. This module is proposed in: Progressive Growing of GANs for Improved Quality, Stability, and Variation Args:
mmedit/models/components/stylegan2/modules.py:44
↓ 1 callersClassPromptLearner
mmedit/models/backbones/sr_backbones/coopclipiqa.py:62
↓ 1 callersClassQuickGELU
mmedit/models/components/clip/model.py:171
↓ 1 callersClassRDB
Residual Dense Block of Residual Dense Network. Args: in_channels (int): Channel number of inputs. channel_growth (int): Channels
mmedit/models/backbones/sr_backbones/rdn.py:35
↓ 1 callersClassRRDBFeatureExtractor
Feature extractor composed of Residual-in-Residual Dense Blocks (RRDBs). It is equivalent to ESRGAN with the upsampling module removed. Args
mmedit/models/backbones/sr_backbones/glean_styleganv2.py:291
↓ 1 callersClassRepeatDataset
A wrapper of repeated dataset. The length of repeated dataset will be `times` larger than the original dataset. This is useful when the data
mmedit/datasets/dataset_wrappers.py:6
↓ 1 callersClassResBlock
mmedit/models/components/stylegan2/modules.py:869
↓ 1 callersClassResNet
ResNet architecture. Three-layers ResNet/ResBlock
mmedit/models/backbones/vfi_backbones/tof_vfi_net.py:163
↓ 1 callersClassResidualAttentionBlock
mmedit/models/components/clip/model.py:176
↓ 1 callersClassResidualBlockWithDropout
Define a Residual Block with dropout layers. Ref: Deep Residual Learning for Image Recognition A residual block is a conv block with ski
mmedit/models/common/generation_model_utils.py:233
↓ 1 callersClassRestorerGenerator
mmedit/core/export/wrappers.py:62
↓ 1 callersClassSFE
Structural Feature Encoder. Backbone of Texture Transformer Network for Image Super-Resolution. Args: in_channels (int): Number of c
mmedit/models/backbones/sr_backbones/ttsr_net.py:21
↓ 1 callersClassSPyNet
SPyNet architecture. Note that this implementation is specifically for TOFlow. It differs from the common SPyNet in the following aspects:
mmedit/models/backbones/vfi_backbones/tof_vfi_net.py:81
next →1–100 of 335, ranked by callers