MCPcopy Create free account

hub / github.com/FZU-N/URWKV / functions

Functions288 in github.com/FZU-N/URWKV

Methodcv_ui_handler
(self, data)
custom_utils/visdom.py:158
Methoddraw_data
(self)
custom_utils/visdom.py:52
Methoddraw_data
(self)
custom_utils/visdom.py:64
Methoddraw_data
(self)
custom_utils/visdom.py:150
Methoddraw_data
(self)
custom_utils/visdom.py:235
Methoddraw_data
(self)
custom_utils/visdom.py:261
Methoddraw_data
(self)
custom_utils/visdom.py:274
Methoddraw_data
(self)
custom_utils/visdom.py:286
Methodextra_repr
(self)
model/modules/drop.py:35
Functionforward
model/modules/cuda/wkv_op.cpp:6
Methodforward
(self, img1, img2)
model/loss.py:103
Methodforward
(self, X, Y)
model/loss.py:129
Methodforward
(self, pred_im, gt)
model/loss.py:155
Methodforward
(self, x, encode_list, inter_feat)
model/decoder.py:51
Methodforward
(self, x, inter_feat)
model/encoder.py:34
Methodforward
(self, x)
model/model_builder.py:38
Methodforward
(self, x)
model/modules/drop.py:32
Methodforward
(self, x)
model/modules/SSF.py:26
Methodforward
(self, x, feat_list)
model/modules/SSF.py:62
Methodforward
(self, x)
model/modules/SSF.py:101
Methodforward
(ctx, B, T, C, w, u, k, v)
model/modules/urwkv.py:33
Methodforward
(self, x, spatial_shift_list, patch_resolution=None)
model/modules/urwkv.py:226
Methodforward
(self, x, channel_shift_list, patch_resolution=None)
model/modules/urwkv.py:294
Methodforward
(self, x)
model/modules/urwkv.py:342
Methodforward
(self, x, spatial_shift_list, channel_shift_list, inter_feat, patch_resolution=None)
model/modules/urwkv.py:375
Methodforward
(self, x, inter_feat)
model/modules/urwkv.py:493
Methodforward
(self, x, inter_feat, patch_resolution)
model/modules/LAN.py:92
Methodforward
(self, pred, target)
custom_utils/losses.py:49
Methodforward
(self, img1: torch.Tensor, img2: torch.Tensor)
custom_utils/losses.py:92
Methodforward
(self, x, y)
custom_utils/losses.py:132
Methodforward
(self, x, y)
custom_utils/losses.py:161
Methodforward
(self, x)
custom_utils/WT/transform.py:45
Methodforward
(self, x)
custom_utils/WT/transform.py:54
Functionfreeze
(model)
custom_utils/model_utils.py:6
Methodget_cur_lr
(self)
custom_utils/lr_scheduler.py:35
Functionget_gaussian_kernel
(kernel_size=21, sigma=5, channels=3)
custom_utils/GaussianBlur.py:4
Functionget_last_path
(path, session)
custom_utils/dir_utils.py:19
Methodget_lr
(self)
custom_utils/warmup_scheduler/scheduler.py:25
Functionget_patches_train_features
(img, patch_size, stride=8)
custom_utils/metrics/niqe.py:140
Functionggd_features
(imdata)
custom_utils/metrics/niqe.py:65
Functionhsl2rgb_torch
(hsl: torch.Tensor)
custom_utils/image_utils.py:146
Functionhsv2rgb_torch
(hsv: torch.Tensor)
custom_utils/image_utils.py:127
Functionis_frozen
(model)
custom_utils/model_utils.py:16
Functionload_checkpoint
(model, weights)
custom_utils/model_utils.py:27
Functionload_checkpoint_multigpu
(model, weights)
custom_utils/model_utils.py:40
Functionload_img
(filepath)
custom_utils/image_utils.py:54
Functionload_img
(filepath)
custom_utils/data_loaders/lol.py:16
Functionload_optim
(optimizer, weights)
custom_utils/model_utils.py:56
Functionload_pretrain
(model, pretrained_path)
custom_utils/model_load.py:47
Functionload_start_epoch
(weights)
custom_utils/model_utils.py:50
Methodlpips
(self, imgA, imgB, model=None)
tools/measure.py:63
Methodmae
(self, imgA, imgB)
tools/measure.py:70
Functionmkdirs
(paths)
custom_utils/dir_utils.py:6
Functionnetwork_parameters
(nets)
custom_utils/model_utils.py:63
Functionniqe
(inputImgData)
custom_utils/metrics/niqe.py:200
Methodniqe
(self, gt, enhance)
tools/measure.py:84
FunctionnumpyPSNR
(tar_img, prd_img)
custom_utils/image_utils.py:76
Functionpad_input
(net_input, local_window_dim=2)
custom_utils/img_resize.py:13
Functionpiqe
(im)
custom_utils/metrics/piqe.py:107
Functionplot_graph
Plot graph. Data is a 1D tensor. args: fig_num: Figure number. title: Title of figure.
custom_utils/plotting.py:45
Methodpsnr
(self, imgA, imgB)
tools/measure.py:50
Functionq_shift
(input, shift_pixel=1, gamma=1/4, patch_resolution=None)
model/modules/urwkv.py:93
Methodregister
(self, data, mode, debug_level=0, title='Data', **kwargs)
custom_utils/visdom.py:403
Functionrestore_from
(model, optimizer, ckpt_path)
custom_utils/model_load.py:73
Functionrgb2hsl_torch
(rgb: torch.Tensor)
custom_utils/image_utils.py:87
Functionrgb2hsv_torch
(rgb: torch.Tensor)
custom_utils/image_utils.py:111
Functionsample_patch_multiscale
Extract image patches at multiple scales. args: im: Image. pos: Center position for extraction. scales: Image scales to ex
custom_utils/preprocessing.py:33
Functionsample_patch_transformed
Extract transformed image samples. args: im: Image. pos: Center position for extraction. scale: Image scale to extract fea
custom_utils/preprocessing.py:14
Functionsave_checkpoint
(model_dir, state, session)
custom_utils/model_utils.py:21
Methodsave_data
(self, data)
custom_utils/visdom.py:48
Methodsave_data
(self, data)
custom_utils/visdom.py:60
Methodsave_data
(self, data)
custom_utils/visdom.py:83
Methodsave_data
(self, data)
custom_utils/visdom.py:146
Methodsave_data
(self, data)
custom_utils/visdom.py:229
Methodsave_data
(self, data)
custom_utils/visdom.py:257
Methodsave_data
(self, data)
custom_utils/visdom.py:271
Methodsave_data
(self, data)
custom_utils/visdom.py:283
Methodsave_data
(self, data)
custom_utils/visdom.py:301
Methodsave_data
(self, data)
custom_utils/visdom.py:357
Functionsave_img
(filepath, img)
custom_utils/image_utils.py:73
Functionshow_tensor
Display a 2D tensor. args: fig_num: Figure number. title: Title of figure.
custom_utils/plotting.py:13
Methodssim
(self, imgA, imgB, gray_scale=False)
tools/measure.py:55
Methodtensor_to_image
(self,tensor)
custom_utils/UHD_load/train_data_aug_local.py:96
FunctiontorchSSIM
(tar_img, prd_img)
custom_utils/image_utils.py:70
Functiontorch_to_numpy
(a: torch.Tensor)
custom_utils/preprocessing.py:10
Functionunfreeze
(model)
custom_utils/model_utils.py:11
Functionvalidation
(model, val_loader)
custom_utils/validation.py:39
Functionvalidation_shadow
(model, val_loader)
custom_utils/validation.py:67
← previous201–288 of 288, ranked by callers