MCPcopy Create free account

hub / github.com/ActiveVisionLab/DFNet / functions

Functions256 in github.com/ActiveVisionLab/DFNet

↓ 1 callersFunctionprocess_poses_rotmat
processes the 1x12 raw pose from dataset by aligning and then normalizing produce logq :param poses_in: N x 12 :return: processed poses N x 1
dataset_loaders/seven_scenes.py:61
↓ 1 callersFunctionqlog
Applies logarithm map to q :param q: (4,) :return: (3,)
dataset_loaders/seven_scenes.py:47
↓ 1 callersFunctionrender_path_spiral
(c2w, up, rads, focal, zdelta, zrate, rots, N)
dataset_loaders/load_7Scenes.py:199
↓ 1 callersFunctionrender_path_spiral
(c2w, up, rads, focal, zdelta, zrate, rots, N)
dataset_loaders/load_Cambridge.py:181
↓ 1 callersFunctionrender_rays
(ray_batch, network_fn, network_query_fn, N_samples,
script/models/rendering.py:245
↓ 1 callersFunctionrender_test
(args, train_dl, val_dl, hwf, start, model, device, render_kwargs_test)
script/train.py:33
↓ 1 callersFunctionrender_virtual_imgs
render nerfw imgs, save unscaled pose and results
script/feature/misc.py:254
↓ 1 callersFunctionrgb_loss
Compute RGB MSE Loss, original from NeRF Paper
script/dm/direct_pose_model.py:75
↓ 1 callersFunctionrun_network_DNeRF
Prepares inputs and applies network 'fn'.
script/models/nerf.py:39
↓ 1 callersFunctionrun_network_NeRFW
We need a new query function, Coarse = NeRF, Fine = NeRF-W Inputs: inputs: torch.Tensor() [N_rays,N_samples,3] viewdirs: torch.T
script/models/nerfw.py:15
↓ 1 callersFunctionsample_pdf
(bins, weights, N_samples, det=False, pytest=False)
script/models/rendering.py:24
↓ 1 callersFunctionsave_val_result_7Scenes
Perform inference on a random val image and save the result
script/dm/direct_pose_model.py:300
↓ 1 callersFunctiontrain
()
script/train.py:95
↓ 1 callersFunctiontrain
()
script/run_nerf.py:242
↓ 1 callersFunctiontrain
()
script/run_feature.py:424
↓ 1 callersFunctiontrain_on_batch
core training loop for featurenet
script/run_feature.py:102
↓ 1 callersFunctiontrain_on_batch
Perform 1 step of training
script/dm/direct_pose_model.py:228
↓ 1 callersFunctiontrain_on_batch
Perform 1 step of training
script/feature/direct_feature_matching.py:322
↓ 1 callersFunctiontrain_on_batch_with_random_view_synthesis
we implement random view synthesis for generating more views to help training posenet
script/run_feature.py:166
↓ 1 callersFunctiontrain_on_epoch
Perform 1 epoch of training with batch
script/dm/direct_pose_model.py:279
↓ 1 callersFunctiontrain_on_epoch
(args, dl, model, optimizer, loss_func, device)
script/dm/pose_model.py:341
↓ 1 callersFunctiontrain_on_epoch
Perform 1 epoch of training with batch
script/feature/direct_feature_matching.py:392
↓ 1 callersFunctiontrain_on_epoch_nerfw
(args, train_dl, H, W, focal, N_rand, optimizer, loss_func, global_step, render_kwargs_train)
script/run_nerf.py:32
↓ 1 callersMethodupdate_N
(self, N)
script/models/nerf.py:129
↓ 1 callersMethodupdate_N
(self, N)
script/models/nerfw.py:162
↓ 1 callersFunctionviewmatrix
(z, up, pos)
dataset_loaders/seven_scenes.py:150
↓ 1 callersFunctionviewmatrix
(z, up, pos)
dataset_loaders/load_7Scenes.py:126
↓ 1 callersFunctionviewmatrix
(z, up, pos)
dataset_loaders/load_Cambridge.py:108
↓ 1 callersFunctionviewmatrix
(z, up, pos)
dataset_loaders/cambridge_scenes.py:70
↓ 1 callersFunctionwarp_points
Warp a list of points with the given homography. Arguments: points: list of N points, shape (N, 2(x, y))). homography: batch
script/utils/utils.py:241
FunctionCallback
()
script/dm/callbacks.py:6
FunctionKalman1D
(observations,damping=1)
script/utils/utils.py:333
FunctionKalman3D
In: observation: Nx3 Out: pred_state: Nx3
script/utils/utils.py:350
Method__call__
(self, val_loss, model, epoch=-1, save_multiple=False, save_all=False, val_psnr=None)
script/dm/callbacks.py:50
Method__call__
Args: tensor (Tensor): Tensor image of size (C, H, W) to be normalized. Returns: Tensor: Normalized image.
script/feature/misc.py:297
Method__getitem__
(self, index)
dataset_loaders/seven_scenes.py:324
Method__getitem__
(self, index)
dataset_loaders/cambridge_scenes.py:227
Function__init__
(self)
script/dm/callbacks.py:8
Method__init__
(self, feat_dim=12)
script/dm/pose_model.py:197
Method__init__
(self, feat_dim=12)
script/dm/pose_model.py:213
Method__init__
(self, droprate=0.5, pretrained=True, feat_dim=2048)
script/dm/pose_model.py:230
Method__init__
(self, feature_extractor, droprate=0.5, pretrained=True, feat_dim=2048, filter_nans=False)
script/dm/pose_model.py:265
Method__init__
Args: patience (int): How long to wait after last time validation loss improved. Default: 50
script/dm/callbacks.py:23
Method__init__
(self, **kwargs)
script/models/nerf.py:65
Method__init__
script/models/nerf.py:188
Method__init__
lambda_u: in equation 13
script/models/losses.py:34
Method__init__
(self, **kwargs)
script/models/nerfw.py:99
Method__init__
---Parameters for the original NeRF--- D: number of layers for density (sigma) encoder W: number of hidden units in each laye
script/models/nerfw.py:221
Method__init__
(self, mean, std)
script/feature/misc.py:293
Method__init__
(self)
script/feature/misc.py:315
Method__init__
Initialize one adaptation layer for every extraction point. Args: hypercolumn_layers: The list of the hypercolumn layer names.
script/feature/dfnet.py:46
Method__init__
(self, feat_dim=12, places365_model_path='')
script/feature/dfnet.py:183
Method__init__
(self, feat_dim=12, places365_model_path='')
script/feature/efficientnet.py:71
Method__init__
Initialize one adaptation layer for every extraction point. Args: hypercolumn_layers: The list of the hypercolumn layer names.
script/feature/efficientnet.py:153
Method__init__
(self, feat_dim=12, places365_model_path='')
script/feature/efficientnet.py:193
Method__init__
(self)
script/feature/model.py:10
Method__init__
(self)
script/feature/model.py:46
Method__init__
(self)
script/feature/model.py:71
Method__init__
(self)
script/feature/model.py:115
Method__init__
(self)
script/feature/model.py:159
Method__init__
(self)
script/feature/model.py:216
Method__init__
(self)
script/feature/model.py:297
Method__init__
(self)
script/feature/model.py:371
Method__init__
(self, feat_dim=12, feature_block=6)
script/feature/model.py:458
Method__init__
:param scene: scene name ['chess', 'pumpkin', ...] :param data_path: root 7scenes data directory. Usually '../data/deepslam_data/7S
dataset_loaders/seven_scenes.py:186
Method__init__
:param scene: scene name ['chess', 'pumpkin', ...] :param data_path: root 7scenes data directory. Usually '../data/deepslam_data/7S
dataset_loaders/cambridge_scenes.py:113
Method__len__
(self)
dataset_loaders/seven_scenes.py:321
Method__len__
(self)
dataset_loaders/cambridge_scenes.py:224
Method_aggregate_feature
assume target and nerf rgb are inferenced at the same time, slice target batch and nerf batch and aggregate features :param x
script/feature/model.py:400
Functioncompute_frustums_overlap
(pose0, pose1, sampling_frustum, K, x_res, y_res)
dataset_loaders/load_Cambridge.py:83
Functioncompute_valid_mask
Compute a boolean mask of the valid pixels resulting from an homography applied to an image of a given shape. Pixels that are False correspon
script/utils/utils.py:305
Functionconfig_parser
()
script/models/options.py:2
Functionconfig_parser
()
script/feature/options.py:2
Functiondownscale_pose
downscale translation pose to [-1:1] only
dataset_loaders/cambridge_scenes.py:106
Functionfetch_unique_view_index
local NeRF data selection
dataset_loaders/load_7Scenes.py:346
Functionfilter_hook
(m, g_in, g_out)
script/dm/pose_model.py:25
Methodforward
(self, Input)
script/dm/pose_model.py:204
Methodforward
(self, Input)
script/dm/pose_model.py:220
Methodforward
(self, x)
script/dm/pose_model.py:254
Methodforward
(self, x)
script/dm/pose_model.py:292
Methodforward
:param x: image blob (N x T x C x H x W) :return: pose outputs (N x T x 6)
script/dm/pose_model.py:314
Methodforward
(self, x)
script/models/nerf.py:216
Methodforward
(self, inputs, targets)
script/models/losses.py:11
Methodforward
(self, inputs, targets, use_hier_rgbs=False, rgb_h=None, rgb_w=None)
script/models/losses.py:42
Methodforward
Encodes input (xyz+dir) to rgb+sigma (not ready to render yet). For rendering this ray, please see rendering.py Inputs:
script/models/nerfw.py:297
Methodforward
(self, input, target)
script/feature/misc.py:318
Methodforward
Apply adaptation layers. # here is list of three levels of features
script/feature/dfnet.py:66
Methodforward
inference DFNet. It can regress camera pose as well as extract intermediate layer features. :param x: image blob (2B x C x H x W)
script/feature/dfnet.py:109
Methodforward
inference DFNet_s. It can regress camera pose as well as extract intermediate layer features. :param x: image blob (2B x C x H x
script/feature/dfnet.py:209
Methodforward
Apply adaptation layers. # here is list of three levels of features
script/feature/efficientnet.py:52
Methodforward
inference DFNet. It can regress camera pose as well as extract intermediate layer features. :param x: image blob (2B x C x H x W)
script/feature/efficientnet.py:88
Methodforward
Apply adaptation layers. # here is list of three levels of features
script/feature/efficientnet.py:173
Methodforward
inference DFNet. It can regress camera pose as well as extract intermediate layer features. :param x: image blob (2B x C x H x W)
script/feature/efficientnet.py:211
Methodforward
(self, x)
script/feature/model.py:25
Methodforward
(self, x)
script/feature/model.py:64
Methodforward
(self, x)
script/feature/model.py:101
Methodforward
(self, x)
script/feature/model.py:131
Methodforward
(self, x)
script/feature/model.py:180
Methodforward
(self, x)
script/feature/model.py:239
Methodforward
(self, x, upsampleH, upsampleW)
script/feature/model.py:321
← previousnext →101–200 of 256, ranked by callers