MCPcopy Create free account

hub / github.com/cvlab-epfl/MeshSDF / functions

Functions92 in github.com/cvlab-epfl/MeshSDF

↓ 12 callersFunctionget_spec_with_default
(specs, key, default)
lib/utils.py:318
↓ 6 callersMethodget_learning_rate
(self, epoch)
lib/utils.py:125
↓ 5 callersFunctionsave_model
(experiment_directory, filename, decoder, epoch)
lib/utils.py:197
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
lib/models/encoder.py:180
↓ 3 callersMethod__init__
(self, latent_size, depth, basicblock=False, norm_type="bin", inputchannels=4)
lib/models/encoder.py:135
↓ 3 callersFunctionsave_optimizer
(experiment_directory, filename, optimizer, epoch)
lib/utils.py:207
↓ 2 callersFunctioncompute_normal_consistency
This function computes a symmetric chamfer distance, i.e. the sum of both chamfers. gt_points: trimesh.points.PointCloud of just poins, samp
lib/utils.py:12
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
lib/models/encoder.py:56
↓ 2 callersFunctionconvert_sdf_samples_to_mesh
Convert sdf samples to vertices,faces :param pytorch_3d_sdf_tensor: a torch.FloatTensor of shape (n,n,n) :voxel_grid_origin: a list of t
lib/mesh.py:79
↓ 2 callersFunctiondecode_sdf
(decoder, latent_vector, queries)
lib/utils.py:345
↓ 2 callersFunctionget_instance_filenames
(data_source, split)
lib/utils.py:351
↓ 2 callersFunctionget_learning_rate_schedules
(specs)
lib/utils.py:160
↓ 2 callersFunctionprocess_image
(images_out, alpha_out)
lib/utils.py:104
↓ 2 callersFunctionremove_nans
(tensor)
lib/utils.py:369
↓ 2 callersFunctionsave_logs
( experiment_directory, loss_sdf_log, loss_sdf_test_log, epoch, )
train_svr.py:16
↓ 2 callersFunctionstore_image
(image_filename, images_out, alpha_out)
lib/utils.py:110
↓ 2 callersFunctionunpack_sdf_samples
(filename, subsample=None)
lib/utils.py:374
↓ 1 callersMethod_check_input_dim
(self, input)
lib/models/encoder.py:46
↓ 1 callersFunctionadjust_learning_rate
(lr_schedules, optimizer, epoch)
train_deep_sdf.py:44
↓ 1 callersFunctionadjust_learning_rate
(lr_schedules, optimizer, epoch)
train_svr.py:113
↓ 1 callersFunctionbuild_decoder
(experiment_directory, experiment_specs)
lib/workspace.py:88
↓ 1 callersFunctionclip_logs
(loss_sdf_log,loss_regl_log,loss_sdf_test_log,loss_regl_test_log, lr_log, timing_log, lat_mag_log, param_mag_l
train_svr.py:49
↓ 1 callersFunctionconvert_sdf_samples_to_ply
Convert sdf samples to .ply :param pytorch_3d_sdf_tensor: a torch.FloatTensor of shape (n,n,n) :voxel_grid_origin: a list of three float
lib/mesh.py:13
↓ 1 callersFunctioncreate_mesh
( decoder, latent_vec, N=256, max_batch=32 ** 3, offset=None, scale=None, output_mesh = False, filename =
lib/mesh.py:120
↓ 1 callersMethoddepth_2_normal
(self, depth, depth_unvalid, cameras)
lib/utils.py:59
↓ 1 callersFunctionfourier_transform
(x, L=5)
lib/utils.py:338
↓ 1 callersFunctiongetBlenderProj
Calculate 4x3 3D to 2D projection matrix given viewpoint parameters.
lib/utils.py:440
↓ 1 callersFunctionget_camera_matrices
(metadata_filename, id)
lib/utils.py:496
↓ 1 callersFunctionget_mesh_filename
(reconstruction_dir, name)
lib/workspace.py:217
↓ 1 callersFunctionget_projection
Calculate 4x3 3D to 2D projection matrix given viewpoint parameters.
lib/utils.py:510
↓ 1 callersFunctionget_reconstruction_dir
(experiment_dir, create_if_nonexistent=False)
lib/workspace.py:208
↓ 1 callersFunctionget_rotate_matrix
(rotation_angle1)
lib/utils.py:405
↓ 1 callersFunctioninterpolate_on_faces
(field, faces)
lib/utils.py:114
↓ 1 callersFunctionload_experiment_specifications
(experiment_directory)
lib/workspace.py:20
↓ 1 callersFunctionload_logs
(experiment_directory)
train_svr.py:33
↓ 1 callersFunctionload_model_parameters
(experiment_directory, checkpoint, decoder)
lib/workspace.py:47
↓ 1 callersFunctionload_optimizer
(experiment_directory, filename, optimizer)
lib/utils.py:217
↓ 1 callersFunctionmain_function
(experiment_directory, continue_from)
metrics_svr.py:20
↓ 1 callersFunctionmain_function
(experiment_directory, continue_from, iterations, marching_cubes_resolution, regularize)
reconstruct_svr.py:34
↓ 1 callersFunctionmain_function
(experiment_directory, resolution)
train_deep_sdf.py:21
↓ 1 callersFunctionmain_function
(experiment_directory, continue_from)
train_svr.py:69
↓ 1 callersFunctionread_params
(lines)
lib/utils.py:396
↓ 1 callersFunctionsave_checkpoints
(epoch)
train_svr.py:104
↓ 1 callersFunctionsave_latent_vectors
(experiment_directory, filename, latent_vec, epoch)
lib/utils.py:235
↓ 1 callersFunctionsave_latest
(epoch)
train_deep_sdf.py:35
↓ 1 callersFunctionsave_latest
(epoch)
train_svr.py:99
↓ 1 callersFunctionunpack_images
(filename)
lib/utils.py:544
↓ 1 callersFunctionwrite_verts_faces_to_file
(verts, faces, ply_filename_out)
lib/mesh.py:56
Method__getitem__
(self, idx)
lib/data.py:34
Method__getitem__
(self, idx)
lib/data.py:59
Method__init__
(self, silhouette_renderer, depth_renderer, max_depth = 5, image_size=256)
lib/utils.py:39
Method__init__
(self, value)
lib/utils.py:130
Method__init__
(self, initial, interval, factor)
lib/utils.py:138
Method__init__
(self, initial, warmed_up, length)
lib/utils.py:149
Method__init__
( self, data_source, split, subsample )
lib/data.py:20
Method__init__
( self, data_source, split, subsample, is_train=False, num_vie
lib/data.py:42
Method__init__
( self, latent_size, dims, dropout=None, dropout_prob=0.0, nor
lib/models/decoder.py:12
Method__init__
(self, num_features, eps=1e-5, momentum=0.1, affine=True)
lib/models/encoder.py:11
Method__init__
(self, inplanes, planes, stride=1, downsample=None, normlayer=None)
lib/models/encoder.py:65
Method__init__
(self, inplanes, planes, stride=1, downsample=None, normlayer=None)
lib/models/encoder.py:97
Method__len__
(self)
lib/data.py:31
Method__len__
(self)
lib/data.py:56
Method_check_input_dim
(self, input)
lib/models/encoder.py:52
Functionappend_parameter_magnitudes
(param_mag_log, model)
lib/utils.py:329
Functionclip_logs
(loss_log, epoch)
lib/utils.py:310
Functioncreate_mesh_optim_fast
( samples, indices, decoder, latent_vec, N=256, max_batch=32 ** 3, offset=None, scale=None, fourier = Fals
lib/mesh.py:207
Methodforward
(self, meshes_world, **kwargs)
lib/utils.py:87
Methodforward
(self, latent, xyz)
lib/models/decoder.py:82
Methodforward
(self, input)
lib/models/encoder.py:17
Methodforward
(self, x)
lib/models/encoder.py:75
Methodforward
(self, x)
lib/models/encoder.py:110
Methodforward
(self, x)
lib/models/encoder.py:197
Functionget_data_source_map_filename
(data_dir)
lib/workspace.py:150
Functionget_evaluation_dir
(experiment_dir, checkpoint, create_if_nonexistent=False)
lib/workspace.py:169
Functionget_latent_codes_dir
(experiment_dir, create_if_nonexistent=False)
lib/workspace.py:199
Methodget_learning_rate
(self, epoch)
lib/utils.py:133
Methodget_learning_rate
(self, epoch)
lib/utils.py:143
Methodget_learning_rate
(self, epoch)
lib/utils.py:154
Functionget_mean_latent_vector_magnitude
(latent_vectors)
lib/utils.py:325
Functionget_model_params_dir
(experiment_dir, create_if_nonexistent=False)
lib/workspace.py:179
Functionget_normalization_params_filename
( data_dir, dataset_name, class_name, instance_name )
lib/workspace.py:222
Functionget_optimizer_params_dir
(experiment_dir, create_if_nonexistent=False)
lib/workspace.py:189
Functionget_reconstructed_code_filename
( experiment_dir, epoch, dataset, class_name, instance_name )
lib/workspace.py:154
Functionload_cam_model_parameters
(experiment_directory, checkpoint, encoder)
lib/workspace.py:32
Functionload_decoder
( experiment_directory, experiment_specs, checkpoint, data_parallel=True )
lib/workspace.py:101
Functionload_latent_vectors
(experiment_directory, filename, lat_vecs)
lib/utils.py:247
Functionload_latent_vectors
(experiment_directory, checkpoint)
lib/workspace.py:115
Functionload_logs
(experiment_directory)
lib/utils.py:295
Methodmake_sequence
()
lib/models/decoder.py:29
Functionsave_logs
( experiment_directory, loss_log, epoch, )
lib/utils.py:280
Functionsignal_handler
(sig, frame)
train_deep_sdf.py:40
Functionsignal_handler
(sig, frame)
train_svr.py:109