MCPcopy Create free account

hub / github.com/XiandaGuo/OpenStereo / functions

Functions2,487 in github.com/XiandaGuo/OpenStereo

↓ 1 callersFunction_make_dinov2_dpt_depth_head
(*, embed_dim: int, min_depth: float, max_depth: float)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:167
↓ 1 callersFunction_make_dinov2_linear_classification_head
( *, arch_name: str = "vit_large", patch_size: int = 14, embed_dim: int = 1024, layers: in
stereo/modeling/models/foundationstereo/dinov2/hub/classifiers.py:20
↓ 1 callersFunction_make_dinov2_linear_depth_head
( *, embed_dim: int, layers: int, min_depth: float, max_depth: float, **kwargs, )
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:36
↓ 1 callersFunction_make_mmap_tarball
(tarballs_root: str, mmap_cache_size: int)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:59
↓ 1 callersFunction_make_sampler
( *, dataset, type: Optional[SamplerType] = None, shuffle: bool = False, seed: int = 0,
stereo/modeling/models/foundationstereo/dinov2/data/loaders.py:100
↓ 1 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
stereo/modeling/models/foundationstereo/depth_anything/blocks.py:4
↓ 1 callersFunction_make_seed
(seed: int, start: int, iter_count: int)
stereo/modeling/models/foundationstereo/dinov2/data/samplers.py:160
↓ 1 callersMethod_mask
(self, mask, max_mask_patches)
stereo/modeling/models/foundationstereo/dinov2/data/masking.py:49
↓ 1 callersMethod_optimal_transport
Perform Differentiable Optimal Transport in Log-space for stability Adapted from SuperGlue (https://github.com/magicleap/SuperGluePre
stereo/modeling/models/sttr/utilities/regression_head.py:164
↓ 1 callersMethod_output_size
(input, weight, padding, dilation, stride)
stereo/libs/AANet/deform_conv/deform_conv.py:97
↓ 1 callersFunction_parse_dataset_str
(dataset_str: str)
stereo/modeling/models/foundationstereo/dinov2/data/loaders.py:44
↓ 1 callersMethod_parse_losses
Parse the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/base.py:163
↓ 1 callersMethod_parse_losses
(losses)
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:323
↓ 1 callersFunction_parse_slurm_node_list
(s: str)
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:128
↓ 1 callersMethod_reduce_batch_to_channels
(self, x)
stereo/modeling/models/iinet/layers.py:119
↓ 1 callersMethod_relu_inplace
make all ReLU inplace
stereo/modeling/models/sttr/sttr.py:71
↓ 1 callersMethod_reset_parameters
xavier initialize all params
stereo/modeling/models/sttr/sttr.py:47
↓ 1 callersFunction_restrict_print_to_main_process
This function disables printing when not in the main process
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:74
↓ 1 callersMethod_sample_neg
Sample negative samples.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/core/box/samplers/base_sampler.py:30
↓ 1 callersMethod_sample_pos
Sample positive samples.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/core/box/samplers/base_sampler.py:25
↓ 1 callersMethod_set_aux_loss
(self, disp_pred, coarse_disp, logits_pred)
stereo/modeling/models/nmrf/NMRF.py:290
↓ 1 callersMethod_set_from_local
(self)
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:210
↓ 1 callersMethod_set_from_preset_env
(self)
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:198
↓ 1 callersMethod_set_from_slurm_env
(self)
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:181
↓ 1 callersMethod_setup_args
(self)
stereo/modeling/models/foundationstereo/dinov2/run/eval/linear.py:35
↓ 1 callersMethod_setup_args
(self)
stereo/modeling/models/foundationstereo/dinov2/run/eval/log_regression.py:35
↓ 1 callersMethod_setup_args
(self)
stereo/modeling/models/foundationstereo/dinov2/run/eval/knn.py:35
↓ 1 callersMethod_setup_args
(self)
stereo/modeling/models/foundationstereo/dinov2/run/train/train.py:35
↓ 1 callersMethod_setup_figure
Args: Same as in :meth:`__init__()`. Returns: fig (matplotlib.pyplot.figure): top level container for all th
stereo/modeling/models/nmrf/utils/visualization.py:98
↓ 1 callersMethod_shuffled_iterator
(self)
stereo/modeling/models/foundationstereo/dinov2/data/samplers.py:111
↓ 1 callersMethod_shuffled_iterator
(self)
stereo/modeling/models/foundationstereo/dinov2/data/samplers.py:208
↓ 1 callersMethod_similarity_for_rank
(self, features_rank, source_rank)
stereo/modeling/models/foundationstereo/dinov2/eval/knn.py:129
↓ 1 callersMethod_sinkhorn
Sinkhorn Normalization in Log-space as matrix scaling problem. Regularization strength is set to 1 to avoid manual checking for numer
stereo/modeling/models/sttr/utilities/regression_head.py:143
↓ 1 callersMethod_softmax
Alternative to optimal transport :param attn: raw attention weight, [N,H,W,W] :return: updated attention weight, [N,H,W+1,W+
stereo/modeling/models/sttr/utilities/regression_head.py:192
↓ 1 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor]): List of multi-level img features. Returns: Tensor:
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/decode_heads/linear_head.py:29
↓ 1 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor]): List of multi-level img features. Returns: Tensor:
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation/models/decode_heads/linear_head.py:42
↓ 1 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor]): List of multi-level img features. Returns: Tensor:
stereo/modeling/models/foundationstereo/dinov2/hub/depth/decode_heads.py:237
↓ 1 callersMethod_upsample
Upsample the raw prediction to full resolution :param x: input data :param disp_pred: predicted disp at low res :par
stereo/modeling/models/sttr/utilities/regression_head.py:105
↓ 1 callersFunctionadd_prefix
Add prefix for dict. Args: inputs (dict): The input dict with str keys. prefix (str): The prefix to add. Returns: d
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/encoder_decoder.py:15
↓ 1 callersFunctionadd_prefix
Add prefix for dict. Args: inputs (dict): The input dict with str keys. prefix (str): The prefix to add. Returns: d
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:15
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
stereo/modeling/models/foundationstereo/dinov2/layers/block.py:149
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/block.py:142
↓ 1 callersMethodaggregate_loss
compute weighted sum of loss :param loss_dict: dictionary of losses
stereo/modeling/models/sttr/utilities/loss.py:171
↓ 1 callersMethodaggregate_loss
compute weighted sum of loss :param loss_dict: dictionary of losses
stereo/modeling/models/iinet/loss.py:225
↓ 1 callersMethodany_requires_grad
(self, input)
stereo/modeling/models/sttr/utilities/densenet_in.py:46
↓ 1 callersMethodapply_center_update
(self)
stereo/modeling/models/foundationstereo/dinov2/loss/ibot_patch_loss.py:141
↓ 1 callersMethodapply_center_update
(self)
stereo/modeling/models/foundationstereo/dinov2/loss/dino_clstoken_loss.py:89
↓ 1 callersFunctionapply_optim_scheduler
(optimizer, lr, wd, last_layer_lr)
stereo/modeling/models/foundationstereo/dinov2/train/train.py:113
↓ 1 callersFunctionapply_scaling_rules_to_cfg
(cfg)
stereo/modeling/models/foundationstereo/dinov2/utils/config.py:21
↓ 1 callersFunctionas_torch_dtype
(dtype: TypeSpec)
stereo/modeling/models/foundationstereo/dinov2/utils/dtype.py:31
↓ 1 callersMethodassign
Assign boxes to either a ground truth boxes or a negative boxes.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/assigner.py:40
↓ 1 callersFunctionattn_qkv
author: Qian Zhou This function is to support both SDPA and FlashAttention based on input dtype. if input dtype is fp32, it will use SDPA
stereo/modeling/models/foundationstereo/core/submodule.py:195
↓ 1 callersMethodaug_test
Placeholder for augmentation test.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/base.py:58
↓ 1 callersMethodaug_test
Test with augmentations. Only rescale=True is supported.
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:205
↓ 1 callersMethodbackprop_loss
(self, loss)
stereo/modeling/models/foundationstereo/dinov2/train/ssl_meta_arch.py:126
↓ 1 callersFunctionbf_match
This function computes an assignment between the targets and the predictions of the network. The targets include null (=0) disparity. We do a 1-
stereo/modeling/models/nmrf/matcher.py:6
↓ 1 callersFunctionbilinear_sampler
Wrapper for grid_sample, uses pixel coordinates
stereo/modeling/models/igev_rt/utils.py:59
↓ 1 callersMethodbinary_mask_dice_loss
Args: mask_preds (Tensor): Mask prediction in shape (N1, H, W). gt_masks (Tensor): Ground truth in shape (N2, H, W)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/losses/match_costs.py:71
↓ 1 callersFunctionbuild
(cfg)
stereo/modeling/models/nmrf/NMRF.py:491
↓ 1 callersFunctionbuild_assigner
Build Assigner.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/builder.py:18
↓ 1 callersFunctionbuild_backbone
(args)
stereo/modeling/models/sttr/utilities/feat_extractor_backbone.py:105
↓ 1 callersMethodbuild_clip_grad
(self)
stereo/modeling/trainer_template.py:148
↓ 1 callersFunctionbuild_concat_volume
(refimg_fea, targetimg_fea, maxdisp)
stereo/modeling/cost_volume/cost_volume.py:81
↓ 1 callersFunctionbuild_concat_volume
(refimg_fea, targetimg_fea, maxdisp)
stereo/modeling/models/foundationstereo/core/submodule.py:450
↓ 1 callersMethodbuild_concat_volume
(self, x, y, disp_range_samples, ndisp)
stereo/modeling/models/casnet/cas_gwc.py:294
↓ 1 callersMethodbuild_concat_volume
(self, refimg_fea, targetimg_fea)
stereo/modeling/models/gwcnet/gwcnet_cost_processor.py:41
↓ 1 callersFunctionbuild_concat_volume_optimized_pytorch
(refimg_fea, targetimg_fea, maxdisp:int)
stereo/modeling/models/fast_foundationstereo/core/submodule.py:483
↓ 1 callersFunctionbuild_concat_volume_optimized_pytorch1
(refimg_fea, targetimg_fea, maxdisp:int)
stereo/modeling/models/fast_foundationstereo/core/submodule.py:493
↓ 1 callersFunctionbuild_context_adjustment_layer
(args)
stereo/modeling/models/sttr/utilities/context_adjustment_layer.py:70
↓ 1 callersMethodbuild_corr
(self,img_left, img_right, max_disp=40, zero_volume=None)
stereo/modeling/models/fadnet/fadnet.py:31
↓ 1 callersFunctionbuild_correlation_volume
(refimg_fea, targetimg_fea, maxdisp, num_groups)
stereo/modeling/models/nmrf/submodule.py:13
↓ 1 callersFunctionbuild_criterion
(args)
stereo/modeling/models/sttr/utilities/loss.py:215
↓ 1 callersFunctionbuild_criterion
(opts, loss_weight)
stereo/modeling/models/iinet/loss.py:289
↓ 1 callersMethodbuild_eval_loader
(self)
stereo/modeling/trainer_template.py:68
↓ 1 callersFunctionbuild_gwc_volume
(refimg_fea, targetimg_fea, maxdisp, num_groups)
stereo/modeling/cost_volume/cost_volume.py:68
↓ 1 callersFunctionbuild_gwc_volume
(refimg_fea, targetimg_fea, maxdisp, num_groups)
stereo/modeling/models/igev_rt/submodule.py:159
↓ 1 callersFunctionbuild_gwc_volume
(refimg_fea, targetimg_fea, maxdisp, num_groups)
stereo/modeling/models/msnet/submodule.py:262
↓ 1 callersFunctionbuild_gwc_volume
(refimg_fea, targetimg_fea, maxdisp, num_groups)
stereo/modeling/models/igev/submodule.py:167
↓ 1 callersFunctionbuild_gwc_volume
@refimg_fea: left image feature @targetimg_fea: right image feature
stereo/modeling/models/foundationstereo/core/submodule.py:433
↓ 1 callersFunctionbuild_gwc_volume
(refimg_fea, targetimg_fea, maxdisp, num_groups)
stereo/modeling/models/monster/submodule.py:159
↓ 1 callersFunctionbuild_gwc_volume
(refimg_fea, targetimg_fea, maxdisp, num_groups)
stereo/modeling/models/igevpp/submodule.py:87
↓ 1 callersMethodbuild_gwc_volume
(self, x, y, disp_range_samples, ndisp, num_groups)
stereo/modeling/models/casnet/cas_gwc.py:306
↓ 1 callersMethodbuild_gwc_volume
(self, refimg_fea, targetimg_fea)
stereo/modeling/models/gwcnet/gwcnet_cost_processor.py:22
↓ 1 callersFunctionbuild_gwc_volume_optimized_pytorch1
(refimg_fea: torch.Tensor, targetimg_fea: torch.Tensor, maxdisp: int, num_groups: int, normalize=True)
stereo/modeling/models/fast_foundationstereo/core/submodule.py:377
↓ 1 callersFunctionbuild_model
(args, only_teacher=False, img_size=224)
stereo/modeling/models/foundationstereo/dinov2/models/__init__.py:14
↓ 1 callersMethodbuild_model
(self, model)
stereo/modeling/trainer_template.py:79
↓ 1 callersFunctionbuild_model_for_eval
(config, pretrained_weights)
stereo/modeling/models/foundationstereo/dinov2/eval/setup.py:62
↓ 1 callersFunctionbuild_optimizer
(cfg, params_groups)
stereo/modeling/models/foundationstereo/dinov2/train/train.py:61
↓ 1 callersMethodbuild_optimizer
(self, params, base_lr)
stereo/modeling/models/nmrf/trainer.py:22
↓ 1 callersMethodbuild_optimizer_and_scheduler
(self)
stereo/modeling/trainer_template.py:104
↓ 1 callersFunctionbuild_position_encoding
(args)
stereo/modeling/models/sttr/utilities/pos_encoder.py:69
↓ 1 callersFunctionbuild_prior_generator
(cfg, default_args=None)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/core/anchor/builder.py:15
↓ 1 callersFunctionbuild_regression_head
(args)
stereo/modeling/models/sttr/utilities/regression_head.py:299
↓ 1 callersFunctionbuild_sampler
Builder of box sampler.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/core/box/builder.py:12
↓ 1 callersFunctionbuild_schedulers
(cfg)
stereo/modeling/models/foundationstereo/dinov2/train/train.py:65
↓ 1 callersFunctionbuild_sub_volume
(feat_l, feat_r, maxdisp)
stereo/modeling/cost_volume/cost_volume.py:108
↓ 1 callersFunctionbuild_tokenizer
(args, layer_channel)
stereo/modeling/models/sttr/utilities/feat_extractor_tokenizer.py:122
↓ 1 callersFunctionbuild_topk_imagenet_real_accuracy_metric
(num_classes: int, ks: tuple = (1, 5))
stereo/modeling/models/foundationstereo/dinov2/eval/metrics.py:66
↓ 1 callersMethodbuild_train_loader
(self)
stereo/modeling/trainer_template.py:57
↓ 1 callersFunctionbuild_transformer
(args)
stereo/modeling/models/sttr/utilities/transformer.py:225
← previousnext →501–600 of 2,487, ranked by callers