Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VITA-Group/INS
/ functions
Functions
223 in github.com/VITA-Group/INS
⨍
Functions
223
◇
Types & classes
36
↓ 12 callers
Function
normalize
(x)
data/load_llff.py:129
↓ 9 callers
Function
to8b
(x)
utils/image.py:40
↓ 7 callers
Function
img2mse
(x, y, mask=None)
utils/image.py:28
↓ 6 callers
Function
pytorch_phase_shift
(Fx, shift)
utils/pytorch_projector.py:47
↓ 5 callers
Method
step
(self, step)
engines/lr.py:20
↓ 4 callers
Function
interpolate
(batch, mode='bilinear', size=[224, 224])
idr/model/loss.py:7
↓ 4 callers
Function
interpolate
(batch, mode='bilinear', size=[224, 224])
engines/trainer.py:22
↓ 4 callers
Method
near_far
(self)
data/datasets.py:86
↓ 4 callers
Function
pytorch_affine_transform
(vol, theta, interp_mode='bilinear')
utils/pytorch_projector.py:58
↓ 4 callers
Function
to_numpy_complex
(x)
utils/pytorch_projector.py:24
↓ 3 callers
Method
__init__
(self, root_dir, split='train', subsample=0, cam_id=False, rgb=True, with_mask=False)
data/datasets.py:12
↓ 3 callers
Method
__init__
(self, in_channels, out_channels, kernel_size, stride)
models/transformer_net.py:48
↓ 3 callers
Function
_minify
(basedir, factors=[], resolutions=[])
data/load_llff.py:8
↓ 3 callers
Method
change_sampling_idx
(self, sampling_size, stride=4)
idr/datasets/scene_dataset.py:122
↓ 3 callers
Function
dir2poses
(posedir)
data/load_deepvoxels.py:65
↓ 3 callers
Function
eval_one_view
Model inference
engines/eval.py:21
↓ 3 callers
Function
evaluate
Main function of evaluation
engines/eval.py:103
↓ 3 callers
Function
img2mae
(x, y, mask=None)
utils/image.py:34
↓ 3 callers
Function
normalize_batch
(batch)
idr/model/loss.py:11
↓ 3 callers
Function
normalize_batch
(batch)
engines/trainer.py:26
↓ 3 callers
Function
poses_avg
(poses)
data/load_llff.py:144
↓ 3 callers
Function
quat_to_rot
(q)
idr/utils/rend_util.py:102
↓ 3 callers
Function
to_pytorch_complex
(x)
utils/pytorch_projector.py:21
↓ 2 callers
Method
__init__
(self, conf)
idr/model/implicit_differentiable_renderer.py:160
↓ 2 callers
Method
__init__
Init layered sampling init_planes: [N_planes, 4], Ax + By + Cz = D trainable: Whether planes can be trained by optimizer
models/sampler.py:171
↓ 2 callers
Method
__init__
MLP backbone for NeRF
models/nerf_mlp.py:19
↓ 2 callers
Function
get_embedder
(multires)
idr/model/embedder.py:38
↓ 2 callers
Function
get_grid_uniform
(resolution)
idr/utils/plots.py:229
↓ 2 callers
Method
get_gt_pose
(self, scaled=False)
idr/datasets/scene_dataset.py:136
↓ 2 callers
Function
get_normalization
(source_dir, use_linear_init=False)
idr/preprocess/preprocess_cameras.py:182
↓ 2 callers
Function
get_persp_rays
(H, W, K, c2w, z_dir=-1.)
utils/ray.py:12
↓ 2 callers
Method
get_pose_init
(self)
idr/datasets/scene_dataset.py:153
↓ 2 callers
Method
gradient
(self, x)
idr/model/implicit_differentiable_renderer.py:86
↓ 2 callers
Function
gram_matrix
(y)
idr/model/loss.py:18
↓ 2 callers
Function
gram_matrix
(y)
engines/trainer.py:33
↓ 2 callers
Function
lin2img
(tensor, img_res)
idr/utils/plots.py:308
↓ 2 callers
Function
pytorch_complex_abs
(x)
utils/pytorch_projector.py:37
↓ 2 callers
Function
render_video
Render video
engines/eval.py:144
↓ 2 callers
Function
save_checkpoint
(path, global_step, model, optimizer)
engines/trainer.py:243
↓ 2 callers
Function
viewmatrix
(z, up, pos)
data/load_llff.py:132
↓ 1 callers
Method
__init__
Nerf MLP backbone
models/renderer.py:55
↓ 1 callers
Function
_load_data
(basedir, factor=None, width=None, height=None, load_imgs=True, crpt=False)
data/load_llff.py:62
↓ 1 callers
Function
calculate_psnr
(img1, img2, mask)
idr/evaluation/eval.py:230
↓ 1 callers
Function
compare_rotations
(R1, R2)
idr/evaluation/eval.py:224
↓ 1 callers
Function
contrast_loss
(features, indexes)
utils/image.py:18
↓ 1 callers
Function
create_arg_parser
()
run_nerf.py:39
↓ 1 callers
Function
create_arg_parser
()
gen_dataset.py:29
↓ 1 callers
Method
create_embedding_fn
(self)
idr/model/embedder.py:10
↓ 1 callers
Method
embed
(self, inputs)
idr/model/embedder.py:35
↓ 1 callers
Function
evaluate
(**kwargs)
idr/evaluation/eval.py:17
↓ 1 callers
Function
evaluate
(**kwargs)
idr/evaluation/eval_disentanglement.py:16
↓ 1 callers
Method
forward
(self, input, compute_grad=False)
idr/model/implicit_differentiable_renderer.py:67
↓ 1 callers
Function
generate_dataset
(args, output_path)
gen_dataset.py:63
↓ 1 callers
Function
get_3D_quiver_trace
(points, directions, color='#bd1540', name='')
idr/utils/plots.py:88
↓ 1 callers
Function
get_3D_scatter_trace
(points, name='', size=3, caption=None)
idr/utils/plots.py:67
↓ 1 callers
Function
get_Ps
(cameras,number_of_cameras)
idr/preprocess/preprocess_cameras.py:11
↓ 1 callers
Function
get_all_mask_points
(masks_dir)
idr/preprocess/preprocess_cameras.py:74
↓ 1 callers
Function
get_cameras_accuracy
Align predicted pose to gt pose and print cameras accuracy
idr/evaluation/eval.py:179
↓ 1 callers
Method
get_eikonal_loss
(self, grad_theta)
idr/model/loss.py:49
↓ 1 callers
Function
get_fundamental_matrices
(P_0, Ps)
idr/preprocess/preprocess_cameras.py:67
↓ 1 callers
Function
get_fundamental_matrix
(P_1,P_2)
idr/preprocess/preprocess_cameras.py:21
↓ 1 callers
Function
get_grid
(points, resolution)
idr/utils/plots.py:242
↓ 1 callers
Function
get_idx
smooth style embedding input
engines/eval.py:56
↓ 1 callers
Method
get_mask_loss
(self, sdf_output, network_object_mask, object_mask)
idr/model/loss.py:56
↓ 1 callers
Function
get_min_max_d
(curx, cury, P_j, silhouette_j, P_0, Fj0, j)
idr/preprocess/preprocess_cameras.py:41
↓ 1 callers
Function
get_normalization_function
(Ps,mask_points_all,number_of_normalization_points,number_of_cameras,masks_all)
idr/preprocess/preprocess_cameras.py:121
↓ 1 callers
Function
get_persp_intrinsic
(H, W, focal, ps=1., us=1., device=torch.device('cpu'))
utils/ray.py:48
↓ 1 callers
Method
get_rbg_value
(self, points, view_dirs)
idr/model/implicit_differentiable_renderer.py:256
↓ 1 callers
Method
get_rgb_loss
(self,rgb_values, rgb_gt, network_object_mask, object_mask)
idr/model/loss.py:40
↓ 1 callers
Method
get_scale_mat
(self)
idr/datasets/scene_dataset.py:133
↓ 1 callers
Function
get_stl_num
(style_dir)
utils/misc.py:3
↓ 1 callers
Method
get_style_loss
(self, img_res, rgb_values, rgb_gt, style_img, object_mask)
idr/model/loss.py:65
↓ 1 callers
Function
get_surface_trace
(path, epoch, sdf, resolution=100, return_mesh=False)
idr/utils/plots.py:112
↓ 1 callers
Function
imread
(f)
data/load_llff.py:112
↓ 1 callers
Function
lift
(x, y, z, intrinsics)
idr/utils/rend_util.py:87
↓ 1 callers
Function
linear_eval
Main function of conditional style interpolation
engines/eval.py:80
↓ 1 callers
Function
load_LINEMOD_data
(basedir, half_res=False, testskip=1)
data/load_LINEMOD.py:37
↓ 1 callers
Function
load_blender_data
(basedir, half_res=False, testskip=1)
data/load_blender.py:37
↓ 1 callers
Function
load_dv_data
(scene='cube', basedir='/data/deepvoxels', testskip=8)
data/load_deepvoxels.py:6
↓ 1 callers
Function
load_llff_data
(basedir, factor=8, recenter=True, bd_factor=.75, spherify=False, path_zflat=False, crpt=False)
data/load_llff.py:247
↓ 1 callers
Function
load_pose
(filename)
data/load_deepvoxels.py:49
↓ 1 callers
Function
main
(args)
run_nerf.py:233
↓ 1 callers
Function
min_line_dist
(rays_o, rays_d)
data/load_llff.py:195
↓ 1 callers
Method
minimal_sdf_points
Find points with minimal SDF value on rays for P_out pixels
idr/model/ray_tracing.py:273
↓ 1 callers
Method
mse_dist
(self, rgb, gts)
models/vote_net.py:40
↓ 1 callers
Function
parse_intrinsics
(filepath, trgt_sidelength, invert_y=False)
data/load_deepvoxels.py:9
↓ 1 callers
Function
plot_depth_maps
(depth_maps, path, epoch, plot_nrow, img_res)
idr/utils/plots.py:275
↓ 1 callers
Function
plot_images
(rgb_points, ground_true, path, epoch, plot_nrow, img_res)
idr/utils/plots.py:289
↓ 1 callers
Function
polar_to_rotmat
(azimuths, zeniths)
models/vote_net.py:15
↓ 1 callers
Function
polar_to_xyz
(azimuths, zeniths, rad=1.)
models/vote_net.py:27
↓ 1 callers
Function
pose_spherical
(theta, phi, radius)
data/load_LINEMOD.py:29
↓ 1 callers
Function
pose_spherical
(theta, phi, radius)
data/load_blender.py:29
↓ 1 callers
Function
pytorch_complex_expi
(x)
utils/pytorch_projector.py:31
↓ 1 callers
Function
pytorch_complex_mul
(x1, x2)
utils/pytorch_projector.py:28
↓ 1 callers
Function
pytorch_fftfreq
(n)
utils/pytorch_projector.py:40
↓ 1 callers
Method
ray_sampler
Sample the ray in a given range and run secant on rays which have sign transition
idr/model/ray_tracing.py:191
↓ 1 callers
Function
recenter_poses
(poses)
data/load_llff.py:170
↓ 1 callers
Function
refine_visual_hull
(masks, Ps, scale, center)
idr/preprocess/preprocess_cameras.py:88
↓ 1 callers
Function
render_path_spiral
(c2w, up, rads, focal, zdelta, zrate, rots, N)
data/load_llff.py:157
↓ 1 callers
Method
render_rays
Volumetric rendering. Args: ray_o: origins of rays. [N_rays, 3] ray_d: directions of rays. [N_rays, 3] near: the
models/nerf_net.py:88
next →
1–100 of 223, ranked by callers