Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bennyguo/instant-nsr-pl
/ functions
Functions
274 in github.com/bennyguo/instant-nsr-pl
⨍
Functions
274
◇
Types & classes
47
↳
Endpoints
1
↓ 19 callers
Method
C
(self, value)
systems/base.py:28
↓ 18 callers
Function
update_module_step
(m, epoch, global_step)
systems/utils.py:349
↓ 14 callers
Method
get_save_path
(self, filename)
utils/mixins.py:33
↓ 13 callers
Function
read_next_bytes
Read and unpack the next bytes from a binary file. :param fid: :param num_bytes: Sum of combination of {2, 4, 8}, e.g. 2, 6, 16, 30, etc.
datasets/colmap_utils.py:69
↓ 11 callers
Function
get_rank
()
utils/misc.py:42
↓ 9 callers
Method
convert_data
(self, data)
utils/mixins.py:21
↓ 9 callers
Function
get_activation
(name)
models/utils.py:71
↓ 9 callers
Function
scale_anything
(dat, inp_scale, tgt_scale)
models/utils.py:108
↓ 8 callers
Function
config_to_primitive
(config, resolve=True)
utils/misc.py:34
↓ 5 callers
Function
chunk_batch
(func, chunk_size, move_to_cpu, *args, **kwargs)
models/utils.py:13
↓ 4 callers
Method
__init__
(self, dim_in, dim_out, config)
models/network_utils.py:96
↓ 4 callers
Function
contract_to_unisphere
(x, radius, contraction_type)
models/geometry.py:17
↓ 4 callers
Method
general_loader
(self, dataset, batch_size)
datasets/dtu.py:181
↓ 4 callers
Method
general_loader
(self, dataset, batch_size)
datasets/blender.py:115
↓ 4 callers
Method
general_loader
(self, dataset, batch_size)
datasets/colmap.py:312
↓ 4 callers
Function
get_mlp
(n_input_dims, n_output_dims, config)
models/network_utils.py:176
↓ 4 callers
Function
get_rays
(directions, c2w, keepdim=False)
models/ray_utils.py:23
↓ 4 callers
Method
preprocess_data
(self, batch, stage)
systems/base.py:47
↓ 4 callers
Method
save_image_grid
(self, filename, imgs)
utils/mixins.py:143
↓ 3 callers
Function
get_encoding
(n_input_dims, config)
models/network_utils.py:82
↓ 3 callers
Function
get_ray_directions
(W, H, fx, fy, cx, cy, use_pixel_centers=True)
models/ray_utils.py:9
↓ 3 callers
Method
get_rgb_image_
(self, img, data_format, data_range)
utils/mixins.py:42
↓ 3 callers
Method
make_linear
(self, dim_in, dim_out, is_first, is_last)
models/network_utils.py:114
↓ 2 callers
Method
__init__
(self, save_root, version=None, use_version=True)
utils/callbacks.py:17
↓ 2 callers
Method
_gaussian
(self, kernel_size, sigma)
systems/criterions.py:85
↓ 2 callers
Method
_uniform
(self, kernel_size)
systems/criterions.py:73
↓ 2 callers
Function
binary_cross_entropy
F.binary_cross_entropy is not numerically stable in mixed-precision training.
systems/criterions.py:155
↓ 2 callers
Method
get_grayscale_image_
(self, img, data_range, cmap)
utils/mixins.py:86
↓ 2 callers
Method
get_uv_image_
(self, img, data_format, data_range, cmap)
utils/mixins.py:59
↓ 2 callers
Method
isosurface_
(self, vmin, vmax)
models/geometry.py:83
↓ 2 callers
Method
load_state_dict
Loads the schedulers state. Args: state_dict (dict): scheduler state. Should be an object returned from a call to
systems/utils.py:148
↓ 2 callers
Method
make_activation
(self)
models/network_utils.py:135
↓ 2 callers
Function
parse_version
(ver)
utils/misc.py:53
↓ 2 callers
Function
read_cameras_binary
see: src/base/reconstruction.cc void Reconstruction::WriteCamerasBinary(const std::string& path) void Reconstruction::ReadCameras
datasets/colmap_utils.py:107
↓ 2 callers
Function
read_images_binary
see: src/base/reconstruction.cc void Reconstruction::ReadImagesBinary(const std::string& path) void Reconstruction::WriteImagesBi
datasets/colmap_utils.py:167
↓ 2 callers
Function
read_points3d_binary
see: src/base/reconstruction.cc void Reconstruction::ReadPoints3DBinary(const std::string& path) void Reconstruction::WritePoints
datasets/colmap_utils.py:229
↓ 2 callers
Method
regularizations
(self, out)
models/base.py:27
↓ 2 callers
Method
save_img_sequence
(self, filename, img_dir, matcher, save_format='gif', fps=30)
utils/mixins.py:191
↓ 2 callers
Method
save_mesh
(self, filename, v_pos, t_pos_idx, v_tex=None, t_tex_idx=None, v_rgb=None)
utils/mixins.py:211
↓ 2 callers
Method
setup
(self, stage=None)
datasets/dtu.py:168
↓ 2 callers
Method
setup
(self, stage=None)
datasets/blender.py:102
↓ 2 callers
Method
setup
(self, stage=None)
datasets/colmap.py:299
↓ 1 callers
Method
__init__
(self, optimizer, start_factor=1.0 / 3, end_factor=1.0, total_iters=5, last_epoch=-1, verbose
systems/utils.py:255
↓ 1 callers
Method
__init__
(self, config, split)
datasets/dtu.py:141
↓ 1 callers
Method
__init__
(self, config, split)
datasets/blender.py:75
↓ 1 callers
Method
__init__
(self, config, split)
datasets/colmap.py:272
↓ 1 callers
Method
__init__
(self, resolution, use_torch=True)
models/geometry.py:33
↓ 1 callers
Method
__init__
(self, config)
models/texture.py:41
↓ 1 callers
Method
_gaussian_or_uniform_kernel
(self, kernel_size, sigma)
systems/criterions.py:91
↓ 1 callers
Method
_get_next_version
(self)
utils/callbacks.py:33
↓ 1 callers
Function
cleanup
()
models/utils.py:116
↓ 1 callers
Function
create_spheric_poses
(cameras, n_steps=120)
datasets/dtu.py:36
↓ 1 callers
Function
create_spheric_poses
(cameras, n_steps=120)
datasets/colmap.py:112
↓ 1 callers
Function
dot
(x, y)
models/utils.py:100
↓ 1 callers
Function
dump_config
(path, config)
utils/misc.py:38
↓ 1 callers
Method
export
(self)
systems/nerf.py:213
↓ 1 callers
Method
export
(self)
systems/neus.py:260
↓ 1 callers
Method
export
(self, export_config)
models/base.py:31
↓ 1 callers
Method
forward_
(self, rays)
models/nerf.py:61
↓ 1 callers
Method
forward_
(self, rays)
models/neus.py:205
↓ 1 callers
Method
forward_bg_
(self, rays)
models/neus.py:141
↓ 1 callers
Method
forward_level
(self, points)
models/geometry.py:80
↓ 1 callers
Method
func
(self)
systems/criterions.py:8
↓ 1 callers
Function
gen_poses
(basedir, match_type)
scripts/imgs2poses.py:58
↓ 1 callers
Method
get_alpha
(self, sdf, normal, dirs, dists)
models/neus.py:117
↓ 1 callers
Function
get_center
(pts)
datasets/colmap.py:20
↓ 1 callers
Function
get_encoding_with_network
(n_input_dims, n_output_dims, encoding_config, network_config)
models/network_utils.py:200
↓ 1 callers
Method
get_file_list
(self)
utils/callbacks.py:56
↓ 1 callers
Method
get_image_grid_
(self, imgs)
utils/mixins.py:123
↓ 1 callers
Function
get_parameters
(model, name)
systems/utils.py:305
↓ 1 callers
Function
get_scheduler
(name)
systems/utils.py:290
↓ 1 callers
Function
getattr_recursive
(m, attr)
systems/utils.py:299
↓ 1 callers
Method
grid_vertices
(self)
models/geometry.py:46
↓ 1 callers
Method
isosurface
(self)
models/nerf.py:57
↓ 1 callers
Method
isosurface
(self)
models/neus.py:113
↓ 1 callers
Function
load_K_Rt_from_P
(P=None)
datasets/dtu.py:20
↓ 1 callers
Function
load_config
(*yaml_files, cli_args=[])
utils/misc.py:26
↓ 1 callers
Function
main
()
launch.py:9
↓ 1 callers
Method
match_log_keys
(self, s)
utils/loggers.py:15
↓ 1 callers
Function
normalize_poses
(poses, pts, up_est_method, center_est_method)
datasets/colmap.py:29
↓ 1 callers
Function
parse_optimizer
(config, model)
systems/utils.py:314
↓ 1 callers
Function
parse_scheduler
(config, optimizer)
systems/utils.py:328
↓ 1 callers
Method
predict_dataloader
(self)
datasets/dtu.py:200
↓ 1 callers
Method
prepare
(self)
systems/base.py:22
↓ 1 callers
Function
qvec2rotmat
(qvec)
datasets/colmap_utils.py:271
↓ 1 callers
Method
qvec2rotmat
(self)
datasets/colmap_utils.py:48
↓ 1 callers
Function
read_cameras_text
see: src/base/reconstruction.cc void Reconstruction::WriteCamerasText(const std::string& path) void Reconstruction::ReadCamerasTe
datasets/colmap_utils.py:81
↓ 1 callers
Function
read_images_text
see: src/base/reconstruction.cc void Reconstruction::ReadImagesText(const std::string& path) void Reconstruction::WriteImagesText
datasets/colmap_utils.py:136
↓ 1 callers
Function
read_points3D_text
see: src/base/reconstruction.cc void Reconstruction::ReadPoints3DText(const std::string& path) void Reconstruction::WritePoints3D
datasets/colmap_utils.py:202
↓ 1 callers
Function
run_colmap
(basedir, match_type)
scripts/imgs2poses.py:12
↓ 1 callers
Method
save_code_snapshot
(self)
utils/callbacks.py:64
↓ 1 callers
Method
save_config_snapshot
(self)
utils/callbacks.py:85
↓ 1 callers
Method
setup
(self)
models/base.py:15
↓ 1 callers
Function
sphere_init_tcnn_network
(n_input_dims, n_output_dims, config, network)
models/network_utils.py:142
↓ 1 callers
Method
state_dict
Returns the state of the scheduler as a :class:`dict`. It contains an entry for every variable in self.__dict__ which is not the opti
systems/utils.py:133
↓ 1 callers
Method
step
(self)
systems/utils.py:125
↓ 1 callers
Method
test_dataloader
(self)
datasets/dtu.py:197
↓ 1 callers
Method
train_dataloader
(self)
datasets/dtu.py:191
↓ 1 callers
Method
update_step
(self, epoch, global_step)
models/base.py:18
↓ 1 callers
Method
update_step
(self, epoch, global_step)
models/network_utils.py:32
next →
1–100 of 274, ranked by callers