Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chrischoy/3D-R2N2
/ functions
Functions
196 in github.com/chrischoy/3D-R2N2
⨍
Functions
196
◇
Types & classes
33
↓ 1 callers
Function
sparse_to_dense
(voxel_data, dims, dtype=np.bool)
lib/binvox_rw.py:215
↓ 1 callers
Function
stdout_redirected
(new_stdout)
lib/utils.py:33
↓ 1 callers
Function
test_net
Evaluate the network
lib/test_net.py:18
↓ 1 callers
Function
test_process
()
lib/data_process.py:216
↓ 1 callers
Function
top
Align top of the model with the floor (Y-axis) and center it around X and Z.
lib/read_mesh.py:163
↓ 1 callers
Method
train
Given data queues, train the network
lib/solver.py:111
↓ 1 callers
Method
train_loss
(self)
lib/solver.py:103
↓ 1 callers
Function
value2string
(v)
lib/read_mesh.py:794
↓ 1 callers
Function
voxel2mesh
(voxels)
lib/blender_renderer.py:16
↓ 1 callers
Function
voxel2mesh
(voxels, surface_view)
lib/voxel.py:14
↓ 1 callers
Function
voxel2obj
(filename, pred, surface_view = True)
lib/voxel.py:56
↓ 1 callers
Function
write
Write binary binvox format. Note that when saving a model in sparse (coordinate) format, it is first converted to dense format. Doesn't
lib/binvox_rw.py:237
↓ 1 callers
Function
write_obj
write the verts and faces on file.
lib/blender_renderer.py:61
↓ 1 callers
Function
write_obj
write the verts and faces on file.
lib/voxel.py:42
Method
__init__
(self, data_queue, category_model_pair, background_imgs=[], repeat=True, train=True)
lib/data_process.py:104
Method
__init__
(self, net)
lib/solver.py:76
Method
__init__
(self, w_shape, is_bias, mean=0, std=0.01,
lib/layers.py:20
Method
__init__
(self, input_shape, tinput=None)
lib/layers.py:84
Method
__init__
(self, prev_layer, n_out, params=None, bias=True)
lib/layers.py:135
Method
__init__
(self, prev_layer, n_out, params=None, bias=True)
lib/layers.py:174
Method
__init__
(self, prev_layer, add_layer)
lib/layers.py:208
Method
__init__
(self, prev_layer, mult_layer)
lib/layers.py:219
Method
__init__
(self, prev_layer)
lib/layers.py:230
Method
__init__
(self, prev_layer, shuffle_pattern)
lib/layers.py:241
Method
__init__
(self, prev_layer, reshape)
lib/layers.py:255
Method
__init__
(self, prev_layer, filter_shape, padding=True, params=None)
lib/layers.py:273
Method
__init__
(self, prev_layer, pool_size=(2, 2), padding=(1, 1))
lib/layers.py:338
Method
__init__
(self, prev_layer, unpool_size=(2, 2, 2), padding=(0, 0, 0))
lib/layers.py:360
Method
__init__
(self, prev_layer, filter_shape, padding=None, params=None)
lib/layers.py:392
Method
__init__
Prev layer is the 3D hidden layer
lib/layers.py:448
Method
__init__
(self, prev_layer, filter_shape, padding=None, params=None)
lib/layers.py:518
Method
__init__
(self, input)
lib/layers.py:583
Method
__init__
list of prev layers to concatenate axis to concatenate For tensor5, channel dimension is axis=2 (due to theano conv3d
lib/layers.py:606
Method
__init__
(self, prev_layer, leakiness=0.01)
lib/layers.py:630
Method
__init__
(self, prev_layer)
lib/layers.py:651
Method
__init__
(self, prev_layer)
lib/layers.py:661
Method
__init__
(self, prev_layer)
lib/layers.py:671
Method
__init__
(self)
lib/utils.py:9
Method
__init__
(self, data, dims, translate, scale, axis_order)
lib/binvox_rw.py:90
Method
__init__
(self)
lib/blender_renderer.py:216
Method
__init__
(self)
lib/blender_renderer.py:242
Method
__init__
(self, random_seed=dt.datetime.now().microsecond, compute_grad=True)
models/net.py:14
Method
_set_lighting
(self)
lib/blender_renderer.py:220
Method
_set_lighting
(self)
lib/blender_renderer.py:246
Method
add_layer
(self, layer)
models/net.py:53
Function
cleanup_handle
Cleanup the data processes before exiting the program
lib/train_net.py:16
Method
clone
(self)
lib/binvox_rw.py:98
Function
dense_to_sparse
From dense representation to sparse (coordinate) representation. No coordinate reordering.
lib/binvox_rw.py:206
Function
func_wrapper
(*args, **kwargs)
lib/data_process.py:22
Function
func_wrapper
(*args, **kwargs)
lib/train_net.py:19
Function
generate_color_decimal
(c)
lib/read_mesh.py:616
Function
generate_face
(f, fc)
lib/read_mesh.py:520
Function
generate_materials_string
Generate final materials string.
lib/read_mesh.py:843
Function
generate_morph_colors
(colorfiles, n_vertices, n_faces)
lib/read_mesh.py:722
Function
generate_morph_targets
(morphfiles, n_vertices, infile)
lib/read_mesh.py:668
Function
generate_normal
(n)
lib/read_mesh.py:604
Function
generate_uv
(uv)
lib/read_mesh.py:608
Function
id_to_name
(id, category_list)
lib/data_io.py:8
Method
network_definition
(self)
models/res_gru_net.py:16
Method
network_definition
(self)
models/gru_net.py:16
Function
normalize
Normalize 3d vector
lib/read_mesh.py:202
Method
output
(self)
lib/layers.py:89
Method
output
(self)
lib/layers.py:127
Method
output_shape
(self)
lib/layers.py:96
Method
output_shape
(self)
lib/layers.py:121
Method
printSelection
(self)
lib/blender_renderer.py:154
Function
print_error
Flush out error messages. Mainly used for debugging separate processes
lib/data_process.py:19
Function
read_as_coord_array
Read binary binvox format as coordinates. Returns binvox model with voxels in a "coordinate" representation, i.e. an 3 x N array where N is
lib/binvox_rw.py:158
Method
recurrence
(x_curr, prev_s_tensor, prev_in_gate_tensor)
models/res_gru_net.py:78
Method
recurrence
(x_curr, prev_s_tensor, prev_in_gate_tensor)
models/gru_net.py:63
Function
render_model
(category, model_id, viewpoints_num, overwrite=False)
tools/render_models.py:12
Method
render_voxel
(self, pred, thresh=0.4, image_path=os.path.join(cfg.RENDERING.BLENDER_TMP_DIR, 'tmp.png'
lib/blender_renderer.py:264
Method
run
(self)
lib/data_process.py:72
Method
run
(self)
lib/data_process.py:113
Method
save
(self, filename)
models/net.py:60
Method
set_output
(self)
lib/layers.py:158
Method
set_output
(self)
lib/layers.py:198
Method
set_output
(self)
lib/layers.py:213
Method
set_output
(self)
lib/layers.py:224
Method
set_output
(self)
lib/layers.py:234
Method
set_output
(self)
lib/layers.py:249
Method
set_output
(self)
lib/layers.py:262
Method
set_output
(self)
lib/layers.py:302
Method
set_output
(self)
lib/layers.py:348
Method
set_output
(self)
lib/layers.py:371
Method
set_output
(self)
lib/layers.py:423
Method
set_output
(self)
lib/layers.py:488
Method
set_output
(self)
lib/layers.py:560
Method
set_output
(self)
lib/layers.py:624
Method
set_output
(self)
lib/layers.py:635
Method
set_output
(self)
lib/layers.py:655
Method
set_output
(self)
lib/layers.py:664
Method
set_output
(self)
lib/layers.py:675
Function
sort_faces
(faces)
lib/read_mesh.py:923
Function
test
(fn)
lib/data_augmentation.py:73
Function
veckey3
(v)
lib/read_mesh.py:212
← previous
101–196 of 196, ranked by callers