Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zplusdragon/LowLevelBanana
/ functions
Functions
378 in github.com/Zplusdragon/LowLevelBanana
⨍
Functions
378
◇
Types & classes
19
Method
get
(self, filepath)
eval/deshadowing/basicsr/utils/file_client.py:49
Method
get
(self, filepath)
eval/deshadowing/basicsr/utils/file_client.py:63
Method
get
Get values according to the filepath from one lmdb named client_key. Args: filepath (str | obj:`Path`): Here, filepath is the lmd
eval/deshadowing/basicsr/utils/file_client.py:131
Function
get_env_info
Get environment information. Currently, only log the software version.
eval/dehazing/basicsr/utils/logger.py:156
Function
get_env_info
Get environment information. Currently, only log the software version.
eval/deshadowing/basicsr/utils/logger.py:156
Method
get_face_landmarks_5
(self)
eval/dehazing/basicsr/utils/face_util.py:89
Method
get_face_landmarks_5
(self)
eval/deshadowing/basicsr/utils/face_util.py:89
Method
get_face_landmarks_68
Get 68 densemarks for cropped images. Should only have one face at most in the cropped image.
eval/dehazing/basicsr/utils/face_util.py:96
Method
get_face_landmarks_68
Get 68 densemarks for cropped images. Should only have one face at most in the cropped image.
eval/deshadowing/basicsr/utils/face_util.py:96
Method
get_text
(self, filepath)
eval/dehazing/basicsr/utils/file_client.py:18
Method
get_text
(self, filepath)
eval/dehazing/basicsr/utils/file_client.py:56
Method
get_text
(self, filepath)
eval/dehazing/basicsr/utils/file_client.py:69
Method
get_text
(self, filepath)
eval/dehazing/basicsr/utils/file_client.py:146
Method
get_text
(self, filepath)
eval/dehazing/basicsr/utils/file_client.py:185
Method
get_text
(self, filepath)
eval/deshadowing/basicsr/utils/file_client.py:18
Method
get_text
(self, filepath)
eval/deshadowing/basicsr/utils/file_client.py:56
Method
get_text
(self, filepath)
eval/deshadowing/basicsr/utils/file_client.py:69
Method
get_text
(self, filepath)
eval/deshadowing/basicsr/utils/file_client.py:146
Method
get_text
(self, filepath)
eval/deshadowing/basicsr/utils/file_client.py:185
Function
grid_transpose
batch tensors transpose. :param tensors: Tensor[(ROW*COL)*D1*...], or Iterable of same size tensors. :param original_nrow: original ROW
eval/dehazing/basicsr/utils/img_util.py:241
Function
grid_transpose
batch tensors transpose. :param tensors: Tensor[(ROW*COL)*D1*...], or Iterable of same size tensors. :param original_nrow: original ROW
eval/deshadowing/basicsr/utils/img_util.py:241
Function
imfrombytes
Read an image from bytes. Args: content (bytes): Image bytes got from files or other streams. flag (str): Flags specifying the co
eval/dehazing/basicsr/utils/img_util.py:103
Function
imfrombytes
Read an image from bytes. Args: content (bytes): Image bytes got from files or other streams. flag (str): Flags specifying the co
eval/deshadowing/basicsr/utils/img_util.py:103
Function
imfrombytesDP
Read an image from bytes. Args: content (bytes): Image bytes got from files or other streams. flag (str): Flags specifying the co
eval/dehazing/basicsr/utils/img_util.py:129
Function
imfrombytesDP
Read an image from bytes. Args: content (bytes): Image bytes got from files or other streams. flag (str): Flags specifying the co
eval/deshadowing/basicsr/utils/img_util.py:129
Function
img2tensor
Numpy array to tensor. Args: imgs (list[ndarray] | ndarray): Input images. bgr2rgb (bool): Whether to change bgr to rgb.
eval/dehazing/basicsr/utils/img_util.py:11
Function
img2tensor
Numpy array to tensor. Args: imgs (list[ndarray] | ndarray): Input images. bgr2rgb (bool): Whether to change bgr to rgb.
eval/deshadowing/basicsr/utils/img_util.py:11
Function
img_padding
(img, size)
eval/dehazing/basicsr/utils/img_util.py:151
Function
img_padding
(img, size)
eval/deshadowing/basicsr/utils/img_util.py:151
Function
imresize
imresize function same as MATLAB. It now only supports bicubic. The same scale applies for both height and width. Args: img (Ten
eval/dehazing/basicsr/utils/matlab_functions.py:88
Function
imresize
imresize function same as MATLAB. It now only supports bicubic. The same scale applies for both height and width. Args: img (Ten
eval/deshadowing/basicsr/utils/matlab_functions.py:88
Method
init_dlib
Initialize the dlib detectors and predictors.
eval/dehazing/basicsr/utils/face_util.py:41
Method
init_dlib
Initialize the dlib detectors and predictors.
eval/deshadowing/basicsr/utils/face_util.py:41
Function
init_tb_logger
(log_dir)
eval/dehazing/basicsr/utils/logger.py:87
Function
init_tb_logger
(log_dir)
eval/deshadowing/basicsr/utils/logger.py:87
Function
init_wandb_logger
We now only use wandb to sync tensorboard log.
eval/dehazing/basicsr/utils/logger.py:94
Function
init_wandb_logger
We now only use wandb to sync tensorboard log.
eval/deshadowing/basicsr/utils/logger.py:94
Function
load_image_as_numpy
Load image and return as a NumPy array.
eval/defocus_deblurring/metrics_batch.py:22
Function
load_image_as_numpy
Load image and return as a NumPy array.
eval/motion_deblurring/metrics_batch.py:22
Function
load_image_as_tensor
Load image and convert to PyTorch tensor with shape (1, C, H, W).
eval/defocus_deblurring/metrics_batch.py:14
Function
load_image_as_tensor
Load image and convert to PyTorch tensor with shape (1, C, H, W).
eval/motion_deblurring/metrics_batch.py:14
Function
load_patched_inception_v3
(device='cuda', resize_input=True, normalize_input
eval/dehazing/basicsr/metrics/fid.py:10
Function
load_patched_inception_v3
(device='cuda', resize_input=True, normalize_input
eval/deshadowing/basicsr/metrics/fid.py:10
Function
make_exp_dirs
Make dirs for experiments.
eval/dehazing/basicsr/utils/misc.py:39
Function
make_exp_dirs
Make dirs for experiments.
eval/deshadowing/basicsr/utils/misc.py:39
Function
master_only
(func)
eval/dehazing/basicsr/utils/dist_util.py:75
Function
master_only
(func)
eval/deshadowing/basicsr/utils/dist_util.py:75
Function
padding
(img_lq, img_gt, gt_size)
eval/dehazing/basicsr/utils/img_util.py:166
Function
padding
(img_lq, img_gt, gt_size)
eval/deshadowing/basicsr/utils/img_util.py:166
Function
padding_DP
(img_lqL, img_lqR, img_gt, gt_size)
eval/dehazing/basicsr/utils/img_util.py:184
Function
padding_DP
(img_lqL, img_lqR, img_gt, gt_size)
eval/deshadowing/basicsr/utils/img_util.py:184
Function
parse_options
(root_path, is_train=True)
eval/dehazing/basicsr/utils/options.py:164
Function
parse_options
(root_path, is_train=True)
eval/deshadowing/basicsr/utils/options.py:164
Method
paste_faces_to_input_image
(self, save_path)
eval/dehazing/basicsr/utils/face_util.py:173
Method
paste_faces_to_input_image
(self, save_path)
eval/deshadowing/basicsr/utils/face_util.py:173
Function
prepare_for_ssim
(img, k)
eval/dehazing/basicsr/metrics/psnr_ssim.py:130
Function
prepare_for_ssim
(img, k)
eval/deshadowing/basicsr/metrics/psnr_ssim.py:130
Function
prepare_for_ssim_rgb
(img, k)
eval/dehazing/basicsr/metrics/psnr_ssim.py:144
Function
prepare_for_ssim_rgb
(img, k)
eval/deshadowing/basicsr/metrics/psnr_ssim.py:144
Method
register
Register the given object under the the name `obj.__name__`. Can be used as either a decorator or not. See docstring of this
eval/dehazing/basicsr/utils/registry.py:46
Method
register
Register the given object under the the name `obj.__name__`. Can be used as either a decorator or not. See docstring of this
eval/deshadowing/basicsr/utils/registry.py:46
Function
rgb2ycbcr
Convert a RGB image to YCbCr image. This function produces the same results as Matlab's `rgb2ycbcr` function. It implements the ITU-R BT.601
eval/dehazing/basicsr/utils/matlab_functions.py:173
Function
rgb2ycbcr
Convert a RGB image to YCbCr image. This function produces the same results as Matlab's `rgb2ycbcr` function. It implements the ITU-R BT.601
eval/deshadowing/basicsr/utils/matlab_functions.py:173
Function
save_opt_file
(name, opt, experiments_root)
eval/dehazing/basicsr/utils/options.py:340
Function
save_opt_file
(name, opt, experiments_root)
eval/deshadowing/basicsr/utils/options.py:340
Function
scandir_SIDD
Scan a directory to find the interested files. Args: dir_path (str): Path of the directory. keywords (str | tuple(str), optional)
eval/dehazing/basicsr/utils/misc.py:95
Function
scandir_SIDD
Scan a directory to find the interested files. Args: dir_path (str): Path of the directory. keywords (str | tuple(str), optional)
eval/deshadowing/basicsr/utils/misc.py:95
Function
tensor2img
Convert torch Tensors into image numpy arrays. After clamping to [min, max], values will be normalized to [0, 1]. Args: tensor (Tens
eval/dehazing/basicsr/utils/img_util.py:38
Function
tensor2img
Convert torch Tensors into image numpy arrays. After clamping to [min, max], values will be normalized to [0, 1]. Args: tensor (Tens
eval/deshadowing/basicsr/utils/img_util.py:38
Method
value
(self)
eval/hdr_imaging/hdr_evl.py:54
Method
warp_crop_faces
Get affine matrix, warp and cropped faces. Also get inverse affine matrix for post-processing.
eval/dehazing/basicsr/utils/face_util.py:132
Method
warp_crop_faces
Get affine matrix, warp and cropped faces. Also get inverse affine matrix for post-processing.
eval/deshadowing/basicsr/utils/face_util.py:132
Function
wrapper
(*args, **kwargs)
eval/dehazing/basicsr/utils/dist_util.py:78
Function
wrapper
(*args, **kwargs)
eval/deshadowing/basicsr/utils/dist_util.py:78
Function
ycbcr2bgr
Convert a YCbCr image to BGR image. The bgr version of ycbcr2rgb. It implements the ITU-R BT.601 conversion for standard-definition telev
eval/dehazing/basicsr/utils/matlab_functions.py:273
Function
ycbcr2bgr
Convert a YCbCr image to BGR image. The bgr version of ycbcr2rgb. It implements the ITU-R BT.601 conversion for standard-definition telev
eval/deshadowing/basicsr/utils/matlab_functions.py:273
Function
ycbcr2rgb
Convert a YCbCr image to RGB image. This function produces the same results as Matlab's ycbcr2rgb function. It implements the ITU-R BT.601 co
eval/dehazing/basicsr/utils/matlab_functions.py:241
Function
ycbcr2rgb
Convert a YCbCr image to RGB image. This function produces the same results as Matlab's ycbcr2rgb function. It implements the ITU-R BT.601 co
eval/deshadowing/basicsr/utils/matlab_functions.py:241
← previous
301–378 of 378, ranked by callers