Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LizhenWangT/NormalGAN
/ functions
Functions
55 in github.com/LizhenWangT/NormalGAN
⨍
Functions
55
◇
Types & classes
4
↓ 7 callers
Function
normalize
(array)
src/ops.py:46
↓ 3 callers
Method
__init__
(self, in_channel, out_channel, ngf, upconv=False, norm=False)
src/model.py:46
↓ 3 callers
Function
location
(x, y, z)
src/render.py:35
↓ 3 callers
Function
rotationx
(theta)
src/render.py:17
↓ 3 callers
Function
rotationy
(theta)
src/render.py:26
↓ 1 callers
Function
CalAxisNoise
(depth, normal, intrinsics)
datasets/data_utils/addNoise.py:7
↓ 1 callers
Function
H0
(normals)
src/lighting.py:4
↓ 1 callers
Function
H1
(normals)
src/lighting.py:8
↓ 1 callers
Function
H2
(normals)
src/lighting.py:12
↓ 1 callers
Function
H3
(normals)
src/lighting.py:16
↓ 1 callers
Function
H4
(normals)
src/lighting.py:20
↓ 1 callers
Function
H5
(normals)
src/lighting.py:24
↓ 1 callers
Function
H6
(normals)
src/lighting.py:28
↓ 1 callers
Function
H7
(normals)
src/lighting.py:34
↓ 1 callers
Function
H8
(normals)
src/lighting.py:38
↓ 1 callers
Function
get_H
(normals, mask)
src/lighting.py:43
↓ 1 callers
Function
parse_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
Function
adjust_learning_rate
(optimizer, decay_rate=.9)
src/ops.py:127
Function
convert_color_back_from_0_1
(tensor)
src/ops.py:20
Function
convert_color_back_from_m1_1
(tensor)
src/ops.py:36
Function
convert_color_to_0_1
(tensor)
src/ops.py:12
Function
convert_color_to_m1_1
(tensor)
src/ops.py:28
Function
convert_depth_back_from_0_1
(tensor, low_thres, up_thres)
src/ops.py:16
Function
convert_depth_back_from_m1_1
(tensor, low_thres, up_thres)
src/ops.py:32
Function
convert_depth_to_0_1
(tensor, low_thres, up_thres)
src/ops.py:8
Function
convert_depth_to_m1_1
(tensor, low_thres, up_thres)
src/ops.py:24
Function
crop_tensor
(tensor, image_height, image_width, crop_size)
src/loader.py:75
Function
crop_tensor
(tensor, h, w)
src/ops.py:249
Function
depth2normal_ortho
(depth, dx, dy)
src/ops.py:94
Function
depth2normal_perse
(depth, intrinsics)
src/ops.py:56
Function
dilate
(depth, pix)
src/ops.py:209
Function
erode
(depth, pix)
src/ops.py:225
Method
forward
(self, x)
src/model.py:36
Method
forward
(self, input_data, inter_mode='nearest')
src/model.py:164
Method
forward
(self, input_data, inter_mode='nearest')
src/model.py:330
Method
forward
(self, input_data, light_data, inter_mode='nearest')
src/model.py:553
Function
getEdgeFaces
(mask, fp_idx, bp_idx)
src/ops.py:265
Function
get_batch_test
(image_lists, batch_size, image_height, image_width)
src/loader.py:37
Function
get_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
Function
getbackFaces
(mask, p_idx)
src/ops.py:284
Function
getfrontFaces
(mask, p_idx)
src/ops.py:296
Function
load_data
(args, valid=False)
src/loader.py:15
Function
perse2ortho
(depth_p, color_p, intrinsics_p, intrinsics_o)
src/ops.py:162
Function
ply_from_array
(points, faces, output_file)
src/ply_from_array.py:4
Function
ply_from_array_color
(points, colors, faces, output_file)
src/ply_from_array.py:33
Function
pseudo
(depth)
src/ops.py:144
Function
remove_points
(fp, bp)
src/ops.py:258
Function
save_output
(filename, output)
src/loader.py:64
Function
save_output_color
(filename, output)
src/loader.py:69
Function
set_requires_grad
(nets, requires_grad)
src/ops.py:241
Function
vector_dot
(x, y)
src/ops.py:40
Function
weights_init
(m)
src/ops.py:132