MCPcopy Create free account

hub / github.com/Lornatang/SRGAN-PyTorch / functions

Functions128 in github.com/Lornatang/SRGAN-PyTorch

Functioncenter_crop_torch
Intercept two images to specify the center area Args: gt_images (ndarray | Tensor | list[ndarray] | list[Tensor]): ground truth images re
imgproc.py:579
Functiondiscriminator_for_vgg
(**kwargs)
model.py:351
Functionexpand_y
Convert BGR channel to YCbCr format, and expand Y channel data in YCbCr, from HW to HWC Args: image (np.ndarray): Y channel image dat
imgproc.py:292
Methodforward
(self, raw_tensor: Tensor, dst_tensor: Tensor)
image_quality_assessment.py:706
Methodforward
(self, raw_tensor: Tensor, dst_tensor: Tensor)
image_quality_assessment.py:738
Methodforward
(self, raw_tensor: Tensor, dst_tensor: Tensor)
image_quality_assessment.py:797
Methodforward
(self, x: Tensor)
model.py:93
Methodforward
(self, x: Tensor)
model.py:155
Methodforward
(self, x: Tensor)
model.py:217
Methodforward
(self, x: Tensor)
model.py:239
Methodforward
(self, x: Tensor)
model.py:258
Methodforward
(self, sr_tensor: Tensor, gt_tensor: Tensor)
model.py:310
Methodnext
(self)
dataset.py:243
Functionparse
(x)
image_quality_assessment.py:43
Functionrandom_crop
Crop small image patches from one image. Args: image (np.ndarray): The input image for `OpenCV.imread`. image_size (int): The siz
imgproc.py:489
Functionrandom_horizontally_flip
Flip the image upside down randomly Args: image (np.ndarray): Image read with OpenCV p (optional, float): Horizontally flip proba
imgproc.py:541
Functionrandom_rotate
Rotate an image by a random angle Args: image (np.ndarray): Image read with OpenCV angles (list): Rotation angle range ce
imgproc.py:512
Functionrandom_vertically_flip
Flip an image horizontally randomly Args: image (np.ndarray): Image read with OpenCV p (optional, float): Vertically flip probabi
imgproc.py:560
Methodreset
(self)
dataset.py:207
Methodreset
(self)
dataset.py:249
Functionrgb_to_ycbcr
Implementation of rgb2ycbcr function in Matlab under Python language Args: image (np.ndarray): Image input in RGB format. only_us
imgproc.py:318
Methodrun
(self)
dataset.py:159
Functionsrresnet_x2
(**kwargs: Any)
model.py:333
Functionsrresnet_x4
(**kwargs: Any)
model.py:339
Functionsrresnet_x8
(**kwargs: Any)
model.py:345
Functionworker
Split the image into multiple small images. Args: image_file_path (str): Image file path. args (dict): Custom parameter dictionar
scripts/split_images.py:78
Functionycbcr_to_bgr
Implementation of ycbcr2bgr function in Matlab under Python language. Args: image (np.ndarray): Image input in YCbCr format. Returns
imgproc.py:387
Functionycbcr_to_rgb
Implementation of ycbcr2rgb function in Matlab under Python language. Args: image (np.ndarray): Image input in YCbCr format. Returns
imgproc.py:364
← previous101–128 of 128, ranked by callers