Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceClear/CLIP-IQA
/ types & classes
Types & classes
335 in github.com/IceClear/CLIP-IQA
⨍
Functions
1,214
◇
Types & classes
335
↳
Endpoints
1
↓ 18 callers
Class
PixelShufflePack
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 callers
Class
Compose
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 callers
Class
MaskConvModule
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 callers
Class
MaxFeature
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 callers
Class
ResidualBlocksWithInputConv
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 callers
Class
ResBlock
ResBlock for Hourglass. It has a style of: :: ---Conv-ReLU-Conv-Conv-+- |_________Conv________| or ---Co
mmedit/models/extractors/feedback_hour_glass.py:8
↓ 6 callers
Class
UnetSkipConnectionBlock
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 callers
Class
Blur
mmedit/models/components/stylegan2/modules.py:369
↓ 5 callers
Class
ConvDownLayer
mmedit/models/components/stylegan2/modules.py:819
↓ 5 callers
Class
EqualLinearActModule
Equalized LR Linear Module with Activation Layer. Args: nn ([type]): [description]
mmedit/models/components/stylegan2/modules.py:253
↓ 5 callers
Class
LayerNorm
Subclass torch's LayerNorm to handle fp16.
mmedit/models/components/clip/model.py:162
↓ 4 callers
Class
FIDInceptionC
InceptionC block patched for FID computation.
mmedit/core/evaluation/inception_utils.py:225
↓ 4 callers
Class
SEGating
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 callers
Class
ConvNormWithReflectionPad
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 callers
Class
FIDInceptionA
InceptionA block patched for FID computation.
mmedit/core/evaluation/inception_utils.py:192
↓ 3 callers
Class
ModulatedStyleConv
mmedit/models/components/stylegan2/modules.py:690
↓ 3 callers
Class
ResidualDenseBlock
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 callers
Class
UpConv3d
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 callers
Class
ASPP
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 callers
Class
Bottleneck
mmedit/models/components/clip/model.py:10
↓ 2 callers
Class
Conv3d
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 callers
Class
DepthwiseSeparableConvModule
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 callers
Class
DistributedDataParallelWrapper
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 callers
Class
GANImageBuffer
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 callers
Class
GCAModule
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 callers
Class
Hourglass
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 callers
Class
ImgNormalize
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 callers
Class
InvertedResidual
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 callers
Class
ModulatedConv2d
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 callers
Class
ModulatedDCNPack
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 callers
Class
ModulatedToRGB
mmedit/models/components/stylegan2/modules.py:782
↓ 2 callers
Class
MultiLayerDiscriminator
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 callers
Class
NoiseInjection
mmedit/models/components/stylegan2/modules.py:501
↓ 2 callers
Class
Normalize
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 callers
Class
PCDAlignment
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 callers
Class
PerceptualVGG
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 callers
Class
PyTorchInceptionV3
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 callers
Class
Resize
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 callers
Class
SPyNet
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 callers
Class
SPyNet
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 callers
Class
TSAFusion
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 callers
Class
ToTensor
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 callers
Class
Transformer
mmedit/models/components/clip/model.py:200
↓ 1 callers
Class
AOTBlock
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 callers
Class
ASPPPooling
mmedit/models/common/aspp.py:10
↓ 1 callers
Class
AttentionPool2d
mmedit/models/components/clip/model.py:56
↓ 1 callers
Class
AugmentedDeformConv2dPack
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 callers
Class
BasicModule
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 callers
Class
BasicModule
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 callers
Class
BasicVSRNet
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 callers
Class
CLIP
mmedit/models/components/clip/model.py:257
↓ 1 callers
Class
CSFI2
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 callers
Class
CSFI3
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 callers
Class
ChannelAttentionLayer
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 callers
Class
ColorJitter
mmedit/apis/restoration_inference.py:144
↓ 1 callers
Class
ConstantInput
mmedit/models/components/stylegan2/modules.py:518
↓ 1 callers
Class
ContextualAttentionModule
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 callers
Class
CustomCLIP
mmedit/models/backbones/sr_backbones/coopclipiqa.py:190
↓ 1 callers
Class
Decoder
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 callers
Class
DenseLayer
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 callers
Class
DistEvalIterHook
Distributed evaluation hook. Args: dataloader (DataLoader): A PyTorch dataloader. interval (int): Evaluation interval. Default: 1
mmedit/core/evaluation/eval_hooks.py:74
↓ 1 callers
Class
DistributedSampler
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 callers
Class
EDVRFeatureExtractor
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 callers
Class
Encoder
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 callers
Class
EqualizedLR
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 callers
Class
EqualizedLRConvModule
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 callers
Class
EqualizedLRLinearModule
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 callers
Class
EvalIterHook
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 callers
Class
FIDInceptionE_1
First InceptionE block patched for FID computation.
mmedit/core/evaluation/inception_utils.py:261
↓ 1 callers
Class
FIDInceptionE_2
Second InceptionE block patched for FID computation.
mmedit/core/evaluation/inception_utils.py:302
↓ 1 callers
Class
FeatureHeatmapFusingBlock
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 callers
Class
FeedbackBlockCustom
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 callers
Class
FeedbackBlockHeatmapAttention
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 callers
Class
FeedbackHourglass
Feedback Hourglass model for face landmark. It has a style of: :: -- preprocessing ----- Hourglass ----->
mmedit/models/extractors/feedback_hour_glass.py:98
↓ 1 callers
Class
GaussianBlur
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 callers
Class
InceptionV3
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 callers
Class
IndexedUpsample
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 callers
Class
LightCNN
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 callers
Class
LightCNNFeature
Feature of LightCNN. It is used to train DICGAN.
mmedit/models/losses/feature_loss.py:11
↓ 1 callers
Class
LinearModule
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 callers
Class
MATLABLikeResize
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 callers
Class
MaxUnpool2d
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 callers
Class
MergeFeatures
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 callers
Class
ModMBStddevLayer
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 callers
Class
ModifiedResNet
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 callers
Class
ModulatedPEConv2d
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 callers
Class
NonLinearRegressor
mmedit/models/backbones/sr_backbones/coopclipiqa.py:226
↓ 1 callers
Class
PixelNorm
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 callers
Class
PromptLearner
mmedit/models/backbones/sr_backbones/coopclipiqa.py:62
↓ 1 callers
Class
QuickGELU
mmedit/models/components/clip/model.py:171
↓ 1 callers
Class
RDB
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 callers
Class
RRDBFeatureExtractor
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 callers
Class
RepeatDataset
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 callers
Class
ResBlock
mmedit/models/components/stylegan2/modules.py:869
↓ 1 callers
Class
ResNet
ResNet architecture. Three-layers ResNet/ResBlock
mmedit/models/backbones/vfi_backbones/tof_vfi_net.py:163
↓ 1 callers
Class
ResidualAttentionBlock
mmedit/models/components/clip/model.py:176
↓ 1 callers
Class
ResidualBlockWithDropout
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 callers
Class
RestorerGenerator
mmedit/core/export/wrappers.py:62
↓ 1 callers
Class
SFE
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 callers
Class
SPyNet
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