MCPcopy Create free account

hub / github.com/VITA-Group/INS / functions

Functions223 in github.com/VITA-Group/INS

↓ 1 callersMethodrot_mats
(self)
models/camera_transform.py:65
↓ 1 callersMethodrun
(self)
idr/training/idr_train.py:198
↓ 1 callersMethodsample_pdf
(self, bins, weights, det=False)
models/sampler.py:89
↓ 1 callersMethodsave_checkpoints
(self, epoch)
idr/training/idr_train.py:161
↓ 1 callersMethodsecant
Runs the secant method for interval [z_low, z_high] for n_secant_steps
idr/model/ray_tracing.py:253
↓ 1 callersMethodsphere_tracing
Run sphere tracing algorithm for max iterations from both sides of unit sphere intersection
idr/model/ray_tracing.py:100
↓ 1 callersFunctionspherify_poses
(poses, bds)
data/load_llff.py:188
↓ 1 callersFunctiontrain_one_epoch
(model_and_VGG_and_TransformNet, optimizer, scheduler, train_loader, test_set, exhibit_set, summary_writer, gl
engines/trainer.py:40
↓ 1 callersMethodvote_rays
Compute voting of expected rotation and translation for each ray. Param: rays_o: input origins [N_imgs, N_rays, 3] ra
models/vote_net.py:43
FunctionCHECK
(**kwargs)
utils/error.py:7
FunctionCHECK_ALL_ZERO
(**kwargs)
utils/error.py:23
FunctionCHECK_ZERO
(**kwargs)
utils/error.py:16
Method__call__
(self, xs)
data/collater.py:11
Method__call__
(self, xs)
data/collater.py:41
Method__call__
(self, xs)
data/collater.py:58
Method__getitem__
(self, index)
utils/style_utils.py:120
Method__getitem__
(self, i)
data/datasets.py:108
Method__getitem__
(self, i)
data/datasets.py:187
Method__getitem__
(self, i)
data/datasets.py:254
Method__getitem__
(self, idx)
idr/datasets/scene_dataset.py:79
Method__init__
(self, root_dir, split='train', subsample=0, cam_id=False)
data/datasets.py:91
Method__init__
(self, root_dir, split='train', subsample=0, cam_id=False, patch_size=48, style_path=None, with_mask=False,
data/datasets.py:122
Method__init__
(self, root_dir, subsample=0)
data/datasets.py:242
Method__init__
(self)
data/collater.py:8
Method__init__
(self, H, W)
data/collater.py:38
Method__init__
(self)
data/collater.py:55
Method__init__
(self, rgb_weight, eikonal_weight, mask_weight, alpha, perceptual_weight, content_weight, style_weight)
idr/model/loss.py:26
Method__init__
( self, feature_vector_size, d_in, d_out, dims,
idr/model/implicit_differentiable_renderer.py:11
Method__init__
( self, feature_vector_size, mode, d_in, d_out,
idr/model/implicit_differentiable_renderer.py:100
Method__init__
( self, object_bounding_sphere=1.0, sdf_threshold=5.0e-5, line
idr/model/ray_tracing.py:6
Method__init__
(self, requires_grad=False)
idr/model/vgg.py:9
Method__init__
(self, **kwargs)
idr/model/embedder.py:6
Method__init__
(self,**kwargs)
idr/training/idr_train.py:11
Method__init__
(self, train_cameras, data_dir, img_res, s
idr/datasets/scene_dataset.py:14
Method__init__
Nerf MLP backbone
models/renderer.py:146
Method__init__
Init layered sampling num_cams: number of training cameras trainable: Whether planes can be trained by optimizer
models/camera_transform.py:45
Method__init__
(self, requires_grad=True)
models/transformer_net.py:5
Method__init__
(self, channels)
models/transformer_net.py:66
Method__init__
(self, in_channels, out_channels, kernel_size, stride, upsample=None)
models/transformer_net.py:89
Method__init__
(self, netdepth=8, netwidth=256, netdepth_fine=8, netwidth_fine=256, no_skip=False, act_fn="relu", N_samples=6
models/nerf_net.py:25
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:13
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:77
Method__init__
(self, args, nerf)
models/vote_net.py:34
Method__init__
(self, requires_grad=False)
models/vgg.py:8
Method__init__
(self, input_dim, N_freqs, max_freq, periodic_fns, log_sampling=True, include_input=True)
models/embedder.py:16
Method__init__
(self, input_dim=3, output_dim=4, net_depth=8, net_width=256, no_skip=False, act_fn="relu", skips=[4],
models/nerf_mlp.py:157
Method__init__
(self)
models/nerf_mlp.py:270
Method__init__
(self, optimizer, init_lr, decay_rate, decay_steps)
engines/lr.py:7
Method__len__
(self)
data/datasets.py:105
Method__len__
(self)
data/datasets.py:184
Method__len__
(self)
data/datasets.py:250
Method__len__
(self)
idr/datasets/scene_dataset.py:76
Methodbatchify
Single forward feed that applies to smaller batches.
models/nerf_mlp.py:202
Methodcollate_fn
(self, batch_list)
idr/datasets/scene_dataset.py:105
Functioncompare_args
(args1, args2, keys=[])
utils/config.py:34
Functioncorrupt_cameras
(cam_poses, offset=(-0.1, 0.1), rotation=(-5, 5))
models/camera_transform.py:6
Functionembed
(x, eo=embedder_obj)
idr/model/embedder.py:49
Functionexport_images
(rgbs, save_dir, H=0, W=0)
utils/image.py:44
Functionexport_video
(rgbs, save_path, fps=30, quality=8)
utils/image.py:62
Methodforward
(self, model_outputs, ground_truth, style_img=None)
idr/model/loss.py:118
Methodforward
(self, surface_output, surface_sdf_values, surface_points_grad, surface_dists, surface_cam_loc, surface_ray_di
idr/model/sample_network.py:10
Methodforward
(self, points, normals, view_dirs, feature_vectors)
idr/model/implicit_differentiable_renderer.py:135
Methodforward
(self, input)
idr/model/implicit_differentiable_renderer.py:176
Methodforward
(self, sdf, cam_loc, object_mask, ray_directio
idr/model/ray_tracing.py:26
Methodforward
(self, X)
idr/model/vgg.py:28
Methodforward
Transforms model's predictions to semantically meaningful values. Args: raw: [num_rays, num_samples, C]. Prediction from model.
models/renderer.py:73
Methodforward
Transforms model's predictions to semantically meaningful values. Args: raw: [num_rays, num_samples along ray, C]. Prediction from
models/renderer.py:154
Methodforward
Generate sample points Args: rays_o: [N_rays, 3+1] origin points of rays with camera id rays_d: [N_rays, 3+1] directions of r
models/camera_transform.py:82
Methodforward
(self, X)
models/transformer_net.py:32
Methodforward
(self, x)
models/transformer_net.py:54
Methodforward
(self, x)
models/transformer_net.py:74
Methodforward
(self, x)
models/transformer_net.py:96
Methodforward
Render rays Args: ray_batch: array of shape [2, batch_size, 3]. Ray origin and direction for each example in batch.
models/nerf_net.py:148
Methodforward
Generate sample points Args: rays_o: [N_rays, 3] origin points of rays rays_d: [N_rays, 3] directions of rays
models/sampler.py:24
Methodforward
Generate sample points Args: rays_o: [N_rays, 3] origin points of rays rays_d: [N_rays, 3] directions of rays
models/sampler.py:134
Methodforward
Generate sample points Args: rays_o: [N_rays, 3] origin points of rays rays_d: [N_rays, 3] directions of rays render
models/sampler.py:196
Methodforward
Voting for the expected rotation and translation. Param: rays_o: input origins [N_imgs, N_rays, 3] rays_d: input dire
models/vote_net.py:81
Methodforward
(self, X)
models/vgg.py:27
Methodforward
(self, inputs)
models/embedder.py:43
Methodforward
(self, x, style_feature=None)
models/nerf_mlp.py:74
Methodforward
Prepares inputs and applies network. inputs: shape:[1024, 64, 3] viewdirs: shape:[1024, 3]
models/nerf_mlp.py:213
Methodforward
(self, x)
models/nerf_mlp.py:274
Methodforward_pts
(self, pts_batch, test=False, **kwargs)
models/nerf_net.py:214
Functionget_camera_for_plot
(pose)
idr/utils/rend_util.py:77
Functionget_camera_params
(uv, pose, intrinsics)
idr/utils/rend_util.py:48
Functionget_class
(kls)
idr/utils/general.py:9
Functionget_depth
Retruns depth from 3D points according to camera pose
idr/utils/rend_util.py:164
Functionget_ortho_intrinsic
(H, W, ps=1., us=1., device=torch.device('cpu'))
utils/ray.py:56
Functionget_ortho_rays
(H, W, K, c2w, z_dir=-1.)
utils/ray.py:33
Functionget_sphere_intersection
(cam_loc, ray_directions, r = 1.0)
idr/utils/rend_util.py:141
Functionget_surface_high_res_mesh
(sdf, resolution=100)
idr/utils/plots.py:149
Functionglob_imgs
(path)
idr/utils/general.py:17
Functiongram
(tensor)
utils/style_utils.py:15
Methodhas_resampling
(self)
models/sampler.py:193
Methodheight_width
(self)
data/datasets.py:83
Methodimg2mse
(x, y, mask=None)
idr/model/loss.py:93
Methodindex_dataloader
(dataloader, idx)
idr/training/idr_train.py:215
Functionitot
(img, max_size=None)
utils/style_utils.py:44
Functionload_K_Rt_from_P
(filename, P=None)
idr/utils/rend_util.py:25
Functionload_image
(path)
utils/style_utils.py:22
← previousnext →101–200 of 223, ranked by callers