Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenYang-home/OpenDVC
/ functions
Functions
26 in github.com/RenYang-home/OpenDVC
⨍
Functions
26
◇
Types & classes
0
↓ 6 callers
Function
resblock
(input, IC, OC, name)
MC_network.py:7
↓ 5 callers
Function
create_variables
:param name: A string. The name of the new variable :param shape: A list of dimensions :param initializer: User Xavier as default. :p
resnet.py:19
↓ 5 callers
Function
loss
(flow_course, im1, im2, layer)
motion.py:23
↓ 4 callers
Function
residual_block
Defines a residual block in ResNet :param input_layer: 4D tensor :param output_channel: int. return_tensor.get_shape().as_list()[-1] = ou
resnet.py:107
↓ 3 callers
Function
activation_summary
:param x: A Tensor :return: Add histogram summary and scalar summary of the sparsity of the tensor
resnet.py:9
↓ 3 callers
Function
batch_normalization_layer
Helper function to do batch normalziation :param input_layer: 4D tensor :param dimension: input_layer.get_shape().as_list()[-1]. The dept
resnet.py:52
↓ 2 callers
Function
MultiScaleSSIM
Return the MS-SSIM score between `img1` and `img2`. This function implements Multi-Scale Structural Similarity (MS-SSIM) Image Quality Asses
ms_ssim_np.py:51
↓ 2 callers
Function
bn_relu_conv_layer
A helper function to batch normalize, relu and conv the input layer sequentially :param input_layer: 4D tensor :param filter_shape: list.
resnet.py:88
↓ 2 callers
Function
make_NHWC
(x)
ms_ssim_np.py:31
↓ 1 callers
Function
_FSpecialGauss
Function to mimic the 'fspecial' gaussian MATLAB function.
ms_ssim_np.py:108
↓ 1 callers
Function
_SSIMForMultiScale
Return the Structural Similarity Map between `img1` and `img2`. This function attempts to match the functionality of ssim_index_new.m by Zho
ms_ssim_np.py:122
↓ 1 callers
Function
conv_bn_relu_layer
A helper function to conv, batch normalize and relu the input tensor sequentially :param input_layer: 4D tensor :param filter_shape: list
resnet.py:69
↓ 1 callers
Function
convnet
(im1_warp, im2, flow, layer)
motion.py:3
↓ 1 callers
Function
inference
The main function that defines the ResNet. total layers = 1 + 2n + 2n + 2n +1 = 6n + 2 :param input_tensor_batch: 4D tensor :param n: num
resnet.py:152
↓ 1 callers
Function
output_layer
:param input_layer: 2D tensor :param num_labels: int. How many output labels in total? (10 for cifar10 and 100 for cifar100) :return: out
resnet.py:37
Function
MC
(input)
MC_network.py:26
Function
MV_analysis
Builds the analysis transform.
CNN_img.py:9
Function
MV_synthesis
Builds the synthesis transform.
CNN_img.py:40
Function
Res_analysis
Builds the analysis transform.
CNN_img.py:71
Function
Res_synthesis
Builds the synthesis transform.
CNN_img.py:101
Function
_calc_msssim_orig
(img1, img2)
ms_ssim_np.py:43
Function
load_data
(data, frames, batch_size, Height, Width, Channel, folder, I_QP)
load.py:4
Function
load_data_ssim
(data, frames, batch_size, Height, Width, Channel, folder, I_level)
load.py:24
Function
optical_flow
(im1_4, im2_4, batch, h, w)
motion.py:36
Function
test_graph
Run this function to look at the graph structure on tensorboard. A fast way! :param train_dir:
resnet.py:202
Function
tf_msssim_np
(img1, img2, data_format='NHWC')
ms_ssim_np.py:25