MCPcopy Create free account

hub / github.com/Zplusdragon/LowLevelBanana / functions

Functions378 in github.com/Zplusdragon/LowLevelBanana

↓ 1 callersFunctionset_random_seed
Set random seeds.
eval/dehazing/basicsr/utils/misc.py:12
↓ 1 callersFunctionset_random_seed
Set random seeds.
eval/deshadowing/basicsr/utils/misc.py:12
↓ 1 callersFunctionto_tensor_rgb
(img_bgr: np.ndarray, device: torch.device)
eval/dehazing/dehazing.py:26
↓ 1 callersFunctionyaml_load
Load yaml file or string. Args: f (str): File path or a python string. Returns: dict: Loaded dict.
eval/dehazing/basicsr/utils/options.py:124
↓ 1 callersFunctionyaml_load
Load yaml file or string. Args: f (str): File path or a python string. Returns: dict: Loaded dict.
eval/deshadowing/basicsr/utils/options.py:124
Method__call__
Format logging message. Args: log_vars (dict): It contains the following keys: epoch (int): Epoch number.
eval/dehazing/basicsr/utils/logger.py:34
Method__call__
Format logging message. Args: log_vars (dict): It contains the following keys: epoch (int): Epoch number.
eval/deshadowing/basicsr/utils/logger.py:34
Method__contains__
(self, name)
eval/dehazing/basicsr/utils/registry.py:74
Method__contains__
(self, name)
eval/deshadowing/basicsr/utils/registry.py:74
Method__init__
(self, opt, start_iter=1, tb_logger=None)
eval/dehazing/basicsr/utils/logger.py:23
Method__init__
(self, server_list_cfg, client_cfg, sys_path=None)
eval/dehazing/basicsr/utils/file_client.py:32
Method__init__
(self, db_paths, client_keys='default', readonly=True,
eval/dehazing/basicsr/utils/file_client.py:96
Method__init__
(self, backend='disk', **kwargs)
eval/dehazing/basicsr/utils/file_client.py:169
Method__init__
Args: name (str): the name of this registry
eval/dehazing/basicsr/utils/registry.py:30
Method__init__
(self, lmdb_path, map_size=1024**4, batch=5000,
eval/dehazing/basicsr/utils/lmdb_util.py:175
Method__init__
(self, upscale_factor, face_size=512)
eval/dehazing/basicsr/utils/face_util.py:19
Method__init__
(self, opt, start_iter=1, tb_logger=None)
eval/deshadowing/basicsr/utils/logger.py:23
Method__init__
(self, server_list_cfg, client_cfg, sys_path=None)
eval/deshadowing/basicsr/utils/file_client.py:32
Method__init__
(self, db_paths, client_keys='default', readonly=True,
eval/deshadowing/basicsr/utils/file_client.py:96
Method__init__
(self, backend='disk', **kwargs)
eval/deshadowing/basicsr/utils/file_client.py:169
Method__init__
Args: name (str): the name of this registry
eval/deshadowing/basicsr/utils/registry.py:30
Method__init__
(self, lmdb_path, map_size=1024**4, batch=5000,
eval/deshadowing/basicsr/utils/lmdb_util.py:175
Method__init__
(self, upscale_factor, face_size=512)
eval/deshadowing/basicsr/utils/face_util.py:19
Method__init__
(self)
eval/hdr_imaging/hdr_evl.py:28
Method__iter__
(self)
eval/dehazing/basicsr/utils/registry.py:77
Method__iter__
(self)
eval/deshadowing/basicsr/utils/registry.py:77
Function_ssim
Calculate SSIM (structural similarity) for one channel images. It is called by func:`calculate_ssim`. Args: img1 (ndarray): Images w
eval/dehazing/basicsr/metrics/psnr_ssim.py:95
Function_ssim
Calculate SSIM (structural similarity) for one channel images. It is called by func:`calculate_ssim`. Args: img1 (ndarray): Images w
eval/deshadowing/basicsr/metrics/psnr_ssim.py:95
Methodadd_restored_face
(self, face)
eval/dehazing/basicsr/utils/face_util.py:170
Methodadd_restored_face
(self, face)
eval/deshadowing/basicsr/utils/face_util.py:170
Methodaverage
(self)
eval/hdr_imaging/hdr_evl.py:57
Functionbundle_submissions_raw
Bundles submission data for raw denoising submission_folder Folder where denoised images reside Output is written to <submission_folder
eval/dehazing/basicsr/utils/bundle_submissions.py:13
Functionbundle_submissions_raw
Bundles submission data for raw denoising submission_folder Folder where denoised images reside Output is written to <submission_folder
eval/deshadowing/basicsr/utils/bundle_submissions.py:13
Functionbundle_submissions_srgb
Bundles submission data for sRGB denoising submission_folder Folder where denoised images reside Output is written to <submission_f
eval/dehazing/basicsr/utils/bundle_submissions.py:46
Functionbundle_submissions_srgb
Bundles submission data for sRGB denoising submission_folder Folder where denoised images reside Output is written to <submission_f
eval/deshadowing/basicsr/utils/bundle_submissions.py:46
Functionbundle_submissions_srgb_v1
Bundles submission data for sRGB denoising submission_folder Folder where denoised images reside Output is written to <submission_f
eval/dehazing/basicsr/utils/bundle_submissions.py:79
Functionbundle_submissions_srgb_v1
Bundles submission data for sRGB denoising submission_folder Folder where denoised images reside Output is written to <submission_f
eval/deshadowing/basicsr/utils/bundle_submissions.py:79
Functioncalculate_CIEDE
( img, # lq img2, # gt **args )
eval/dehazing/basicsr/metrics/CIEDE.py:14
Functioncalculate_CIEDE
( img, # lq img2, # gt **args )
eval/deshadowing/basicsr/metrics/CIEDE.py:14
Functioncalculate_brisque
( img, # lq img2=None, # gt )
eval/dehazing/basicsr/metrics/nr_iqa.py:7
Functioncalculate_brisque
( img, # lq img2=None, # gt )
eval/deshadowing/basicsr/metrics/nr_iqa.py:7
Functioncalculate_fid
Numpy implementation of the Frechet Distance. The Frechet distance between two multivariate Gaussians X_1 ~ N(mu_1, C_1) and X_2 ~ N(mu_2, C_
eval/dehazing/basicsr/metrics/fid.py:57
Functioncalculate_fid
Numpy implementation of the Frechet Distance. The Frechet distance between two multivariate Gaussians X_1 ~ N(mu_1, C_1) and X_2 ~ N(mu_2, C_
eval/deshadowing/basicsr/metrics/fid.py:57
Functioncalculate_l1_loss
( img, # lq img2, # gt max_val=1.0, **args )
eval/dehazing/basicsr/metrics/base.py:9
Functioncalculate_l1_loss
( img, # lq img2, # gt max_val=1.0, **args )
eval/deshadowing/basicsr/metrics/base.py:9
Functioncalculate_metric
Calculate metric from data and options. Args: opt (dict): Configuration. It must contain: type (str): Model type.
eval/dehazing/basicsr/metrics/__init__.py:20
Functioncalculate_metric
Calculate metric from data and options. Args: opt (dict): Configuration. It must contain: type (str): Model type.
eval/deshadowing/basicsr/metrics/__init__.py:20
Functioncalculate_nima
( img, # lq img2=None, # gt )
eval/deshadowing/basicsr/metrics/nr_iqa.py:21
Functioncalculate_niqe
Calculate NIQE (Natural Image Quality Evaluator) metric. Ref: Making a "Completely Blind" Image Quality Analyzer. This implementation could p
eval/deshadowing/basicsr/metrics/niqe.py:158
Functioncalculate_psnr
手动实现PSNR计算(峰值信噪比)
eval/low_light_enhance/eval.py:41
Functioncalculate_psnr
Calculate PSNR (Peak Signal-to-Noise Ratio). Ref: https://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio Args: img1 (ndarray/tenso
eval/dehazing/basicsr/metrics/psnr_ssim.py:38
Functioncalculate_psnr
手动实现PSNR计算(峰值信噪比)
eval/denoising/eval.py:41
Functioncalculate_psnr_kornia
( img, # lq img2, # gt max_val=1.0, **args )
eval/dehazing/basicsr/metrics/psnr_ssim.py:13
Functioncalculate_psnr_kornia
( img, # lq img2, # gt max_val=1.0, **args )
eval/deshadowing/basicsr/metrics/psnr_ssim.py:13
Functioncalculate_ssim
手动实现RGB图片的SSIM计算(增强维度校验)
eval/low_light_enhance/eval.py:55
Functioncalculate_ssim
Calculate SSIM (structural similarity). Ref: Image quality assessment: From error visibility to structural similarity The results are th
eval/dehazing/basicsr/metrics/psnr_ssim.py:255
Functioncalculate_ssim
手动实现RGB图片的SSIM计算(增强维度校验)
eval/denoising/eval.py:55
Functioncalculate_ssim_kornia
( img, # lq img2, # gt window_size: int = 11, max_val: float = 1.0, **
eval/dehazing/basicsr/metrics/psnr_ssim.py:25
Functioncalculate_ssim_kornia
( img, # lq img2, # gt window_size: int = 11, max_val: float = 1.0, **
eval/deshadowing/basicsr/metrics/psnr_ssim.py:25
Functioncallback
get the image data and update pbar.
eval/dehazing/basicsr/utils/lmdb_util.py:79
Functioncallback
get the image data and update pbar.
eval/deshadowing/basicsr/utils/lmdb_util.py:79
Functioncheck_resume
Check resume states and pretrain_network paths. Args: opt (dict): Options. resume_iter (int): Resume iteration.
eval/dehazing/basicsr/utils/misc.py:137
Functioncheck_resume
Check resume states and pretrain_network paths. Args: opt (dict): Options. resume_iter (int): Resume iteration.
eval/deshadowing/basicsr/utils/misc.py:137
Methodclean_all
(self)
eval/dehazing/basicsr/utils/face_util.py:211
Methodclean_all
(self)
eval/deshadowing/basicsr/utils/face_util.py:211
Functioncopy_opt_file
(opt_file, experiments_root)
eval/dehazing/basicsr/utils/options.py:323
Functioncopy_opt_file
(opt_file, experiments_root)
eval/deshadowing/basicsr/utils/options.py:323
Functioncreate_lmdb_for_SIDD
()
eval/dehazing/basicsr/utils/create_lmdb.py:84
Functioncreate_lmdb_for_SIDD
()
eval/deshadowing/basicsr/utils/create_lmdb.py:84
Functioncreate_lmdb_for_gopro
()
eval/dehazing/basicsr/utils/create_lmdb.py:46
Functioncreate_lmdb_for_gopro
()
eval/deshadowing/basicsr/utils/create_lmdb.py:46
Functioncreate_lmdb_for_rain13k
()
eval/dehazing/basicsr/utils/create_lmdb.py:71
Functioncreate_lmdb_for_rain13k
()
eval/deshadowing/basicsr/utils/create_lmdb.py:71
Functioncreate_lmdb_for_reds
()
eval/dehazing/basicsr/utils/create_lmdb.py:24
Functioncreate_lmdb_for_reds
()
eval/deshadowing/basicsr/utils/create_lmdb.py:24
Functioncrop_border
Crop borders of images. Args: imgs (list[ndarray] | ndarray): Images with shape (h, w, c). crop_border (int): Crop border for eac
eval/dehazing/basicsr/utils/img_util.py:218
Functioncrop_border
Crop borders of images. Args: imgs (list[ndarray] | ndarray): Images with shape (h, w, c). crop_border (int): Crop border for eac
eval/deshadowing/basicsr/utils/img_util.py:218
Methoddeco
(func_or_class)
eval/dehazing/basicsr/utils/registry.py:54
Methoddeco
(func_or_class)
eval/deshadowing/basicsr/utils/registry.py:54
Methoddetect_faces
Args: img_path (str): Image path. upsample_num_times (int): Upsamples the image before running the fa
eval/dehazing/basicsr/utils/face_util.py:56
Methoddetect_faces
Args: img_path (str): Image path. upsample_num_times (int): Upsamples the image before running the fa
eval/deshadowing/basicsr/utils/face_util.py:56
Functiondict_constructor
(loader, node)
eval/dehazing/basicsr/utils/options.py:31
Functiondict_constructor
(loader, node)
eval/deshadowing/basicsr/utils/options.py:31
Functiondict_representer
(dumper, data)
eval/dehazing/basicsr/utils/options.py:28
Functiondict_representer
(dumper, data)
eval/deshadowing/basicsr/utils/options.py:28
Functiondownload_file_from_google_drive
Download files from google drive. Ref: https://stackoverflow.com/questions/25010369/wget-curl-large-file-from-google-drive # noqa E501
eval/dehazing/basicsr/utils/download_util.py:8
Functiondownload_file_from_google_drive
Download files from google drive. Ref: https://stackoverflow.com/questions/25010369/wget-curl-large-file-from-google-drive # noqa E501
eval/deshadowing/basicsr/utils/download_util.py:8
Functionextract_inception_features
Extract inception features. Args: data_generator (generator): A data generator. inception (nn.Module): Inception model. l
eval/dehazing/basicsr/metrics/fid.py:23
Functionextract_inception_features
Extract inception features. Args: data_generator (generator): A data generator. inception (nn.Module): Inception model. l
eval/deshadowing/basicsr/metrics/fid.py:23
Functionflowread
Read an optical flow map. Args: flow_path (ndarray or str): Flow path. quantize (bool): whether to read quantized pair, if set to
eval/dehazing/basicsr/utils/flow_util.py:7
Functionflowread
Read an optical flow map. Args: flow_path (ndarray or str): Flow path. quantize (bool): whether to read quantized pair, if set to
eval/deshadowing/basicsr/utils/flow_util.py:7
Functionflowwrite
Write optical flow to file. If the flow is not quantized, it will be saved as a .flo file losslessly, otherwise a jpeg image which is lossy b
eval/dehazing/basicsr/utils/flow_util.py:47
Functionflowwrite
Write optical flow to file. If the flow is not quantized, it will be saved as a .flo file losslessly, otherwise a jpeg image which is lossy b
eval/deshadowing/basicsr/utils/flow_util.py:47
Methodfree_dlib_gpu_memory
(self)
eval/dehazing/basicsr/utils/face_util.py:47
Methodfree_dlib_gpu_memory
(self)
eval/deshadowing/basicsr/utils/face_util.py:47
Methodget
(self, filepath)
eval/dehazing/basicsr/utils/file_client.py:14
Methodget
(self, filepath)
eval/dehazing/basicsr/utils/file_client.py:49
Methodget
(self, filepath)
eval/dehazing/basicsr/utils/file_client.py:63
Methodget
Get values according to the filepath from one lmdb named client_key. Args: filepath (str | obj:`Path`): Here, filepath is the lmd
eval/dehazing/basicsr/utils/file_client.py:131
Methodget
(self, filepath)
eval/deshadowing/basicsr/utils/file_client.py:14
← previousnext →201–300 of 378, ranked by callers