MCPcopy Create free account

hub / github.com/IceClear/CLIP-IQA / functions

Functions1,214 in github.com/IceClear/CLIP-IQA

Method__repr__
(self)
mmedit/datasets/pipelines/generate_assistant.py:75
Method__repr__
(self)
mmedit/datasets/pipelines/generate_assistant.py:165
Method__repr__
(self)
mmedit/datasets/pipelines/random_degradations.py:133
Method__repr__
(self)
mmedit/datasets/pipelines/random_degradations.py:238
Method__repr__
(self)
mmedit/datasets/pipelines/random_degradations.py:343
Method__repr__
(self)
mmedit/datasets/pipelines/random_degradations.py:401
Method__repr__
(self)
mmedit/datasets/pipelines/random_degradations.py:469
Method__repr__
(self)
mmedit/datasets/pipelines/random_degradations.py:551
Method__repr__
(self)
mmedit/datasets/pipelines/normalization.py:60
Method__repr__
(self)
mmedit/datasets/pipelines/normalization.py:102
Method__repr__
(self)
mmedit/datasets/pipelines/matting_aug.py:46
Method__repr__
(self)
mmedit/datasets/pipelines/matting_aug.py:139
Method__repr__
(self)
mmedit/datasets/pipelines/matting_aug.py:192
Method__repr__
(self)
mmedit/datasets/pipelines/matting_aug.py:305
Method__repr__
(self)
mmedit/datasets/pipelines/matting_aug.py:409
Method__repr__
(self)
mmedit/datasets/pipelines/matting_aug.py:458
Method__repr__
(self)
mmedit/datasets/pipelines/matting_aug.py:569
Method__repr__
(self)
mmedit/datasets/pipelines/matting_aug.py:629
Method__repr__
(self)
mmedit/datasets/pipelines/matlab_like_resize.py:266
Method__repr__
(self)
mmedit/datasets/pipelines/formating.py:59
Method__repr__
(self)
mmedit/datasets/pipelines/formating.py:96
Method__repr__
(self)
mmedit/datasets/pipelines/formating.py:174
Method__repr__
(self)
mmedit/datasets/pipelines/formating.py:218
Method__repr__
(self)
mmedit/datasets/pipelines/formating.py:261
Function_convert_image_to_rgb
(image)
mmedit/apis/restoration_inference.py:106
Function_convert_image_to_rgb
(image)
mmedit/models/components/clip/clip.py:72
Function_convert_weights_to_fp16
(l)
mmedit/models/components/clip/model.py:392
Function_cubic
Cubic function. Args: x (ndarray): The distance from the center position. Returns: ndarray: The weight corresponding to a pa
mmedit/datasets/pipelines/matlab_like_resize.py:47
Method_inner_forward
(x)
mmedit/models/backbones/encoder_decoders/encoders/resnet.py:65
Method_nostride_dilate
(self, m, dilate)
mmedit/models/backbones/encoder_decoders/encoders/resnet.py:390
Method_wgan_loss
wgan loss. Args: input (Tensor): Input tensor. target (bool): Target label. Returns: Tensor: wga
mmedit/models/losses/gan_loss.py:49
Functionaccuracy_numpy
(pred, target, topk=(1, ), thrs=0.)
mmedit/core/evaluation/metrics.py:596
Methodafter_train_epoch
(self, runner)
mmedit/core/scheduler/lr_updater.py:212
Methodafter_train_iter
(self, runner)
mmedit/core/scheduler/lr_updater.py:236
Methodafter_train_iter
The behavior after each train iteration. Args: runner (``mmcv.runner.BaseRunner``): The runner.
mmedit/core/evaluation/eval_hooks.py:32
Methodafter_train_iter
The behavior after each train iteration. Args: runner (``mmcv.runner.BaseRunner``): The runner.
mmedit/core/evaluation/eval_hooks.py:97
Methodafter_train_iter
(self, runner)
mmedit/core/hooks/ema.py:78
Methodafter_train_iter
The behavior after each train iteration. Args: runner (object): The runner.
mmedit/core/hooks/visualization.py:63
Methodafter_val_epoch
(self, runner)
mmedit/core/scheduler/lr_updater.py:259
Methodafter_val_iter
(self, runner)
mmedit/core/scheduler/lr_updater.py:283
Methodbefore_run
(self, runner)
mmedit/core/hooks/ema.py:101
Methodbuild_conv1
Build conv1 of the block. Args: in_channels (int): The input channels of the ConvModule. out_channels (int): The outp
mmedit/models/backbones/encoder_decoders/decoders/resnet_dec.py:18
Methodbuild_conv2
Build conv2 of the block. Args: in_channels (int): The input channels of the ConvModule. out_channels (int): The outp
mmedit/models/backbones/encoder_decoders/decoders/resnet_dec.py:56
Methodcheck_if_mirror_extended
Check whether the input is a mirror-extended sequence. If mirror-extended, the i-th (i=0, ..., t-1) frame is equal to the (t-1-i)-
mmedit/models/restorers/clipiqa.py:51
Methodcheck_if_mirror_extended
Check whether the input is a mirror-extended sequence. If mirror-extended, the i-th (i=0, ..., t-1) frame is equal to the (t-1-i)-
mmedit/models/restorers/clipiqa.py:232
Functionconnectivity
Connectivity error for evaluating alpha matte prediction. Args: alpha (ndarray): Ground-truth alpha matte with shape (height, width).
mmedit/core/evaluation/metrics.py:85
Functiondecorator
(function)
mmedit/utils/misc.py:25
Functiondeprecated_function
Marks functions as deprecated. Throw a warning when a deprecated function is called, and add a note in the docstring. Modified from https://g
mmedit/utils/misc.py:11
Methoddtype
(self)
mmedit/models/components/clip/model.py:351
Methodevaluate
(self, outputs, logger=None, **kwargs)
mmedit/datasets/img_inpainting_dataset.py:38
Methodevaluate
Evaluate with different metrics. Args: results (list[tuple]): The output of forward_test() of the model. Return:
mmedit/datasets/sr_vid4_dataset.py:100
Methodevaluate
Evaluating with saving generated images. (needs no metrics) Args: results (list[tuple]): The output of forward_test() of the mode
mmedit/datasets/base_generation_dataset.py:38
Methodevaluate
Evaluate with different metrics. Args: results (list[tuple]): The output of forward_test() of the model. Return:
mmedit/datasets/base_vfi_dataset.py:30
Methodevaluate
Evaluating with different metrics. Args: results (list[tuple]): The output of forward_test() of the model. Return:
mmedit/datasets/base_matting_dataset.py:18
Methodevaluate
Evaluate with different metrics. Args: results (list[tuple]): The output of forward_test() of the model. Return:
mmedit/datasets/sr_folder_video_dataset.py:149
Methodevaluate
Evaluate with different metrics. Args: results (list[tuple]): The output of forward_test() of the model. Return:
mmedit/datasets/base_sr_dataset.py:57
Functionfba_fusion
Postprocess the predicted. This class is adopted from https://github.com/MarcoForte/FBA_Matting. Args: alpha (Tensor): Tensor wi
mmedit/models/mattors/utils.py:29
Methodforward
Forward function. Args: inputs (tuple): Input data. kwargs (dict): Args for ``mmcv.parallel.scatter_g
mmedit/core/distributed_wrapper.py:104
Methodforward
Forward function to calculate accuracy. Args: pred (torch.Tensor): Prediction of models. target (torch.Tensor): Target
mmedit/core/evaluation/metrics.py:717
Methodforward
Get Inception feature maps. Args: inp (torch.Tensor): Input tensor of shape Bx3xHxW. Values are expected to be in
mmedit/core/evaluation/inception_utils.py:134
Methodforward
Get InceptionA feature maps. Args: x (torch.Tensor): Input tensor of shape BxCxHxW. Returns: torch.Tensor: Fe
mmedit/core/evaluation/inception_utils.py:198
Methodforward
Get InceptionC feature maps. Args: x (torch.Tensor): Input tensor of shape BxCxHxW. Returns: torch.Tensor: Fe
mmedit/core/evaluation/inception_utils.py:231
Methodforward
Get first InceptionE feature maps. Args: x (torch.Tensor): Input tensor of shape BxCxHxW. Returns: torch.Tens
mmedit/core/evaluation/inception_utils.py:267
Methodforward
Get second InceptionE feature maps. Args: x (torch.Tensor): Input tensor of shape BxCxHxW. Returns: torch.Ten
mmedit/core/evaluation/inception_utils.py:308
Methodforward
(self, inp)
mmedit/core/evaluation/inception_utils.py:371
Methodforward
(self, merged, trimap, meta, test_mode=False,
mmedit/core/export/wrappers.py:40
Methodforward
(self, x)
mmedit/core/export/wrappers.py:70
Methodforward
(self, lq, gt=None, test_mode=False, **kwargs)
mmedit/core/export/wrappers.py:89
Methodforward
(self, **kwargs)
mmedit/core/export/wrappers.py:133
Methodforward
Forward function for base model. Args: imgs (Tensor): Input image(s). labels (Tensor): Ground-truth label(s).
mmedit/models/base.py:45
Methodforward
(self, x: torch.Tensor)
mmedit/models/components/clip/model.py:40
Methodforward
(self, x, return_token=False, pos_embedding=False)
mmedit/models/components/clip/model.py:66
Methodforward
(self, x, return_token=False, pos_embedding=False)
mmedit/models/components/clip/model.py:140
Methodforward
(self, x: torch.Tensor)
mmedit/models/components/clip/model.py:165
Methodforward
(self, x: torch.Tensor)
mmedit/models/components/clip/model.py:172
Methodforward
(self, x: torch.Tensor)
mmedit/models/components/clip/model.py:194
Methodforward
(self, x: torch.Tensor)
mmedit/models/components/clip/model.py:207
Methodforward
(self, x: torch.Tensor, return_token=False, pos_embedding=False)
mmedit/models/components/clip/model.py:228
Methodforward
Forward function. Args: x (Tensor): Input tensor. Returns: Tensor: Forward results.
mmedit/models/components/discriminators/light_cnn.py:50
Methodforward
Forward function. Args: x (Tensor): Input tensor. Returns: Tensor: Forward results.
mmedit/models/components/discriminators/light_cnn.py:97
Methodforward
Forward function. Args: x (tuple[torch.Tensor]): Contains global image and the local image patch. Return
mmedit/models/components/discriminators/gl_disc.py:31
Methodforward
Forward function. Args: x (Tensor): Input tensor with shape (n, c, h, w). Returns: Tensor: Forward results.
mmedit/models/components/discriminators/modified_vgg.py:63
Methodforward
Forward function. Args: img (Tensor): Input tensor with shape (n, c, h, w). Returns: Tensor: Forward results
mmedit/models/components/discriminators/unet_disc.py:58
Methodforward
Forward Function. Args: x (torch.Tensor): Input tensor with shape of (n, c, h, w). Returns: torch.Tensor: Ou
mmedit/models/components/discriminators/multi_layer_disc.py:130
Methodforward
Forward function. Args: x (tuple[torch.Tensor]): Contains global image and the local image patch. Return
mmedit/models/components/discriminators/deepfill_disc.py:33
Methodforward
Forward function. Args: x (Tensor): Input tensor with shape (n, c, h, w). Returns: Tensor: Forward results.
mmedit/models/components/discriminators/ttsr_disc.py:37
Methodforward
Forward function. Args: x (Tensor): Input tensor with shape (n, c, h, w). Returns: Tensor: Forward results.
mmedit/models/components/discriminators/smpatch_disc.py:107
Methodforward
Forward function. Args: x (Tensor): Input tensor with shape (n, c, h, w). Returns: Tensor: Forward results.
mmedit/models/components/discriminators/patch_disc.py:108
Methodforward
Forward Function. Args: x (torch.Tensor): Input tensor with shape of (n, c, h, w). mask (torch.Tensor): Input tensor
mmedit/models/components/refiners/deepfill_refiner.py:49
Methodforward
Forward function. Args: x (Tensor): The input feature map of refiner. raw_alpha (Tensor): The raw predicted alpha mat
mmedit/models/components/refiners/plain_refiner.py:41
Methodforward
Forward function. Args: x (Tensor): The input of MLP. Returns: Tensor: The output of MLP.
mmedit/models/components/refiners/mlp_refiner.py:30
Methodforward
(self, x)
mmedit/models/components/stylegan2/modules.py:60
Methodforward
(self, x)
mmedit/models/components/stylegan2/modules.py:297
Methodforward
(self, x)
mmedit/models/components/stylegan2/modules.py:340
Methodforward
(self, input)
mmedit/models/components/stylegan2/modules.py:362
Methodforward
(self, x)
mmedit/models/components/stylegan2/modules.py:381
Methodforward
(self, x, style)
mmedit/models/components/stylegan2/modules.py:462
Methodforward
(self, image, noise=None, return_noise=False)
mmedit/models/components/stylegan2/modules.py:507
Methodforward
(self, x)
mmedit/models/components/stylegan2/modules.py:533
Methodforward
(self, x, style)
mmedit/models/components/stylegan2/modules.py:630
← previousnext →801–900 of 1,214, ranked by callers