MCPcopy Create free account

hub / github.com/apchenstu/mvsnerf / functions

Functions176 in github.com/apchenstu/mvsnerf

↓ 13 callersMethod__init__
(self, num_groups=1, norm_act=InPlaceABN, levels=1)
models.py:772
↓ 8 callersFunctionget_ndc_coordinate
point_samples [N_rays N_sample 3]
utils.py:112
↓ 7 callersFunctionrendering
(args, pose_ref, rays_pts, rays_ndc, depth_candidates, rays_o, rays_dir, volume_feature=None, im
renderer.py:138
↓ 6 callersFunctionacc_threshold
computes the percentage of pixels whose depth error is less than @threshold
utils.py:76
↓ 6 callersFunctionvisualize_depth
depth: (H, W)
utils.py:47
↓ 5 callersFunctionray_marcher
sample points along the rays Inputs: rays: () Returns:
data/ray_utils.py:152
↓ 4 callersFunctionget_ray_directions
Get ray directions for all pixels in camera coordinate. Reference: https://www.scratchapixel.com/lessons/3d-basic-rendering/ r
data/ray_utils.py:12
↓ 4 callersFunctionget_rays
Get ray origin and normalized directions in world coordinate for all pixels in one image. Reference: https://www.scratchapixel.com/lessons/3d
data/ray_utils.py:32
↓ 4 callersFunctionnormalize
Normalize a vector.
data/llff.py:12
↓ 3 callersFunctionabs_error
(depth_pred, depth_gt, mask)
utils.py:71
↓ 3 callersFunctionconfig_parser
(cmd=None)
opt.py:3
↓ 3 callersFunctioncreate_nerf_mvs
Instantiate mvs NeRF's MLP model.
models.py:569
↓ 3 callersFunctionfilter_keys
(dict)
utils.py:418
↓ 3 callersFunctionhomo_warp
src_feat: (B, C, H, W) proj_mat: (B, 3, 4) equal to "src_proj @ ref_proj_inv" depth_values: (B, D, H, W) out: (B, C, D, H, W)
utils.py:580
↓ 3 callersFunctionindex_point_feature
Args: volume_color_feature: [B, G, D, h, w] volume_density_feature: [B C D H W] ray_dir_world:[3 ray_samp
utils.py:357
↓ 3 callersFunctioninit_log
(log, keys)
utils.py:23
↓ 3 callersMethodread_cam_file
(self, filename)
data/dtu_ft.py:42
↓ 2 callersFunctionbuild_color_volume
point_world: [N_ray N_sample 3] imgs: [N V 3 H W]
utils.py:300
↓ 2 callersFunctioncenter_poses
Center the poses so that we can use NDC. See https://github.com/bmild/nerf/issues/34 Inputs: poses: (N_images, 3, 4) Outputs:
data/llff.py:55
↓ 2 callersMethoddecode_batch
(self, batch)
train_mvs_nerf_fusion_finetuning_pl.py:216
↓ 2 callersMethoddecode_batch
(self, batch, idx=list(torch.arange(4)))
train_mvs_nerf_pl.py:56
↓ 2 callersMethoddecode_batch
(self, batch)
train_mvs_nerf_finetuning_pl.py:101
↓ 2 callersFunctionget_embedder
(multires, i=0, input_dims=3)
models.py:53
↓ 2 callersFunctionget_rays_mvs
(H, W, intrinsic, c2w, N=1024, isRandom=True, is_precrop_iters=False, chunk=-1, idx=-1)
utils.py:86
↓ 2 callersFunctionget_scheduler
(hparams, optimizer)
utils.py:680
↓ 2 callersFunctionnormalize
Normalize a vector.
utils.py:640
↓ 2 callersFunctionray_marcher_fine
(rays, density_volume, z_vals, pts_NDC, N_impo
data/ray_utils.py:199
↓ 2 callersFunctionread_pfm
(filename)
utils.py:440
↓ 2 callersMethodread_source_views
(self, pair_idx=None, device=torch.device("cpu"))
data/dtu_ft.py:72
↓ 2 callersFunctionrender_density
(network_fn, rays_pts, density_feature, network_query_fn, chunk=1024 * 5)
renderer.py:167
↓ 2 callersMethodsave_ckpt
(self, name='latest')
train_mvs_nerf_pl.py:277
↓ 2 callersMethodunpreprocess
(self, data, shape=(1,1,3,1,1))
train_mvs_nerf_pl.py:64
↓ 1 callersMethod__init__
(self, levels=3)
train_mvs_nerf_fusion_finetuning_pl.py:23
↓ 1 callersMethod__init__
(self, levels=3)
train_mvs_nerf_pl.py:23
↓ 1 callersMethod__init__
(self, levels=3)
train_mvs_nerf_finetuning_pl.py:21
↓ 1 callersFunctionaverage_poses
Calculate the average pose, which is then used to center all poses using @center_poses. Its computation is as follows: 1. Compute the cen
data/llff.py:17
↓ 1 callersFunctionbatchify
Constructs a version of 'fn' that applies to smaller batches.
renderer.py:28
↓ 1 callersMethodbuild_metas
(self)
data/dtu.py:52
↓ 1 callersMethodbuild_proj_mats
(self)
data/dtu.py:77
↓ 1 callersFunctionbuild_rays
Args: imgs: [N V C H W] depths: [N V H W] poses: w2c c2w intrinsic [N V 4 4] [B V levels 3 3)] init_depth_min: [
utils.py:148
↓ 1 callersFunctionbuild_rays_test
Args: extrinsic intrinsic [4 4] [3 3)] N_samples: same as D int depth_values: [B D] Returns: [3 N_rays N_sa
utils.py:243
↓ 1 callersMethodbuild_remap
(self)
data/dtu.py:129
↓ 1 callersMethodbuild_volume_costvar_img
(self, imgs, feats, proj_mats, depth_values, pad=0)
models.py:839
↓ 1 callersMethodcreate_embedding_fn
(self)
models.py:22
↓ 1 callersFunctiondda
(rays_o, rays_d, bbox_3D)
data/ray_utils.py:143
↓ 1 callersMethoddefine_transforms
(self)
data/llff.py:359
↓ 1 callersMethoddefine_transforms
(self)
data/dtu.py:46
↓ 1 callersMethoddefine_transforms
(self)
data/dtu_ft.py:39
↓ 1 callersMethoddefine_transforms
(self)
data/blender.py:157
↓ 1 callersFunctiondepth2dist
(z_vals, cos_angle)
renderer.py:5
↓ 1 callersMethodembed
(self, inputs)
models.py:47
↓ 1 callersMethodforward_alpha
(self, x)
models.py:562
↓ 1 callersMethodfuse_local_volumes
(self)
train_mvs_nerf_fusion_finetuning_pl.py:117
↓ 1 callersFunctiongen_dir_feature
Inputs: c2ws: [1,v,4,4] rays_pts: [N_rays, N_samples, 3] rays_dir: [N_rays, 3] Returns:
renderer.py:111
↓ 1 callersFunctiongen_pts_feats
(imgs, volume_feature, rays_pts, pose_ref, rays_ndc, feat_dim, img_feat=None, img_downscale=1.0, use_color_vol
renderer.py:124
↓ 1 callersFunctionget_ndc_rays
Transform rays from world coordinate to NDC. NDC: Space such that the canvas is a cube with sides [-1, 1] in each axis. For detailed deri
data/ray_utils.py:56
↓ 1 callersFunctionget_ptsvolume
(H, W, D, pad, near_far, intrinsic, c2w)
utils.py:338
↓ 1 callersMethodinit_volume
(self)
train_mvs_nerf_finetuning_pl.py:57
↓ 1 callersMethodload_poses_all
(self)
data/dtu_ft.py:121
↓ 1 callersFunctionnormal_vect
(vect, dim=-1)
utils.py:335
↓ 1 callersFunctionraw2alpha
(sigma, dist, net_type)
renderer.py:18
↓ 1 callersFunctionraw2outputs
Transforms model's predictions to semantically meaningful values. Args: raw: [num_rays, num_samples along ray, 4]. Prediction from model.
renderer.py:65
↓ 1 callersMethodread_cam_file
(self, filename)
data/dtu.py:101
↓ 1 callersMethodread_depth
(self, filename)
data/dtu.py:116
↓ 1 callersMethodread_depth
(self, filename)
data/dtu_ft.py:62
↓ 1 callersMethodread_meta
(self)
data/llff.py:181
↓ 1 callersMethodread_meta
(self)
data/dtu_ft.py:132
↓ 1 callersMethodread_meta
(self)
data/blender.py:29
↓ 1 callersFunctionrun_network_mvs
Prepares inputs and applies network 'fn'.
renderer.py:42
↓ 1 callersFunctionsample_pdf
(bins, weights, N_samples, det=False, pytest=False)
data/ray_utils.py:98
↓ 1 callersMethodsave_ckpt
(self, name='latest')
train_mvs_nerf_fusion_finetuning_pl.py:370
↓ 1 callersMethodsave_ckpt
(self, name='latest')
train_mvs_nerf_finetuning_pl.py:279
↓ 1 callersFunctionspheric_pose
(theta, phi, radius)
data/llff.py:125
↓ 1 callersFunctionsub_selete_data
(data_batch, device, idx, filtKey=[], filtIndex=['view_ids_all','c2ws_all','scan','bbox','w2ref','ref2w','ligh
utils.py:426
↓ 1 callersMethodunpreprocess
(self, data, shape=(1,1,3,1,1))
train_mvs_nerf_fusion_finetuning_pl.py:221
↓ 1 callersMethodunpreprocess
(self, data, shape=(1,1,3,1,1))
train_mvs_nerf_finetuning_pl.py:106
↓ 1 callersMethodupdate_density_volume
(self)
train_mvs_nerf_fusion_finetuning_pl.py:205
↓ 1 callersMethodupdate_density_volume
(self)
train_mvs_nerf_finetuning_pl.py:91
↓ 1 callersFunctionupdate_volume
canonical_volume, canonical_density, canonical_weightsl: [1,C,D,H,W] ray_feat, ray_ndc_pts, ray_weight: [N_ray, N_sample, C]
train_mvs_nerf_fusion_finetuning_pl.py:35
Method__getitem__
(self, idx)
data/llff.py:367
Method__getitem__
(self, idx)
data/dtu.py:137
Method__getitem__
(self, idx)
data/dtu_ft.py:200
Method__getitem__
(self, idx)
data/blender.py:165
Method__init__
(self, **kwargs)
models.py:18
Method__init__
(self, temperature, attn_dropout=0.1)
models.py:73
Method__init__
(self, n_head, d_model, d_k, d_v, dropout=0.1)
models.py:95
Method__init__
models.py:146
Method__init__
models.py:225
Method__init__
models.py:305
Method__init__
models.py:385
Method__init__
models.py:465
Method__init__
models.py:541
Method__init__
(self, in_channels, out_channels, kernel_size=3, stride=1, pad=1, norm_act=I
models.py:662
Method__init__
(self, in_channels, out_channels, kernel_size=3, stride=1, pad=1, norm_act=I
models.py:675
Method__init__
(self, norm_act=InPlaceABN)
models.py:692
Method__init__
(self, in_channels, norm_act=InPlaceABN)
models.py:726
Method__init__
(self, volume)
models.py:936
Method__init__
(self, args)
train_mvs_nerf_fusion_finetuning_pl.py:79
Method__init__
(self, args)
train_mvs_nerf_pl.py:35
Method__init__
(self, args)
train_mvs_nerf_finetuning_pl.py:33
next →1–100 of 176, ranked by callers