MCPcopy Create free account

hub / github.com/12dmodel/deep_motion_mag / functions

Functions53 in github.com/12dmodel/deep_motion_mag

↓ 14 callersMethodrun
Magnify a video in the two-frames mode. Args: checkpoint_dir: checkpoint directory. vid_dir: directory containing vid
magnet.py:235
↓ 11 callersFunctionconv2d
(input_, output_dim, ks=4, s=2, stddev=0.02, padding='SAME', name="conv2d", activation_fn=None,
ops.py:34
↓ 6 callersFunctionimread
(path, is_grayscale=True)
utils.py:76
↓ 5 callersMethodload
(self, checkpoint_dir, loader=None)
magnet.py:154
↓ 5 callersFunctionresidual_block
(x, output_dim, ks=3, s=1, name='residual_block')
ops.py:91
↓ 4 callersFunction_bytes_feature
(value)
convert_3frames_data_to_tfrecords.py:16
↓ 4 callersMethod_encoder
(self, image)
magnet.py:59
↓ 4 callersFunctionload_train_data
(image_path, gray_scale=True, is_testing=False)
utils.py:43
↓ 3 callersFunctionL1_loss
(in_, target)
modules.py:70
↓ 3 callersFunctionpreprocess_image
(image, train_config)
preprocessor.py:5
↓ 2 callersMethod_decoder
(self, texture_enc, shape_enc)
magnet.py:104
↓ 2 callersFunctionget_possion_noise
Add poisson noise. This function approximate posson noise upto 2nd order. Assume images were in 0-255, and converted to the range of -1 to 1.
preprocessor.py:16
↓ 2 callersMethodimage_transformer
(self, image_a, image_b, amplifi
magnet.py:123
↓ 2 callersFunctioninverse_transform
(images)
utils.py:125
↓ 2 callersFunctionmkdir
(d)
utils.py:129
↓ 1 callersMethod_build_IIR_filtering_graphs
Assume a_0 = 1
magnet.py:289
↓ 1 callersMethod_build_feed_model
(self)
magnet.py:175
↓ 1 callersMethod_build_training_graph
(self, train_config)
magnet.py:515
↓ 1 callersFunction_float_feature
(value)
convert_3frames_data_to_tfrecords.py:13
↓ 1 callersFunctioncenter_crop
(x, crop_h, crop_w, resize_h=64, resize_w=64)
utils.py:106
↓ 1 callersFunctionconvert_dataset
(data_dir, out_name, color=False)
convert_3frames_data_to_tfrecords.py:20
↓ 1 callersFunctionexpand_dims_1_to_4
Expand dimension from 1 to 4. Useful for multiplying amplification factor.
ops.py:77
↓ 1 callersFunctionimsave
(images, size, path)
utils.py:98
↓ 1 callersMethodinference
Run Magnification on two frames. Args: frameA: path to first frame frameB: path to second frame amplifica
magnet.py:217
↓ 1 callersFunctionmain
()
convert_3frames_data_to_tfrecords.py:74
↓ 1 callersFunctionmain
(args)
main.py:46
↓ 1 callersFunctionmerge
(images, size)
utils.py:88
↓ 1 callersFunctionpreproc_gaussian_noise
(image, n)
preprocessor.py:38
↓ 1 callersFunctionpreproc_poisson_noise
(image, n)
preprocessor.py:33
↓ 1 callersFunctionread_and_decode_3frames
(filename_queue, im_size=(512, 512, 1))
data_loader.py:33
↓ 1 callersFunctionres_decoder
(activation, layer_dims, out_channels, num_resblk)
modules.py:55
↓ 1 callersFunctionres_encoder
(image, layer_dims, num_resblk)
modules.py:41
↓ 1 callersMethodrun_temporal
Magnify video with a temporal filter. Args: checkpoint_dir: checkpoint directory. vid_dir: directory containing video
magnet.py:331
↓ 1 callersMethodsave
(self, checkpoint_dir, step)
magnet.py:144
↓ 1 callersFunctionsave_images
(images, size, image_path)
utils.py:72
↓ 1 callersMethodsetup_for_inference
Setup model for inference. Build computation graph, initialize variables, and load checkpoint.
magnet.py:198
↓ 1 callersMethodtrain
(self, train_config)
magnet.py:602
↓ 1 callersFunctiontransform
(image, npx=64, is_crop=True, resize_w=64)
utils.py:116
Method__call__
(self, image)
utils.py:24
Method__init__
(self, sess, name, arch_config)
magnet.py:28
Method__init__
(self, maxsize=50)
utils.py:19
Method_loss_function
(self, a, b, train_config)
magnet.py:597
Functionbatch_norm
(x, name="batch_norm")
ops.py:10
Functiondeconv2d
(input_, output_dim, ks=4, s=2, stddev=0.02, name="deconv2d", activation_fn=None, weights_regular
ops.py:46
Functionget_gaussian_noise
(image)
preprocessor.py:29
Functionget_image
(image_path, image_size, is_crop=True, resize_w=64, is
utils.py:61
Functioninstance_norm
(input, name="instance_norm")
ops.py:18
Functionlinear
(input_, output_size, scope=None, stddev=0.02, bias_start=0.0, with_w=False)
ops.py:61
Functionlrelu
(x, leak=0.2, name="lrelu")
ops.py:57
Functionmerge_images
(images, size)
utils.py:84
Functionpreproc_color
(image, n)
preprocessor.py:45
Functionread_and_decode
(filename_queue, im_size=(512, 512, 1))
data_loader.py:4
Functionres_manipulator
(enc_a, enc_b, amplification_factor, layer_dims,
modules.py:8