MCPcopy Create free account

hub / github.com/HavenFeng/St4RTrack / functions

Functions1,146 in github.com/HavenFeng/St4RTrack

↓ 1 callersFunction_ntuple
(n)
croco/models/blocks.py:24
↓ 1 callersMethod_prepare_data
(self)
croco/stereoflow/datasets_flow.py:255
↓ 1 callersMethod_prepare_data
(self)
croco/stereoflow/datasets_stereo.py:205
↓ 1 callersFunction_print_repr_dataset
(d)
croco/stereoflow/train.py:170
↓ 1 callersMethod_random_color
(self, img1, img2)
croco/stereoflow/augmentor.py:133
↓ 1 callersMethod_random_crop
(self, img1, img2, disp)
croco/stereoflow/augmentor.py:67
↓ 1 callersMethod_random_rotate_shift_right
(self, img2)
croco/stereoflow/augmentor.py:86
↓ 1 callersMethod_random_scale
(self, img1, img2, disp)
croco/stereoflow/augmentor.py:42
↓ 1 callersMethod_random_vflip
(self, img1, img2, disp)
croco/stereoflow/augmentor.py:78
↓ 1 callersMethod_read_depthmap
(self, depthpath, input_metadata)
dust3r/datasets/co3d.py:66
↓ 1 callersFunction_replace
Advanced string replacement. Given a text: - replace all elements in src by the corresponding element in tgt - remove all elements in rm
croco/utils/misc.py:362
↓ 1 callersMethod_resample_clips
(self, strides, dist_type)
dust3r/datasets/tartanair.py:131
↓ 1 callersMethod_resample_clips
(self, strides, dist_type)
dust3r/datasets/sintel.py:143
↓ 1 callersMethod_resample_clips
(self, strides, dist_type)
dust3r/datasets/dynamic_replica.py:278
↓ 1 callersMethod_resample_clips
(self, strides, dist_type)
dust3r/datasets/spring_dataset.py:128
↓ 1 callersFunction_save_batch
(pred, gt, pairnames, dataset, task, save, outdir, time, submission_dir=None)
croco/stereoflow/test.py:82
↓ 1 callersFunction_scale_per_trajectory
Scales each track (N) independently by median norm ratio.
dust3r/track_eval_util.py:211
↓ 1 callersMethod_set_decoder
(self, enc_embed_dim, dec_embed_dim, dec_num_heads, dec_depth, mlp_ratio, norm_layer, norm_im2_in_dec)
croco/models/croco.py:103
↓ 1 callersMethod_set_mask_generator
(self, num_patches, mask_ratio)
croco/models/croco.py:97
↓ 1 callersMethod_set_mask_token
(self, dec_embed_dim)
croco/models/croco.py:100
↓ 1 callersMethod_set_patch_embed
(self, img_size=224, patch_size=16, enc_embed_dim=768)
croco/models/croco.py:94
↓ 1 callersMethod_set_prediction_head
(self, dec_embed_dim, patch_size)
croco/models/croco.py:115
↓ 1 callersMethod_set_resolutions
(self, resolutions)
dust3r/datasets/base/base_stereo_view_dataset.py:118
↓ 1 callersMethodadd_batch
(self, predictions, gt)
croco/stereoflow/criterion.py:201
↓ 1 callersFunctionadd_weighted
(rgb, alpha, original, beta, gamma)
dust3r/utils/cotracker_vis.py:58
↓ 1 callersFunctionadjust_learning_rate_by_lr
(optimizer, lr)
dust3r/optim_factory.py:9
↓ 1 callersMethodallocate_buffer
(self, *args, **kwargs)
dust3r/cloud_opt/epropnp.py:58
↓ 1 callersFunctionapply_transform_individual
(input_)
dust3r/utils/po_utils/improc.py:23
↓ 1 callersFunctionarg_parser
()
croco/datasets/crops/extract_crops_from_images.py:17
↓ 1 callersFunctionassociate
Associate two dictionaries of (stamp, data). As the time stamps never match exactly, we aim to find the closest match for every input tuple w
datasets_preprocess/prepare_tum.py:25
↓ 1 callersFunctionbest_plotmode
(traj)
dust3r/utils/vo_eval.py:245
↓ 1 callersMethodbuild_camera
(self, K, H, W)
dust3r/camera_solver.py:26
↓ 1 callersFunctionbuild_knn_adjacency
Build K-NN adjacency matrix with batch support. Args: points (torch.Tensor): (B, N, 3) k (int): Number of neighbors per point (e
dust3r/normal_loss.py:3
↓ 1 callersFunctioncam_read
Read camera data, return (M,N) tuple. M is the intrinsic matrix, N is the extrinsic matrix, so that x = M*N*X, with x being a point
dust3r/datasets/sintel.py:33
↓ 1 callersFunctioncat_meshes
(meshes)
dust3r/viz.py:80
↓ 1 callersMethodcenter_based_init
(self, x2d, x3d, camera, eps=1e-6)
dust3r/cloud_opt/levenberg_marquardt.py:283
↓ 1 callersFunctionclean_hf_cache
Clean HuggingFace cache to force fresh download
infer.py:68
↓ 1 callersFunctionclean_hf_cache
Clean HuggingFace cache to force fresh download
dust3r/training.py:171
↓ 1 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/cloud_opt/base_opt.py:537
↓ 1 callersMethodclean_pointcloud
(self, **kw)
dust3r/cloud_opt/base_opt.py:295
↓ 1 callersFunctioncolmap_to_opencv_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/utils/geometry.py:268
↓ 1 callersMethodcolor_transform
Photometric augmentation
croco/stereoflow/augmentor.py:182
↓ 1 callersFunctioncolorize
(d)
dust3r/utils/po_utils/improc.py:314
↓ 1 callersMethodcompute
Args: x2d_proj: Shape (*, n, 2) x2d: Shape (*, n, 2) w2d: Shape (*, n, 2) jac_cam: Shape (*,
dust3r/cloud_opt/cost_fun.py:33
↓ 1 callersFunctioncompute_color
compute optical flow color map :param u: optical flow horizontal map :param v: optical flow vertical map :return: optical flow in col
dust3r/utils/flow_vis.py:132
↓ 1 callersMethodcompute_global_alignment
(self, init=None, save_score_path=None, save_score_only=False, niter_PnP=10, **kw)
dust3r/cloud_opt/base_opt.py:403
↓ 1 callersMethodcompute_loss
(self, *args, **kwargs)
dust3r/losses.py:308
↓ 1 callersFunctioncompute_pointmap
Compute a HxWx3 pointmap in camera frame from a HxW depth map.
croco/datasets/habitat_sim/multiview_habitat_sim_generator.py:27
↓ 1 callersFunctioncompute_scale_invariant_depth_loss
Compute a scale-invariant depth loss without taking logs. We: 1) Solve for alpha to best align pred_depth to gt_depth in an MSE sense.
dust3r/losses.py:165
↓ 1 callersMethodcompute_stride_sampling_probs
Generate a normalized stride weight list representing the sampling probability of each stride in the current epoch. As the
dust3r/datasets/base/easy_dataset.py:61
↓ 1 callersFunctionconvert_dynamic_stereo_to_tapvid3d
(dataset_location="data/dynamic_replica_data/test", output_dir="data/tapvid3d_dataset/dynamic_stereo_final")
data/construct_ds_bench.py:209
↓ 1 callersFunctionconvert_intrinsics_to_pixel_space
(intrinsics, H, W)
dust3r/datasets/kubrick.py:76
↓ 1 callersFunctionconvert_occ_to_height
(occ, reduce_axis=3)
dust3r/utils/po_utils/improc.py:171
↓ 1 callersFunctionconvert_pointodyssey_to_tapvid3d
(dataset_location="data/point_odyssey", output_dir="data/tapvid3d_dataset/po_final")
data/construct_po_bench.py:110
↓ 1 callersFunctionconvert_tum_to_tapvid3d
Convert TUM RGB-D dataset to TapVid3D format.
data/construct_tum_bench.py:103
↓ 1 callersFunctioncosine_schedule
(t, lr_start, lr_end)
dust3r/cloud_opt/commons.py:88
↓ 1 callersFunctioncreate_commandline
Create a commandline string to generate a scene.
croco/datasets/habitat_sim/generate_multiview_images.py:119
↓ 1 callersFunctioncreate_dpt_head
return PixelwiseTaskWithDPT for given net params
dust3r/heads/dpt_head.py:96
↓ 1 callersFunctioncroco_args_from_ckpt
(ckpt)
croco/models/croco_downstream.py:13
↓ 1 callersMethodcrop
(self, rgbs, trajs, depths=None)
dust3r/datasets/DR_traj_loader.py:153
↓ 1 callersFunctioncrop_generator
()
croco/stereoflow/engine.py:213
↓ 1 callersFunctioncycled_linear_schedule
(t, lr_start, lr_end, num_cycles=2)
dust3r/cloud_opt/commons.py:97
↓ 1 callersFunctiondepth_read
(filename)
dust3r/datasets/tartanair.py:16
↓ 1 callersFunctiondepth_read
Read depth data from file, return as numpy array.
dust3r/datasets/sintel.py:21
↓ 1 callersMethoddepth_to_pts3d
(self)
dust3r/cloud_opt/base_opt.py:257
↓ 1 callersFunctiondepthmap_gradient_filter
(depthmap)
dust3r/datasets/megasam_delta.py:23
↓ 1 callersFunctiondepthmap_to_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix Returns: pointmap of absolute coordinates (HxWx3 arra
dust3r/utils/geometry.py:165
↓ 1 callersFunctiondict_to_sparse_graph
(dic)
dust3r/cloud_opt/init_im_poses.py:257
↓ 1 callersFunctiondisp_to_tensor
(disp)
croco/stereoflow/datasets_stereo.py:48
↓ 1 callersMethoddistance
(self, a, b)
dust3r/losses.py:216
↓ 1 callersFunctiondnames_to_image_pairs
dnames: list of datasets with image pairs, separated by +
croco/datasets/pairs_dataset.py:61
↓ 1 callersMethoddraw_boxlist2d_on_image
(self, rgb, boxlist, scores=None, tids=None, linewidth=1)
dust3r/utils/po_utils/improc.py:494
↓ 1 callersMethoddraw_boxlist2d_on_image_py
(self, rgb, boxlist, scores, tids, linewidth=1)
dust3r/utils/po_utils/improc.py:519
↓ 1 callersFunctiondraw_circle
(rgb, coord, radius, color=(255, 0, 0), visible=True, color_alpha=None)
dust3r/utils/cotracker_vis.py:31
↓ 1 callersMethoddraw_tracks_on_video
( self, video: torch.Tensor, tracks: torch.Tensor, visibility: torch.Tensor =
dust3r/utils/cotracker_vis.py:163
↓ 1 callersMethoddraw_traj_on_images_py
(self, rgbs, traj, S=50, linewidth=1, show_dots=False, cmap='coolwarm', maxdist=None)
dust3r/utils/po_utils/improc.py:1321
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
croco/models/blocks.py:32
↓ 1 callersFunctionedge_conf
(conf_i, conf_j, edge)
dust3r/cloud_opt/commons.py:21
↓ 1 callersMethodencode_image_pairs
run encoder for a pair of images it is actually ~5% faster to concatenate the images along the batch dimension than to enco
croco/models/croco_downstream.py:94
↓ 1 callersFunctionenlarge_seg_masks
(folder, kernel_size=5)
dust3r/utils/image.py:347
↓ 1 callersMethodepro_pnp_solver
(self, i, pose_gt=None)
dust3r/cloud_opt/oneref_viewer.py:302
↓ 1 callersMethodestimate_params
(self, *args, **kwargs)
dust3r/cloud_opt/epropnp.py:74
↓ 1 callersFunctioneval_metrics
(pred_traj, gt_traj=None, seq="", filename="", sample_stride=1)
dust3r/utils/vo_eval.py:159
↓ 1 callersFunctionextract_metrics
(file_path)
dust3r/utils/vo_eval.py:293
↓ 1 callersFunctionextract_moge_depth
Extract depth maps using MoGe model for a sequence of images. Args: rgb_paths (list): List of paths to RGB images output
dust3r/datasets/custom.py:51
↓ 1 callersMethodfinalize_submission
(self, outdir)
croco/stereoflow/datasets_flow.py:293
↓ 1 callersFunctionfind_closest_depth_stamp
Given a single rgb_ts and a sorted array of depth_stamps, find the depth timestamp within 'max_diff' that is closest to 'rgb_ts'. Returns
datasets_preprocess/prepare_tum.py:54
↓ 1 callersMethodflow2color
:param flow: Optical flow tensor. :return: RGB image normalized between 0 and 1.
dust3r/utils/po_utils/improc.py:645
↓ 1 callersFunctionflowMaxNorm
flow_utils.flowMaxNorm(flow): return the maximum of the l2-norm of the given flow ---- PARAMETERS ---- flow: the flow --
croco/stereoflow/datasets_flow.py:539
↓ 1 callersFunctionflowToColor
flow_utils.flowToColor(flow): return a color code flow field, normalized based on the maximum l2-norm of the flow flow_utils.flowToColor(flow
croco/stereoflow/datasets_flow.py:509
↓ 1 callersFunctionflow_to_tensor
(disp)
croco/stereoflow/datasets_flow.py:33
↓ 1 callersMethodgen_new_distr
(self, *args, **kwargs)
dust3r/cloud_opt/epropnp.py:66
↓ 1 callersMethodgen_old_distr
(self, *args, **kwargs)
dust3r/cloud_opt/epropnp.py:70
↓ 1 callersFunctiongenerate_multiview_images_for_scene
Generate tuples of overlapping views for a given scene. generate_depth: generate depth images and camera parameters.
croco/datasets/habitat_sim/generate_multiview_images.py:16
↓ 1 callersFunctiongenerate_multiview_images_from_metadata
Generate images from a metadata file for reproducibility purposes.
croco/datasets/habitat_sim/generate_from_metadata.py:17
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
croco/models/pos_embed.py:40
↓ 1 callersFunctionget_3D_model_from_scene
extract 3D_model (glb file) from a reconstructed scene
dust3r/demo.py:105
↓ 1 callersMethodget_adaptors
(self)
dust3r/cloud_opt/base_opt.py:197
↓ 1 callersFunctionget_args_parser
()
infer.py:33
↓ 1 callersFunctionget_args_parser
()
dust3r/training.py:47
← previousnext →301–400 of 1,146, ranked by callers