MCPcopy Create free account

hub / github.com/ai4ce/RAP / functions

Functions1,383 in github.com/ai4ce/RAP

↓ 4 callersFunctiondiscriminator_block
(in_filters, out_filters, kernel_size, stride, padding, bn=True)
models/apr/discriminator.py:14
↓ 4 callersMethodfrom_pretrained
(cls, pretrained_model_name_or_path, **kw)
mast3r/model.py:46
↓ 4 callersFunctiongamma_loss
(gamma, mul=1, offset=None, clip=np.inf)
mast3r/cloud_opt/utils/losses.py:19
↓ 4 callersMethodget_conf_log
(self, x)
dust3r/dust3r/losses.py:217
↓ 4 callersFunctionget_expon_lr_func
Copied from Plenoxels Continuous learning rate decay function. Adapted from JaxNeRF The returned rate is lr_init when step=0 and lr_fina
utils/general_utils.py:24
↓ 4 callersFunctionget_joint_pointcloud_center_scale
(pts1, pts2, valid_mask1=None, valid_mask2=None, z_only=False, center=True)
dust3r/dust3r/utils/geometry.py:328
↓ 4 callersFunctionget_joint_pointcloud_depth
(z1, z2, valid_mask1, valid_mask2=None, quantile=0.5)
dust3r/dust3r/utils/geometry.py:313
↓ 4 callersMethodget_masks
(self)
dust3r/dust3r/cloud_opt/base_opt.py:197
↓ 4 callersFunctionget_pred_pts3d
(gt, pred, use_pose=False)
dust3r/dust3r/inference.py:81
↓ 4 callersMethodget_principal_points
(self)
mast3r/cloud_opt/sparse_ga.py:61
↓ 4 callersFunctionget_projection_matrix
(znear, zfar, fovX, fovY)
utils/graphics_utils.py:67
↓ 4 callersFunctionimg_to_tensor
(img)
dust3r/croco/stereoflow/datasets_stereo.py:44
↓ 4 callersFunctioninference
(pairs, model, device, batch_size=8, verbose=True)
dust3r/dust3r/inference.py:56
↓ 4 callersFunctionlist_scenes
Generic method iterating through a base_path folder to find scenes.
dust3r/croco/datasets/habitat_sim/paths.py:72
↓ 4 callersMethodload_ckpt_ply
(self, path)
models/gs/gaussian_model.py:355
↓ 4 callersMethodlog_q2r_parallel
(self, q, eps_theta=1e-20, eps_w=1e-10)
utils/pose_utils.py:305
↓ 4 callersFunctionmake_fusion_block
(features, use_bn, width_ratio=1)
dust3r/croco/models/dpt_block.py:220
↓ 4 callersFunctionmy_formatting
(val)
dust3r/croco/datasets/habitat_sim/generate_multiview_images.py:123
↓ 4 callersFunctionnormalize
(x)
dataset_loaders/seven_scenes.py:128
↓ 4 callersFunctionnormalize_pointcloud
renorm pointmaps pts1, pts2 with norm_mode
dust3r/dust3r/utils/geometry.py:249
↓ 4 callersFunctionopencv_to_colmap_intrinsics
Modify camera intrinsics to follow a different convention. Coordinates of the center of the top-left pixels are by default: - (0.5, 0.5)
dust3r/dust3r/utils/geometry.py:236
↓ 4 callersFunctionparallel_threads
tqdm but with parallel execution. Will essentially return res = [ function(arg) # default function(*arg) # if star_args is
dust3r/dust3r/utils/parallel.py:12
↓ 4 callersMethodquery
(self, queries, k=1, **kw)
mast3r/fast_nn.py:78
↓ 4 callersFunctionrender_set
(model_path, name, iteration, views, gaussians, pipeline, background, render_multi_view=False,
render.py:197
↓ 4 callersFunctionresize_image_to_max
(max_image_size, rgb, K)
visloc.py:255
↓ 4 callersFunctionsave_image_saliancy
Modification based on TORCHVISION.UTILS ::param: tensor (batch, channel, H, W)
utils/model_utils.py:61
↓ 4 callersFunctionsearch_for_max_iteration
(folder)
utils/general_utils.py:118
↓ 4 callersFunctionsel
(x, kept)
dust3r/dust3r/image_pairs.py:71
↓ 4 callersMethodskew_symmetric
(self, w)
utils/pose_utils.py:124
↓ 4 callersMethodtaylor_A
(self, x, nth=10)
utils/pose_utils.py:137
↓ 4 callersMethodtaylor_B
(self, x, nth=10)
utils/pose_utils.py:147
↓ 4 callersFunctiontest_rendering_speed
(views, gaussians, pipeline, background, use_cache=False)
render.py:151
↓ 4 callersFunctiontranspose_to_landscape
Predict in the correct aspect-ratio, then transpose the result in landscape and stack everything back together.
dust3r/dust3r/utils/misc.py:54
↓ 4 callersFunctionunravel_xy
(pos, shape)
mast3r/datasets/utils/cropping.py:102
↓ 4 callersFunctionvis_pose
visualize predicted pose result vs. gt pose
utils/eval_utils.py:26
↓ 3 callersMethod__init__
Init. Args: scale_factor (float): scaling mode (str): interpolation mode
dust3r/croco/models/dpt_block.py:234
↓ 3 callersMethod__init__
(self, num_features, alpha_init_value=0.5)
models/apr/transformer_encoder.py:18
↓ 3 callersMethod__init__
(self, features_dim=32, backbone="resnet18", use_features_mask=False, use_independent_mask_br
models/gs/feature_maps_generators.py:78
↓ 3 callersMethod_backproj_pts3d
Backprojection operation: from image depths to 3D points
mast3r/cloud_opt/tsdf_optimizer.py:183
↓ 3 callersMethod_check_all_imgs_are_selected
(self, msk)
dust3r/dust3r/cloud_opt/optimizer.py:63
↓ 3 callersFunction_crop
(img, sy, sx)
dust3r/croco/stereoflow/engine.py:273
↓ 3 callersMethod_encode_image
(self, image, true_shape)
dust3r/dust3r/model.py:127
↓ 3 callersMethod_encode_image_pairs
(self, img1, img2, true_shape1, true_shape2)
dust3r/dust3r/model.py:141
↓ 3 callersMethod_get_msk_indices
(self, msk)
dust3r/dust3r/cloud_opt/modular_optimizer.py:73
↓ 3 callersMethod_get_poses
(self, poses)
dust3r/dust3r/cloud_opt/base_opt.py:150
↓ 3 callersMethod_no_grad
(self, tensor)
dust3r/dust3r/cloud_opt/optimizer.py:118
↓ 3 callersMethod_no_grad
(self, tensor)
dust3r/dust3r/cloud_opt/modular_optimizer.py:70
↓ 3 callersFunction_norm_windows
(cell2, H2, W2, forced_resolution=None)
mast3r/utils/coarse_to_fine.py:50
↓ 3 callersFunction_read_png_disp
(filename, coef=1.0)
dust3r/croco/stereoflow/datasets_stereo.py:551
↓ 3 callersMethodadd_meter
(self, name, meter)
dust3r/croco/utils/misc.py:123
↓ 3 callersFunctionanchor_depth_offsets
(canon_depth, pixels, subsample=8)
mast3r/cloud_opt/sparse_ga.py:858
↓ 3 callersFunctionbfs
(tree, start_node)
mast3r/cloud_opt/sparse_ga.py:984
↓ 3 callersFunctioncam_to_world_from_kapture
(kdata, timestamp, camera_id)
dust3r/dust3r_visloc/datasets/utils.py:13
↓ 3 callersFunctionclean_pointcloud
Method: 1) express all 3d points in each camera coordinate frame 2) if they're in front of a depthmap --> then lower their confidence
dust3r/dust3r/cloud_opt/base_opt.py:370
↓ 3 callersFunctioncompute_camera_pose_opencv_convention
(camera_position, camera_orientation)
dust3r/croco/datasets/habitat_sim/multiview_habitat_sim_generator.py:22
↓ 3 callersFunctioncrop_slice
(cell)
mast3r/utils/coarse_to_fine.py:14
↓ 3 callersFunctionestimate_focal
(pts3d_i, pp=None)
dust3r/dust3r/cloud_opt/init_im_poses.py:233
↓ 3 callersFunctionestimate_focal_knowing_depth
Reprojection method, for when the absolute depth is known: 1) estimate the camera focal using a robust estimator 2) reproject points
dust3r/dust3r/post_process.py:12
↓ 3 callersFunctionfreeze_bn_layer_train
set batchnorm to eval() it is useful to align train and testing result
utils/model_utils.py:49
↓ 3 callersFunctiongetWorld2View2
(R, t, translate=np.array([.0, .0, .0]), scale=1.0)
utils/graphics_utils.py:41
↓ 3 callersMethodget_all_pts3d
(self, gt1, gt2, pred1, pred2, dist_clip=None)
mast3r/losses.py:43
↓ 3 callersMethodget_all_pts3d
(self, gt1, gt2, pred1, pred2, dist_clip=None)
dust3r/dust3r/losses.py:158
↓ 3 callersMethodget_focals
(self)
dust3r/dust3r/cloud_opt/pair_viewer.py:95
↓ 3 callersMethodget_im_poses
(self)
dust3r/dust3r/cloud_opt/pair_viewer.py:114
↓ 3 callersMethodget_pw_poses
(self)
dust3r/dust3r/cloud_opt/base_opt.py:191
↓ 3 callersFunctionget_world_size
()
dust3r/croco/utils/misc.py:201
↓ 3 callersFunctionis_dist_avail_and_initialized
()
dust3r/croco/utils/misc.py:193
↓ 3 callersMethodload_gaussians
(self)
utils/nvs_utils.py:339
↓ 3 callersFunctionmake_K_cam_depth
(log_focals, pps, trans, quats, log_sizes, core_depth)
mast3r/cloud_opt/sparse_ga.py:231
↓ 3 callersFunctionmake_pts3d
(anchors, K, cam2w, depthmaps, base_focals=None, ret_depth=False)
mast3r/cloud_opt/sparse_ga.py:475
↓ 3 callersFunctionmerge_corres
(idx1, idx2, shape1=None, shape2=None, ret_xy=True, ret_index=False)
mast3r/fast_nn.py:87
↓ 3 callersFunctionnorm
(p)
mast3r/datasets/utils/cropping.py:65
↓ 3 callersMethodpatchify
imgs: (B, 3, H, W) x: (B, L, patch_size**2 *3)
dust3r/croco/models/croco.py:203
↓ 3 callersFunctionreadFloat
(name)
dust3r/datasets_preprocess/preprocess_staticthings3d.py:108
↓ 3 callersFunctionreg_dense_conf
extract confidence from prediction head output
dust3r/dust3r/heads/postprocess.py:49
↓ 3 callersMethodrender_set
(self, name)
utils/nvs_utils.py:348
↓ 3 callersFunctionrigid_points_registration
(pts1, pts2, conf)
dust3r/dust3r/cloud_opt/init_im_poses.py:220
↓ 3 callersFunctionrotate_90
(views, k=1)
mast3r/datasets/base/mast3r_base_stereo_view_dataset.py:315
↓ 3 callersMethodrun
(self)
utils/nvs_utils.py:429
↓ 3 callersFunctionsave_model
(epoch, fname, best_so_far)
dust3r/dust3r/training.py:177
↓ 3 callersFunctionsel
(x)
dust3r/dust3r/datasets/base/base_stereo_view_dataset.py:195
↓ 3 callersMethodstate_dict
(self)
dust3r/croco/utils/misc.py:268
↓ 3 callersMethodsynchronize_between_processes
(self)
dust3r/croco/utils/misc.py:119
↓ 3 callersMethodto_pil
(self)
dust3r/dust3r/datasets/utils/cropping.py:37
↓ 2 callersFunctionSum
(*losses_and_masks)
dust3r/dust3r/losses.py:16
↓ 2 callersMethod__call__
(self, img1, img2)
dust3r/croco/datasets/transforms.py:12
↓ 2 callersMethod__init__
(self, parser: ArgumentParser, name: str, fill_none=False)
arguments/__init__.py:22
↓ 2 callersMethod__init__
(self, args=None)
models/apr/rapnet.py:111
↓ 2 callersMethod__init__
(self, reduction)
models/apr/backbone.py:32
↓ 2 callersFunction_computeColor
flow_utils._computeColor(flow): compute color codes for the flow field flow ---- PARAMETERS ---- flow: np.array of dimension (he
dust3r/croco/stereoflow/datasets_flow.py:550
↓ 2 callersMethod_dispatch
(self, func, *args, **kwargs)
dust3r/dust3r/datasets/utils/cropping.py:52
↓ 2 callersFunction_dotmv
(Trf, pts, ncol=None, norm=False)
mast3r/datasets/utils/cropping.py:119
↓ 2 callersMethod_error
(self, gt, predictions)
dust3r/croco/stereoflow/criterion.py:27
↓ 2 callersFunction_filter_edges_seq
(edges, seq_dis_thr, cyclic=False)
dust3r/dust3r/image_pairs.py:80
↓ 2 callersFunction_interleave_imgs
(img1, img2)
dust3r/dust3r/inference.py:14
↓ 2 callersFunction_list_sequences
(db_root)
dust3r/datasets_preprocess/preprocess_waymo.py:66
↓ 2 callersMethod_load_full_checkpoint
Loads the full state from disk if it exists. Returns the next epoch to continue training from.
rap.py:226
↓ 2 callersFunction_make_overlapping_grid
(H, W, size, overlap)
mast3r/utils/coarse_to_fine.py:33
↓ 2 callersFunction_overlapping
(total, window, overlap=0.5)
dust3r/croco/stereoflow/engine.py:267
↓ 2 callersFunction_ravel_hw
(tensor, fill=0)
dust3r/dust3r/cloud_opt/optimizer.py:231
← previousnext →101–200 of 1,383, ranked by callers