Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XiandaGuo/OpenStereo
/ functions
Functions
2,487 in github.com/XiandaGuo/OpenStereo
⨍
Functions
2,487
◇
Types & classes
655
↳
Endpoints
11
↓ 1 callers
Method
forward_post
(self, label_rep, abs_encoding)
stereo/modeling/models/nmrf/NMP.py:110
↓ 1 callers
Method
forward_post
(self, label_rep, abs_encoding, attn_mask)
stereo/modeling/models/nmrf/NMP.py:366
↓ 1 callers
Method
forward_post
(self, tgt, context)
stereo/modeling/models/nmrf/NMP.py:576
↓ 1 callers
Method
forward_pre
(self, label_rep, abs_encoding)
stereo/modeling/models/nmrf/NMP.py:90
↓ 1 callers
Method
forward_pre
(self, label_rep, abs_encoding, attn_mask)
stereo/modeling/models/nmrf/NMP.py:350
↓ 1 callers
Method
forward_pre
(self, tgt, context)
stereo/modeling/models/nmrf/NMP.py:561
↓ 1 callers
Method
forward_test
Test segment without test-time aumengtation. Only the output of last decoder layers was used. Args: inputs (list[Tensor]
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:522
↓ 1 callers
Method
forward_train
Placeholder for Forward function for training.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/base.py:48
↓ 1 callers
Method
forward_train
Forward function for training. Args: img (Tensor): Input images. img_metas (list[dict]): List of image info dict wher
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/encoder_decoder.py:105
↓ 1 callers
Function
fourier_grid_embed
data format: B[spatial dims]C Returns pos_embedding: same format with data
stereo/modeling/models/nmrf/NMP.py:11
↓ 1 callers
Function
free_if_fsdp
(x)
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:65
↓ 1 callers
Function
freeze_model
(model)
stereo/modeling/models/foundationstereo/Utils.py:77
↓ 1 callers
Method
fsdp_synchronize_streams
(self)
stereo/modeling/models/foundationstereo/dinov2/train/ssl_meta_arch.py:348
↓ 1 callers
Function
fuse_params_groups
(all_params_groups, keys=("lr_multiplier", "wd_multiplier", "is_last_layer"))
stereo/modeling/models/foundationstereo/dinov2/utils/param_groups.py:92
↓ 1 callers
Method
gen_disp_pyr
Creates a downscale pyramid for the input tensor.
stereo/modeling/models/iinet/loss.py:60
↓ 1 callers
Method
gen_encoder_output_proposals
Generate proposals from encoded memory. Args: memory (Tensor) : The output of encoder, has shape (bs, num_key, em
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:636
↓ 1 callers
Function
gen_kitti_cmap
()
stereo/modeling/models/nmrf/utils/visualization.py:63
↓ 1 callers
Method
gen_validmask_pyr
(self, disp_pyr: list)
stereo/modeling/models/iinet/loss.py:71
↓ 1 callers
Function
get_args_parser
( description: Optional[str] = None, parents: Optional[List[argparse.ArgumentParser]] = None, add_
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:33
↓ 1 callers
Function
get_args_parser
( description: Optional[str] = None, parents: Optional[List[argparse.ArgumentParser]] = None, add_
stereo/modeling/models/foundationstereo/dinov2/eval/log_regression.py:38
↓ 1 callers
Function
get_args_parser
( description: Optional[str] = None, parents: Optional[List[argparse.ArgumentParser]] = None, add_
stereo/modeling/models/foundationstereo/dinov2/eval/knn.py:29
↓ 1 callers
Function
get_args_parser
(add_help: bool = True)
stereo/modeling/models/foundationstereo/dinov2/train/train.py:30
↓ 1 callers
Function
get_autocast_dtype
(config)
stereo/modeling/models/foundationstereo/dinov2/eval/setup.py:52
↓ 1 callers
Function
get_branges_scales
(x, sample_drop_ratio=0.0)
stereo/modeling/models/foundationstereo/dinov2/layers/block.py:141
↓ 1 callers
Function
get_branges_scales
(x, sample_drop_ratio=0.0)
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/block.py:134
↓ 1 callers
Function
get_cfg_from_args
(args)
stereo/modeling/models/foundationstereo/dinov2/utils/config.py:40
↓ 1 callers
Function
get_checkpoint_path
(cluster_type: Optional[ClusterType] = None)
stereo/modeling/models/foundationstereo/dinov2/utils/cluster.py:38
↓ 1 callers
Method
get_class_id
(self, index: int)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:156
↓ 1 callers
Function
get_cur_disp_range_samples
(cur_disp, ndisp, disp_inteval_pixel, shape, ns_size, using_ns=False, max_disp=192.0)
stereo/modeling/models/casnet/submodule.py:89
↓ 1 callers
Function
get_default_args
(func)
deploy/deploy_utils.py:141
↓ 1 callers
Function
get_extensions
()
stereo/modeling/models/nmrf/ops/setup.py:19
↓ 1 callers
Method
get_image_data
(self, index: int)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/extended.py:17
↓ 1 callers
Method
get_image_relpath
(self, actual_index: int, class_id: Optional[str] = None)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:38
↓ 1 callers
Method
get_maybe_fused_params_for_submodel
(self, m)
stereo/modeling/models/foundationstereo/dinov2/train/ssl_meta_arch.py:371
↓ 1 callers
Method
get_occlusion_mask
(self, shifted)
stereo/datasets/mono.py:115
↓ 1 callers
Method
get_pad_shape
(self, input_shape)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:82
↓ 1 callers
Method
get_params_groups
(self)
stereo/modeling/models/foundationstereo/dinov2/train/ssl_meta_arch.py:384
↓ 1 callers
Function
get_params_groups_with_decay
(model, lr_decay_rate=1.0, patch_embed_lr_mult=1.0)
stereo/modeling/models/foundationstereo/dinov2/utils/param_groups.py:51
↓ 1 callers
Method
get_proposal_pos_embed
Get the position embedding of proposal.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:734
↓ 1 callers
Function
get_rank
()
stereo/modeling/models/nmrf/utils/dist_utils.py:118
↓ 1 callers
Function
get_reference_points
(spatial_shapes, device)
stereo/modeling/models/nmrf/adaptor_modules.py:10
↓ 1 callers
Method
get_reference_points
Get the reference points used in decoder. Args: spatial_shapes (Tensor): The shape of all feature maps, has shape
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:694
↓ 1 callers
Method
get_rpe
(self, x, func)
stereo/modeling/models/nmrf/NMP.py:433
↓ 1 callers
Method
get_shape
(self)
stereo/modeling/models/foundationstereo/dinov2/data/masking.py:46
↓ 1 callers
Function
get_shared_folder
()
stereo/modeling/models/foundationstereo/dinov2/run/submit.py:83
↓ 1 callers
Function
get_size
(base_size, w_range, h_range, random_type)
stereo/datasets/dataset_template.py:45
↓ 1 callers
Method
get_size
(self, width, height)
stereo/modeling/models/foundationstereo/depth_anything/util/transform.py:111
↓ 1 callers
Method
get_size
(self, width, height)
stereo/modeling/models/monster/depth_anything_v2/util/transform.py:62
↓ 1 callers
Function
get_slurm_executor_parameters
( nodes: int, num_gpus_per_node: int, cluster_type: Optional[ClusterType] = None, **kwargs )
stereo/modeling/models/foundationstereo/dinov2/utils/cluster.py:74
↓ 1 callers
Method
get_target
(self, index: int)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/extended.py:20
↓ 1 callers
Function
get_uncertain_point_coords_with_randomness
Get ``num_points`` most uncertain points with random points during train. Sample points in [0, 1] x [0, 1] coordinate space based on their
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/point_sample.py:36
↓ 1 callers
Function
get_uncertainty
Estimate uncertainty based on pred logits. We estimate uncertainty as L1 distance between 0.0 and the logits prediction in 'mask_pred' for th
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/point_sample.py:10
↓ 1 callers
Function
get_user_checkpoint_path
(cluster_type: Optional[ClusterType] = None)
stereo/modeling/models/foundationstereo/dinov2/utils/cluster.py:51
↓ 1 callers
Method
get_valid_ratio
Get the valid radios of feature maps of all level.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:724
↓ 1 callers
Function
get_vit_lr_decay_rate
Calculate lr decay rate for different ViT blocks. Args: name (string): parameter name. lr_decay_rate (float): base lr decay r
stereo/modeling/models/foundationstereo/dinov2/utils/param_groups.py:13
↓ 1 callers
Function
get_world_size
()
stereo/modeling/models/iinet/utils.py:225
↓ 1 callers
Method
gradientloss
(self, input, target)
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/losses/gradientloss.py:33
↓ 1 callers
Function
groupwise_correlation_4D
(fea1, fea2, num_groups)
stereo/modeling/models/cfnet/submodule.py:167
↓ 1 callers
Function
has_batchnorms
(model)
stereo/modeling/models/foundationstereo/dinov2/utils/utils.py:90
↓ 1 callers
Function
has_ddp_wrapper
(m: nn.Module)
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:155
↓ 1 callers
Method
image2tensor
(self, raw_image, input_size=518)
stereo/modeling/models/monster/depth_anything_v2/dpt.py:368
↓ 1 callers
Method
image2tensor
(self, raw_image, input_size=518)
stereo/modeling/models/monster/depth_anything_v2/dpt.py:453
↓ 1 callers
Method
infer_mono
(self, image1, image2)
stereo/modeling/models/monster/monster.py:316
↓ 1 callers
Function
infer_time
(model, shape)
tools/measure.py:50
↓ 1 callers
Function
inference_context
A context where the model is temporarily changed to eval mode, and restored to previous mode afterwards, Args: model: a torch Mo
stereo/modeling/models/nmrf/utils/evaluation.py:278
↓ 1 callers
Method
init_layers
Initialize layers of the DeformableDetrTransformer.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:612
↓ 1 callers
Method
init_offset
(self)
stereo/libs/AANet/deform_conv/deform_conv.py:273
↓ 1 callers
Method
init_offset
(self)
stereo/libs/AANet/deform_conv/deform_conv.py:385
↓ 1 callers
Method
init_weights
(self, pretrained=None)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/backbones/vit.py:503
↓ 1 callers
Method
init_weights
(self)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:469
↓ 1 callers
Method
init_weights
(self)
stereo/modeling/models/foundationstereo/dinov2/hub/depth/decode_heads.py:459
↓ 1 callers
Method
init_weights
(self)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:174
↓ 1 callers
Method
init_weights
(self)
stereo/modeling/models/monster/depth_anything_v2/dinov2.py:172
↓ 1 callers
Method
interpolate_pos_encoding
(self, x, w, h)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:181
↓ 1 callers
Method
interpolate_pos_encoding
(self, x, w, h)
stereo/modeling/models/monster/depth_anything_v2/dinov2.py:179
↓ 1 callers
Function
is_dist_avail_and_initialized
()
stereo/modeling/models/nmrf/utils/dist_utils.py:102
↓ 1 callers
Function
is_fsdp
(x)
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:57
↓ 1 callers
Function
is_list_or_tuple
(x)
stereo/modeling/models/fadnet/submodule.py:16
↓ 1 callers
Function
is_main_process
Returns: True if the current process is the main one.
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:66
↓ 1 callers
Function
is_sharded_fsdp
(x)
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:61
↓ 1 callers
Method
load_fast_foundationstereo
(self, model, filename, device='cpu', logger=None)
stereo/modeling/models/fast_foundationstereo/trainer.py:23
↓ 1 callers
Function
load_model
(model, weights, device=None, inplace=True)
deploy/deploy_utils.py:154
↓ 1 callers
Function
load_params_from_file
(model, filename, device, dist_mode, logger, strict=True)
stereo/utils/common_utils.py:142
↓ 1 callers
Function
log_every_n_seconds
Log no more than once per n seconds. Args: lvl (int): the logging level msg (str): n (int): name (str): name
stereo/modeling/models/nmrf/utils/logger.py:126
↓ 1 callers
Method
log_images
(self, img_path, depth_pred, depth_gt, img_meta)
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/decode_heads/decode_head.py:204
↓ 1 callers
Method
log_images
(self, img_path, depth_pred, depth_gt, img_meta)
stereo/modeling/models/foundationstereo/dinov2/hub/depth/decode_heads.py:197
↓ 1 callers
Method
loss
Loss function. Args: all_cls_scores (Tensor): Classification scores for all decoder layers with shape [num_decode
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:342
↓ 1 callers
Method
loss_coarse
(self, disp_pred, logits_pred, disp_gt)
stereo/modeling/models/nmrf/NMRF.py:420
↓ 1 callers
Method
loss_init
(prob, gt_disp, occlusion_map, occlusion_map_2)
stereo/modeling/models/nmrf/NMRF.py:370
↓ 1 callers
Method
loss_prop
(self, disp_prop, gt_disp)
stereo/modeling/models/nmrf/NMRF.py:331
↓ 1 callers
Method
losses
Compute depth loss.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/decode_heads/decode_head.py:187
↓ 1 callers
Method
losses
Compute depth loss.
stereo/modeling/models/foundationstereo/dinov2/hub/depth/decode_heads.py:180
↓ 1 callers
Function
lossfunc
(t, s, temp)
stereo/modeling/models/foundationstereo/dinov2/loss/ibot_patch_loss.py:20
↓ 1 callers
Function
main
()
tools/check_data.py:29
↓ 1 callers
Function
main
()
tools/eval.py:60
↓ 1 callers
Function
main
()
tools/train.py:65
↓ 1 callers
Function
main
()
tools/resize.py:52
↓ 1 callers
Function
main
()
tools/infer.py:37
↓ 1 callers
Function
main
()
tools/test_kitti.py:64
↓ 1 callers
Function
main
()
tools/measure.py:28
← previous
next →
701–800 of 2,487, ranked by callers