MCPcopy Create free account

hub / github.com/NVlabs/neuralangelo / functions

Functions410 in github.com/NVlabs/neuralangelo

↓ 1 callersMethod_get_iter_cos
(self, true_cos, progress=1.)
projects/neuralangelo/model.py:294
↓ 1 callersFunction_get_test_dataset_object
r"""Return dataset object for the test set Args: cfg (obj): Global configuration file. subset_indices (sequence): Indices of the
imaginaire/datasets/utils/get_dataloader.py:62
↓ 1 callersFunction_get_train_dataset_objects
r"""Return dataset objects for the training set. Args: cfg (obj): Global configuration file. subset_indices (sequence): Indices of
imaginaire/datasets/utils/get_dataloader.py:24
↓ 1 callersFunction_get_val_dataset_objects
r"""Return dataset objects for the validation set. Args: cfg (obj): Global configuration file. subset_indices (sequence): Indices
imaginaire/datasets/utils/get_dataloader.py:41
↓ 1 callersMethod_gl_to_cv
(self, gl)
projects/neuralangelo/data.py:128
↓ 1 callersMethod_init_loss
r"""Every trainer should implement its own init loss function.
imaginaire/trainers/base.py:418
↓ 1 callersMethod_print_speed_benchmark
Prints the profiling results and resets the timers.
imaginaire/utils/misc.py:352
↓ 1 callersMethod_sample_random_rays
(self, data)
projects/nerf/models/nerf.py:63
↓ 1 callersMethod_start_of_epoch
r"""Operations to do before starting an epoch. Args: current_epoch (int): Current number of epoch.
imaginaire/trainers/base.py:370
↓ 1 callersMethod_start_of_iteration
r"""Operations to do before starting an iteration. Args: data (dict): Data used for the current iteration. current_it
imaginaire/trainers/base.py:378
↓ 1 callersMethod_time_before_backward
r"""Record time before applying backward.
imaginaire/utils/misc.py:323
↓ 1 callersMethod_time_before_forward
r"""Record time before applying forward.
imaginaire/utils/misc.py:311
↓ 1 callersMethod_time_before_leave_gen
r"""Record forward, backward, loss, and model average time for the network update.
imaginaire/utils/misc.py:341
↓ 1 callersMethod_time_before_loss
r"""Record time before computing loss.
imaginaire/utils/misc.py:317
↓ 1 callersMethod_time_before_model_avg
r"""Record time before applying model average.
imaginaire/utils/misc.py:335
↓ 1 callersMethod_time_before_step
r"""Record time before updating the weights
imaginaire/utils/misc.py:329
↓ 1 callersFunction_wrap_model
r"""Wrap a model for distributed data parallel training. Args: model (obj): PyTorch network model. Returns: (obj): Wrapped P
imaginaire/trainers/utils/get_trainer.py:70
↓ 1 callersFunctionalign_gt_with_cam
(pts, trans)
projects/neuralangelo/scripts/convert_tnt_to_json.py:159
↓ 1 callersFunctionbroadcast_object_list
r"""Broadcast object list from the master to the others
imaginaire/utils/distributed.py:57
↓ 1 callersMethodbuild_encoding
(self, cfg_encoding)
projects/neuralangelo/utils/modules.py:33
↓ 1 callersMethodbuild_encoding
(self, cfg_encoding_view)
projects/neuralangelo/utils/modules.py:192
↓ 1 callersMethodbuild_encoding
(self, cfg_encoding, cfg_encoding_view)
projects/neuralangelo/utils/modules.py:244
↓ 1 callersMethodbuild_mlp
(self, cfg_mlp, input_dim=3)
projects/neuralangelo/utils/modules.py:60
↓ 1 callersMethodbuild_mlp
(self, cfg_mlp, input_dim=3)
projects/neuralangelo/utils/modules.py:202
↓ 1 callersMethodbuild_mlp
(self, cfg_mlp, input_dim=3, input_view_dim=3)
projects/neuralangelo/utils/modules.py:260
↓ 1 callersMethodbuild_model
(self, cfg_model)
projects/nerf/models/nerf.py:184
↓ 1 callersMethodbuild_model
(self, cfg_model, cfg_data)
projects/neuralangelo/model.py:46
↓ 1 callersMethodcenter_camera_poses
(self, poses)
projects/nerf/datasets/nerf_llff.py:68
↓ 1 callersFunctioncheck_concentric
(images, ang_tol=np.pi / 6.0, radii_tol=0.5, pose_tol=0.5)
projects/neuralangelo/scripts/convert_data_to_json.py:93
↓ 1 callersMethodcheckpoint_toc
(self)
imaginaire/utils/misc.py:370
↓ 1 callersFunctioncollate_test_data_batches
Aggregate the list of test data from all devices and process the results. Args: data_batches (list): List of (hierarchical) dictionaries,
projects/nerf/utils/misc.py:18
↓ 1 callersMethodcompose_pair
(self, pose_a, pose_b)
projects/nerf/utils/camera.py:62
↓ 1 callersFunctioncompute_bound
(pts)
projects/neuralangelo/scripts/convert_tnt_to_json.py:165
↓ 1 callersMethodcompute_neus_alphas
(self, ray_unit, sdfs, gradients, dists, dist_far=None, progress=1., eps=1e-5)
projects/neuralangelo/model.py:275
↓ 1 callersFunctioncontract
Contract function in mip-NeRF 360 (eq 10). Args: x (tensor [...,3]): The input points. Returns: x_warp (tensor [...,3]): The
projects/nerf/utils/nerf_util.py:215
↓ 1 callersFunctioncontract_jacobian
Jacobian of the contract function in mip-NeRF 360. Args: x (tensor [...,3]): The input points. Returns: jacobian (tensor [...
projects/nerf/utils/nerf_util.py:231
↓ 1 callersFunctionconvert_cam_dict_to_pinhole_dict
(cam_dict, pinhole_dict_file)
projects/neuralangelo/scripts/convert_tnt_to_json.py:88
↓ 1 callersFunctioncreate_init_files
(pinhole_dict_file, db_file, out_dir)
projects/neuralangelo/scripts/convert_tnt_to_json.py:30
↓ 1 callersFunctioncross_product_matrix
Matrix form of cross product opertaion. param x: [3,] tensor. return: [3, 3] tensor representing the matrix form of cross product.
projects/nerf/utils/camera.py:383
↓ 1 callersFunctioncurvature_loss
(hessian, outside=None)
projects/neuralangelo/utils/misc.py:83
↓ 1 callersFunctiondata_to_json
(args)
projects/neuralangelo/scripts/convert_data_to_json.py:190
↓ 1 callersFunctiondist_all_gather_tensor
r""" gather to all ranks
imaginaire/utils/distributed.py:144
↓ 1 callersFunctiondist_all_reduce_tensor
r""" Reduce to all ranks
imaginaire/utils/distributed.py:128
↓ 1 callersFunctiondtu_to_json
(args)
projects/neuralangelo/scripts/convert_dtu_to_json.py:57
↓ 1 callersMethoddump_test_results
(self, data_all, output_dir)
projects/nerf/trainers/base.py:158
↓ 1 callersFunctioneikonal_loss
(gradients, outside=None)
projects/neuralangelo/utils/misc.py:74
↓ 1 callersMethodencode
(self, points_3D)
projects/neuralangelo/utils/modules.py:76
↓ 1 callersMethodencode
(self, points_3D)
projects/neuralangelo/utils/modules.py:287
↓ 1 callersMethodencode_view
(self, rays_unit)
projects/neuralangelo/utils/modules.py:222
↓ 1 callersMethodencode_view
(self, rays_unit)
projects/neuralangelo/utils/modules.py:304
↓ 1 callersMethodend_of_epoch
r"""Things to do after an epoch. Args: data (dict): Data used for the current iteration. current_epoch (int): Curren
imaginaire/trainers/base.py:343
↓ 1 callersFunctionessential_matrix
Compute Essential Matrix from a relative pose. param poses: [views, 3, 4] tensor representing relative poses. return: [views, 3, 3] tensor re
projects/nerf/utils/camera.py:396
↓ 1 callersFunctionextract_mesh
(sdf_func, bounds, intv, block_res=64, texture_func=None, filter_lcc=False)
projects/neuralangelo/utils/mesh.py:25
↓ 1 callersFunctionfilter_largest_cc
(mesh)
projects/neuralangelo/utils/mesh.py:151
↓ 1 callersFunctionfilter_points_outside_bounding_sphere
(old_mesh)
projects/neuralangelo/utils/mesh.py:136
↓ 1 callersFunctionfind_closest_point
(p1, d1, p2, d2)
projects/neuralangelo/scripts/convert_data_to_json.py:27
↓ 1 callersFunctiongenerate_config
(args)
projects/neuralangelo/scripts/generate_config.py:27
↓ 1 callersMethodget_appearance_embedding
(self, sample_idx, num_rays)
projects/neuralangelo/model.py:215
↓ 1 callersMethodget_camera
(self, idx)
projects/nerf/datasets/nerf_llff.py:118
↓ 1 callersMethodget_camera
(self, idx)
projects/nerf/datasets/nerf_blender.py:93
↓ 1 callersMethodget_camera
(self, idx)
projects/neuralangelo/data.py:101
↓ 1 callersMethodget_color
(self, feat, ray_unit=None)
projects/nerf/models/nerf.py:230
↓ 1 callersMethodget_cpu_affinity
r"""Get CPU affinity
imaginaire/utils/gpu_affinity.py:47
↓ 1 callersMethodget_curvature_weight
(self, current_iteration, init_weight)
projects/neuralangelo/trainer.py:54
↓ 1 callersFunctionget_date_uid
Generate a unique id based on date. Returns: str: Return uid string, e.g. '20171122171307111552'.
imaginaire/trainers/utils/logging.py:22
↓ 1 callersMethodget_density
(self, points_3D, density_reg=None)
projects/nerf/models/nerf.py:221
↓ 1 callersMethodget_dist_bounds
(self, center, ray_unit)
projects/neuralangelo/model.py:208
↓ 1 callersFunctionget_heatmap
(gray, cmap)
imaginaire/utils/visualization.py:38
↓ 1 callersMethodget_image
(self, idx)
projects/nerf/datasets/nerf_llff.py:106
↓ 1 callersMethodget_image
(self, idx)
projects/nerf/datasets/nerf_blender.py:76
↓ 1 callersMethodget_image
(self, idx)
projects/neuralangelo/data.py:86
↓ 1 callersFunctionget_lattice_grid_loader
(dataset, num_workers=8)
projects/neuralangelo/utils/mesh.py:103
↓ 1 callersFunctionget_optimizer
r"""Return the optimizer object. Args: cfg_optim (obj): Config for the specific optimization module (gen/dis). model (obj): PyTor
imaginaire/trainers/utils/get_trainer.py:106
↓ 1 callersMethodget_param_groups
Allow the network to use different hyperparameters (e.g., learning rate) for different parameters. Returns: PyTorch parameter grou
imaginaire/models/base.py:21
↓ 1 callersFunctionget_scheduler
Return the scheduler object. Args: cfg_opt (obj): Config for the specific optimization module (gen/dis). opt (obj): PyTorch optim
projects/neuralangelo/utils/misc.py:28
↓ 1 callersFunctionget_scheduler
Return the scheduler object. Args: cfg_optim (obj): Config for the specific optimization module (gen/dis). optim (obj): PyTorch o
imaginaire/trainers/utils/get_trainer.py:153
↓ 1 callersFunctionget_test_dataloader
r"""Return dataset objects for testing Args: cfg (obj): Global configuration file. subset_indices (sequence): Indices of the subs
imaginaire/datasets/utils/get_dataloader.py:165
↓ 1 callersFunctionget_train_dataloader
r"""Return dataset objects for the training and validation sets. Args: cfg (obj): Global configuration file. shuffle (bool): Wheth
imaginaire/datasets/utils/get_dataloader.py:118
↓ 1 callersFunctionget_unique_test_data
Aggregate the list of test data from all devices and process the results. Args: data_gather (dict): (hierarchical) dictionaries, where lea
projects/nerf/utils/misc.py:38
↓ 1 callersFunctionget_val_dataloader
r"""Return dataset objects for the training and validation sets. Args: cfg (obj): Global configuration file. subset_indices (seque
imaginaire/datasets/utils/get_dataloader.py:141
↓ 1 callersFunctionimg2cam
(X, cam_intr)
projects/nerf/utils/camera.py:259
↓ 1 callersMethodinference
(self, data)
projects/nerf/models/nerf.py:70
↓ 1 callersMethodinit_amp
r"""Initialize automatic mixed precision training.
imaginaire/trainers/base.py:169
↓ 1 callersFunctioninit_colmap
(args)
projects/neuralangelo/scripts/convert_tnt_to_json.py:172
↓ 1 callersFunctioninit_cudnn
r"""Initialize the cudnn module. The two things to consider is whether to use cudnn benchmark and whether to use cudnn deterministic. If cudnn
imaginaire/utils/cudnn.py:18
↓ 1 callersFunctioninit_logging
r"""Create log directory for storing checkpoints and output images. Args: config_path (str): Path to the configuration file. logd
imaginaire/trainers/utils/logging.py:30
↓ 1 callersMethodinit_logging_attributes
r"""Initialize logging attributes.
imaginaire/trainers/base.py:211
↓ 1 callersMethodinit_losses
r"""Initialize loss functions. All loss names have weights. Some have criterion modules.
imaginaire/trainers/base.py:195
↓ 1 callersMethodinit_val_parameters
r"""Initialize validation parameters.
imaginaire/trainers/base.py:221
↓ 1 callersMethodinit_wandb
r"""Initialize Weights & Biases (wandb) logger. Args: cfg (obj): Global configuration. wandb_id (str): A unique ID fo
imaginaire/trainers/base.py:228
↓ 1 callersFunctionis_dist
()
imaginaire/utils/distributed.py:83
↓ 1 callersFunctionload_COLMAP_poses
(cam_file, img_dir, tf='w2c')
projects/neuralangelo/scripts/convert_tnt_to_json.py:117
↓ 1 callersFunctionload_K_Rt_from_P
(filename, P=None)
projects/neuralangelo/scripts/convert_dtu_to_json.py:32
↓ 1 callersFunctionload_transformation
(trans_file)
projects/neuralangelo/scripts/convert_tnt_to_json.py:147
↓ 1 callersFunctionmain
()
train.py:44
↓ 1 callersFunctionmain
()
projects/neuralangelo/scripts/extract_mesh.py:44
↓ 1 callersFunctionmarching_cubes
(sdf, xyz, intv, texture_func, filter_lcc)
projects/neuralangelo/utils/mesh.py:119
↓ 1 callersFunctionmerge_wireframes_k3d
(wireframe)
projects/nerf/utils/visualize.py:46
↓ 1 callersFunctionmerge_wireframes_plotly
(wireframe)
projects/nerf/utils/visualize.py:52
↓ 1 callersFunctionmerge_xyz_indicators_k3d
(xyz)
projects/nerf/utils/visualize.py:64
← previousnext →101–200 of 410, ranked by callers