MCPcopy Create free account

hub / github.com/LizhenWangT/NormalGAN / functions

Functions55 in github.com/LizhenWangT/NormalGAN

↓ 7 callersFunctionnormalize
(array)
src/ops.py:46
↓ 3 callersMethod__init__
(self, in_channel, out_channel, ngf, upconv=False, norm=False)
src/model.py:46
↓ 3 callersFunctionlocation
(x, y, z)
src/render.py:35
↓ 3 callersFunctionrotationx
(theta)
src/render.py:17
↓ 3 callersFunctionrotationy
(theta)
src/render.py:26
↓ 1 callersFunctionCalAxisNoise
(depth, normal, intrinsics)
datasets/data_utils/addNoise.py:7
↓ 1 callersFunctionH0
(normals)
src/lighting.py:4
↓ 1 callersFunctionH1
(normals)
src/lighting.py:8
↓ 1 callersFunctionH2
(normals)
src/lighting.py:12
↓ 1 callersFunctionH3
(normals)
src/lighting.py:16
↓ 1 callersFunctionH4
(normals)
src/lighting.py:20
↓ 1 callersFunctionH5
(normals)
src/lighting.py:24
↓ 1 callersFunctionH6
(normals)
src/lighting.py:28
↓ 1 callersFunctionH7
(normals)
src/lighting.py:34
↓ 1 callersFunctionH8
(normals)
src/lighting.py:38
↓ 1 callersFunctionget_H
(normals, mask)
src/lighting.py:43
↓ 1 callersFunctionparse_args
()
src/test_offline.py:16
Method__init__
(self, channel, ngf)
src/model.py:10
Method__init__
(self, in_channel, out_channel, ngf, upconv=False, norm=False)
src/model.py:212
Method__init__
(self, in_channel, out_channel, ngf, upconv=False, norm=False)
src/model.py:378
Functionadjust_learning_rate
(optimizer, decay_rate=.9)
src/ops.py:127
Functionconvert_color_back_from_0_1
(tensor)
src/ops.py:20
Functionconvert_color_back_from_m1_1
(tensor)
src/ops.py:36
Functionconvert_color_to_0_1
(tensor)
src/ops.py:12
Functionconvert_color_to_m1_1
(tensor)
src/ops.py:28
Functionconvert_depth_back_from_0_1
(tensor, low_thres, up_thres)
src/ops.py:16
Functionconvert_depth_back_from_m1_1
(tensor, low_thres, up_thres)
src/ops.py:32
Functionconvert_depth_to_0_1
(tensor, low_thres, up_thres)
src/ops.py:8
Functionconvert_depth_to_m1_1
(tensor, low_thres, up_thres)
src/ops.py:24
Functioncrop_tensor
(tensor, image_height, image_width, crop_size)
src/loader.py:75
Functioncrop_tensor
(tensor, h, w)
src/ops.py:249
Functiondepth2normal_ortho
(depth, dx, dy)
src/ops.py:94
Functiondepth2normal_perse
(depth, intrinsics)
src/ops.py:56
Functiondilate
(depth, pix)
src/ops.py:209
Functionerode
(depth, pix)
src/ops.py:225
Methodforward
(self, x)
src/model.py:36
Methodforward
(self, input_data, inter_mode='nearest')
src/model.py:164
Methodforward
(self, input_data, inter_mode='nearest')
src/model.py:330
Methodforward
(self, input_data, light_data, inter_mode='nearest')
src/model.py:553
FunctiongetEdgeFaces
(mask, fp_idx, bp_idx)
src/ops.py:265
Functionget_batch_test
(image_lists, batch_size, image_height, image_width)
src/loader.py:37
Functionget_lighting
:param normals: BCHW :param image: B1HW :param abd: B1HW :param mask: B1HW :return: lighting with shape (B,9), LH with shape (B,1
src/lighting.py:51
FunctiongetbackFaces
(mask, p_idx)
src/ops.py:284
FunctiongetfrontFaces
(mask, p_idx)
src/ops.py:296
Functionload_data
(args, valid=False)
src/loader.py:15
Functionperse2ortho
(depth_p, color_p, intrinsics_p, intrinsics_o)
src/ops.py:162
Functionply_from_array
(points, faces, output_file)
src/ply_from_array.py:4
Functionply_from_array_color
(points, colors, faces, output_file)
src/ply_from_array.py:33
Functionpseudo
(depth)
src/ops.py:144
Functionremove_points
(fp, bp)
src/ops.py:258
Functionsave_output
(filename, output)
src/loader.py:64
Functionsave_output_color
(filename, output)
src/loader.py:69
Functionset_requires_grad
(nets, requires_grad)
src/ops.py:241
Functionvector_dot
(x, y)
src/ops.py:40
Functionweights_init
(m)
src/ops.py:132