MCPcopy Create free account

hub / github.com/Mukosame/Zooming-Slow-Mo-CVPR-2020 / functions

Functions175 in github.com/Mukosame/Zooming-Slow-Mo-CVPR-2020

Method__iter__
(self)
codes/data/data_sampler.py:49
Method__len__
(self)
codes/data/data_sampler.py:64
Method__len__
(self)
codes/data/Vimeo7_dataset.py:237
Method__missing__
(self, key)
codes/options/options.py:91
Functionaugment
(img_list, hflip=True, rot=True)
codes/data/util.py:95
Methodbackward
(ctx, grad_output)
codes/models/modules/DCNv2/dcn_v2.py:171
Functioncalculate_psnr
(img1, img2)
codes/utils/util.py:145
Functioncalculate_ssim
calculate SSIM the same outputs as MATLAB's img1, img2: [0, 255]
codes/utils/util.py:182
Functionchannel_convert
(in_c, tar_type, img_list)
codes/data/util.py:113
Functioncheck
Checks the validity of commandline arguments. Parameters ---------- None Returns ------- error : string
codes/video_to_zsm.py:35
Functioncheck_resume
Check resume states and pretrain_model paths
codes/options/options.py:107
Functioncombine_frames
(pathIn, pathOut, fps)
codes/utils/util.py:376
Functioncreate_video
(ffmpeg_dir, dir, output, fps)
codes/utils/util.py:364
Functiondcn_v2_backward
codes/models/modules/DCNv2/src/dcn_v2.h:41
Functiondcn_v2_cpu_backward
codes/models/modules/DCNv2/src/cpu/dcn_v2_cpu.cpp:26
Functiondcn_v2_cpu_forward
codes/models/modules/DCNv2/src/cpu/dcn_v2_cpu.cpp:7
Functiondcn_v2_forward
codes/models/modules/DCNv2/src/dcn_v2.h:9
Functiondcn_v2_psroi_pooling_backward
codes/models/modules/DCNv2/src/dcn_v2.h:109
Functiondcn_v2_psroi_pooling_cpu_backward
codes/models/modules/DCNv2/src/cpu/dcn_v2_cpu.cpp:58
Functiondcn_v2_psroi_pooling_cpu_forward
codes/models/modules/DCNv2/src/cpu/dcn_v2_cpu.cpp:42
Functiondcn_v2_psroi_pooling_forward
codes/models/modules/DCNv2/src/dcn_v2.h:75
Functiondefine_G
(opt)
codes/models/networks.py:9
Functiondict2str
dict to string for logger
codes/options/options.py:76
Functiondict_constructor
(loader, node)
codes/utils/util.py:33
Functiondict_representer
(dumper, data)
codes/utils/util.py:30
Functiondict_to_nonedict
(opt)
codes/options/options.py:95
Functionextract_frames
(pathIn, pathOut, cnt=0)
codes/utils/make_video.py:10
Functionextract_frames
Converts the `video` to images. Parameters ---------- video : string full path to the video file. outDir : st
codes/utils/util.py:339
Methodfeed_data
(self, data, need_GT=True)
codes/models/VideoSR_base_model.py:90
Functionflow_warp
Warp an image or feature map with optical flow Args: x (Tensor): size (N, C, H, W) flow (Tensor): size (N, H, W, 2), normal value
codes/models/modules/module_util.py:55
Methodforward
(self, x, y)
codes/models/modules/loss.py:15
Methodforward
(self, input, target)
codes/models/modules/loss.py:67
Methodforward
(self, x)
codes/models/modules/module_util.py:48
Methodforward
(self, input_tensor, cur_state)
codes/models/modules/convlstm.py:42
Methodforward
Parameters ---------- input_tensor: todo 5-D Tensor either of shape (t, b, c, h, w) or (b, t, c, h, w)
codes/models/modules/convlstm.py:104
Methodforward
xforward, xreverse = B T C H W tensors.
codes/models/modules/convlstm.py:191
Methodforward
align other neighboring frames to the reference frame in the feature level fea1, fea2: [L1, L2, L3], each with [B,C,H,W] features esti
codes/models/modules/Sakuya_arch.py:80
Methodforward
(self, f1, f2)
codes/models/modules/Sakuya_arch.py:168
Methodforward
Parameters ---------- input_tensor: 5-D Tensor either of shape (t, b, c, h, w) or (b, t, c, h, w)
codes/models/modules/Sakuya_arch.py:219
Methodforward
(self, x)
codes/models/modules/Sakuya_arch.py:285
Methodforward
(self, x)
codes/models/modules/Sakuya_arch.py:336
Methodforward
(ctx, input, offset, mask, weight, bias, stride, padding, dilation, deformable_groups)
codes/models/modules/DCNv2/dcn_v2.py:17
Methodforward
(self, input, offset, mask)
codes/models/modules/DCNv2/dcn_v2.py:78
Methodforward
(self, input)
codes/models/modules/DCNv2/dcn_v2.py:103
Methodforward
input: input features for deformable conv fea: other features used for generating offsets and mask
codes/models/modules/DCNv2/dcn_v2.py:130
Methodforward
(ctx, input, rois, offset, spatial_scale, pooled_size, output_dim, no_trans, group_size=1, par
codes/models/modules/DCNv2/dcn_v2.py:149
Methodforward
(self, input, rois, offset)
codes/models/modules/DCNv2/dcn_v2.py:208
Methodforward
(self, input, rois)
codes/models/modules/DCNv2/dcn_v2.py:235
Methodget_current_losses
(self)
codes/models/base_model.py:26
Methodget_current_visuals
(self, need_GT=True)
codes/models/VideoSR_base_model.py:118
Methodget_current_visuals
(self)
codes/models/base_model.py:23
Functionget_image_paths
get image path list support lmdb or image files
codes/data/util.py:46
Methodget_lr
(self)
codes/models/lr_scheduler.py:20
Methodget_lr
(self)
codes/models/lr_scheduler.py:46
Functionget_model_total_params
(model)
codes/utils/util.py:44
Functionmake_layer
(block, n_layers)
codes/models/modules/module_util.py:27
Functionmkdir_and_rename
(path)
codes/utils/util.py:67
Functionmkdirs
(paths)
codes/utils/util.py:59
Functionmodcrop
(img_in, scale)
codes/data/util.py:195
Methodoptimize_parameters
(self, step)
codes/models/VideoSR_base_model.py:99
Functionparse
(opt_path, is_train=True)
codes/options/options.py:9
Methodprint_network
(self)
codes/models/base_model.py:29
Functionread_img
read image by cv2 or from lmdb return: Numpy float32, HWC, BGR, [0,1]
codes/data/util.py:73
Functionread_seq_imgs
read a sequence of images
codes/utils/util.py:268
Functionreading_image_worker
worker for reading images
codes/data_scripts/create_lmdb_mp.py:22
Functionrgb2ycbcr
same as matlab rgb2ycbcr only_y: only return Y channel Input: uint8, [0, 255] float, [0, 1]
codes/data/util.py:127
Methodsave
(self, iter_label)
codes/models/VideoSR_base_model.py:145
Functionsave_img
(img, img_path, mode='RGB')
codes/utils/util.py:137
Methodset_params_lr_zero
(self)
codes/models/VideoSR_base_model.py:95
Functionset_random_seed
(seed)
codes/utils/util.py:78
Functionsetup_logger
set up logger
codes/utils/util.py:85
Functiontensor2img
Converts a torch Tensor into an image Numpy array Input: 4D(B,(3/1),H,W), 3D(C,H,W), or 2D(H,W), any range, RGB channel order Output: 3D(
codes/utils/util.py:108
Methodtest
(self)
codes/models/VideoSR_base_model.py:109
Functiontest_index_generation
params: skip: if skip even number; N_out: number of frames of the network; len_in: length of input frames example: len_in |
codes/utils/util.py:287
Functionycbcr2rgb
same as matlab ycbcr2rgb Input: uint8, [0, 255] float, [0, 1]
codes/data/util.py:175
← previous101–175 of 175, ranked by callers