MCPcopy Create free account

hub / github.com/XiandaGuo/OpenStereo / functions

Functions2,487 in github.com/XiandaGuo/OpenStereo

↓ 1 callersMethod__init__
(self, in_channels, out_channels, kernel_size=3, stride=1, padding=0, bias=False, norm_layer=
stereo/modeling/common/basic_block_3d.py:6
↓ 1 callersMethod__init__
(self, in_channels, out_channels, kernel_size=3, stride=1, padding=0, bias=False, norm_layer=
stereo/modeling/common/basic_block_2d.py:7
↓ 1 callersMethod__init__
(self, chan_low, chan_high)
stereo/modeling/models/lightstereo/backbone.py:12
↓ 1 callersMethod__init__
(self, n_feats: int, expansion_ratio: int, res_scale: int = 1.0)
stereo/modeling/models/sttr/utilities/context_adjustment_layer.py:57
↓ 1 callersMethod__init__
(self, in_channels, out_channels, norm_layer, concat=True)
stereo/modeling/models/stereobase/igev_blocks.py:11
↓ 1 callersMethod__init__
(self)
stereo/modeling/models/stereobase/backbone.py:33
↓ 1 callersMethod__init__
(self, max_disparity=192, top_k=2)
stereo/modeling/models/coex/coex_disp_processor.py:20
↓ 1 callersMethod__init__
aux_loss: True if auxiliary intermediate losses (losses at each encoder/decoder layer)
stereo/modeling/models/nmrf/NMRF.py:26
↓ 1 callersMethod__init__
Args: thres (list[str] or None): threshold for outlier only_valid (bool): whether invalid pixels are excluded from ev
stereo/modeling/models/nmrf/utils/evaluation.py:295
↓ 1 callersMethod__init__
(self, cfgs)
stereo/modeling/models/msnet/MSNet3D.py:49
↓ 1 callersMethod__init__
(self, cfgs)
stereo/modeling/models/msnet/MSNet2D.py:49
↓ 1 callersMethod__init__
(self, in_channels)
stereo/modeling/models/msnet/msnet_utils/msnet_blocks.py:50
↓ 1 callersMethod__init__
(self, args)
stereo/modeling/models/fast_foundationstereo/core/extractor.py:38
↓ 1 callersMethod__init__
(self, layers:list)
stereo/modeling/models/fast_foundationstereo/core/distill_block.py:12
↓ 1 callersMethod__init__
(self, in_channels)
stereo/modeling/models/igev/igev_stereo.py:8
↓ 1 callersMethod__init__
Init. Args: features (int): number of features
stereo/modeling/models/foundationstereo/depth_anything/blocks.py:41
↓ 1 callersMethod__init__
(self, model)
stereo/modeling/models/foundationstereo/dinov2/eval/utils.py:22
↓ 1 callersMethod__init__
(self, train_features, train_labels, nb_knn, T, device, num_classes=1000)
stereo/modeling/models/foundationstereo/dinov2/eval/knn.py:109
↓ 1 callersMethod__init__
( self, num_feats, temperature=10000, normalize=False, scale=2 * math.pi, eps=1e-6, offset=0.0, init_c
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/positional_encoding.py:40
↓ 1 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
stereo/modeling/models/foundationstereo/dinov2/layers/swiglu_ffn.py:15
↓ 1 callersMethod__init__
(self, max_disp: int = -1, loss_weight: dict = None, out_scales=4, disp_scale=16)
stereo/modeling/models/iinet/loss.py:30
↓ 1 callersMethod__init__
( self, inplanes: int, planes: int, stride: int = 1, groups: int
stereo/modeling/models/iinet/layers.py:29
↓ 1 callersMethod__init__
Init. Args: features (int): number of features
stereo/modeling/models/monster/depth_anything_v2/util/blocks.py:33
↓ 1 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/swiglu_ffn.py:14
↓ 1 callersMethod__init__
(self, max_disp, start_disp=0, dilation=1, alpha=1.0, normalize=True)
stereo/modeling/models/psmnet/psmnet_disp_processor.py:29
↓ 1 callersMethod__init__
(self, data_info, data_cfg, mode)
stereo/datasets/sceneflow_dataset.py:14
↓ 1 callersMethod__setitem__
(self, key, value)
stereo/modeling/models/sttr/utilities/__init__.py:25
↓ 1 callersMethod__setitem__
(self, key, value)
stereo/modeling/models/igev/utils.py:125
↓ 1 callersMethod_add_level_embed
(self, c2, c3, c4)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/backbones/vit_adapter.py:122
↓ 1 callersMethod_alternating_attn
Alternate self and cross attention with gradient checkpointing to save memory :param feat: image feature concatenated from left and
stereo/modeling/models/sttr/utilities/transformer.py:37
↓ 1 callersMethod_append_sample
(self, left_images)
stereo/datasets/foundationstereo.py:43
↓ 1 callersMethod_auxiliary_head_forward_train
Run forward function and calculate loss for auxiliary head in training.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:99
↓ 1 callersMethod_binary_cross_entropy
Args: cls_pred (Tensor): The prediction with shape (num_query, 1, *) or (num_query, *). gt_labels (Te
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/losses/match_costs.py:119
↓ 1 callersFunction_build_mlp
(nlayers, in_dim, bottleneck_dim, hidden_dim=None, use_bn=False, bias=True)
stereo/modeling/models/foundationstereo/dinov2/layers/dino_head.py:44
↓ 1 callersFunction_cached_log_stream
(filename)
stereo/modeling/models/nmrf/utils/logger.py:94
↓ 1 callersFunction_collect_env_vars
()
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:120
↓ 1 callersMethod_compute_gt_location
Find target locations using ground truth disparity. Find ground truth response at those locations using attention weight. :p
stereo/modeling/models/sttr/utilities/regression_head.py:76
↓ 1 callersMethod_compute_low_res_disp
Compute low res disparity using the attention weight by finding the most attended pixel and regress within the 3px window :param pos
stereo/modeling/models/sttr/utilities/regression_head.py:39
↓ 1 callersMethod_compute_low_res_occ
Compute low res occlusion by using inverse of the matched values :param matched_attn: updated attention weight without dustbins, [N,
stereo/modeling/models/sttr/utilities/regression_head.py:209
↓ 1 callersMethod_compute_unscaled_pos_shift
Compute relative difference between each pixel location from left image to right image, to be used to calculate disparity :p
stereo/modeling/models/sttr/utilities/regression_head.py:24
↓ 1 callersFunction_configure_logger
Configure a logger. Adapted from Detectron2. Args: name: The name of the logger to configure. level: The logging level
stereo/modeling/models/foundationstereo/dinov2/logging/__init__.py:18
↓ 1 callersMethod_decode_head_forward_test
Run forward function and calculate loss for decode head in inference.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:93
↓ 1 callersMethod_decode_head_forward_test
Run forward function and calculate loss for decode head in inference.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/encoder_decoder.py:93
↓ 1 callersMethod_decode_head_forward_test
Run forward function and calculate loss for decode head in inference.
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:80
↓ 1 callersMethod_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:84
↓ 1 callersMethod_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/encoder_decoder.py:85
↓ 1 callersMethod_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:72
↓ 1 callersMethod_disable_batchnorm_tracking
disable Batchnorm tracking stats to reduce dependency on dataset (this acts as InstanceNorm with affine when batch size is 1)
stereo/modeling/models/sttr/sttr.py:60
↓ 1 callersMethod_dump_class_ids
(self, *args, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:280
↓ 1 callersMethod_dump_class_ids_and_names
(self)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:252
↓ 1 callersMethod_dump_entries
(self, *args, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:242
↓ 1 callersMethod_dump_entries
(self)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:186
↓ 1 callersMethod_dump_extra
(self, *args, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:297
↓ 1 callersMethod_expand_batch_with_channels
(self, x)
stereo/modeling/models/iinet/layers.py:111
↓ 1 callersFunction_expand_onehot_labels
Expand onehot labels to match the size of prediction.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/losses/cross_entropy_loss.py:65
↓ 1 callersFunction_find_caller
Returns: str: module name of the caller tuple: a hashable key to be used to identify different callers
stereo/modeling/models/nmrf/utils/logger.py:105
↓ 1 callersMethod_find_class_ids
(self, path: str)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:129
↓ 1 callersMethod_forward_feature
Forward function for feature maps before classifying each pixel with ``self.cls_seg`` fc. Args: inputs (list[Tensor]): Lis
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/decode_heads/linear_head.py:57
↓ 1 callersMethod_forward_feature
Forward function for feature maps before classifying each pixel with ``self.cls_seg`` fc. Args: inputs (list[Tensor]): Li
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation/models/decode_heads/linear_head.py:24
↓ 1 callersMethod_forward_feature
Forward function for feature maps before classifying each pixel with ``self.cls_seg`` fc. Args: inputs (list[Tensor]): Lis
stereo/modeling/models/foundationstereo/dinov2/hub/depth/decode_heads.py:265
↓ 1 callersMethod_forward_pair
Estimate disparity between pair of frames
stereo/modeling/models/monster/monster.py:350
↓ 1 callersMethod_freeze_stages
(self)
stereo/modeling/models/nmrf/swin.py:629
↓ 1 callersMethod_gather_all_knn_for_rank
(self, topk_sims, neighbors_labels, target_rank)
stereo/modeling/models/foundationstereo/dinov2/eval/knn.py:144
↓ 1 callersFunction_generate_randperm_indices
Generate the indices of a random permutation.
stereo/modeling/models/foundationstereo/dinov2/data/samplers.py:63
↓ 1 callersMethod_generate_square_subsequent_mask
Generate a mask which is upper triangular :param sz: square matrix size :return: diagonal binary mask [sz,sz]
stereo/modeling/models/sttr/utilities/transformer.py:213
↓ 1 callersFunction_get_available_port
()
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:101
↓ 1 callersMethod_get_class_ids
(self)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:111
↓ 1 callersMethod_get_class_names
(self)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:119
↓ 1 callersFunction_get_global_gloo_group
Return a process group based on gloo backend, containing all the ranks The result in cached.
stereo/modeling/models/nmrf/utils/dist_utils.py:175
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:286
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
stereo/modeling/models/monster/depth_anything_v2/dinov2.py:283
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:274
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
stereo/modeling/models/monster/depth_anything_v2/dinov2.py:271
↓ 1 callersMethod_get_local_indices
(total_size, world_size, rank)
stereo/modeling/models/nmrf/utils/evaluation.py:62
↓ 1 callersFunction_get_master_port
(seed: int = 0)
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:90
↓ 1 callersFunction_get_numpy_dtype
(size: int)
stereo/modeling/models/foundationstereo/dinov2/data/samplers.py:55
↓ 1 callersMethod_get_pad
(self, size)
stereo/modeling/models/foundationstereo/dinov2/hub/utils.py:28
↓ 1 callersMethod_get_pos_embed
(self, pos_embed, H, W)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/backbones/vit_adapter.py:107
↓ 1 callersFunction_get_tarball_path
(class_id: str)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:55
↓ 1 callersFunction_guess_cluster_type
()
stereo/modeling/models/foundationstereo/dinov2/utils/cluster.py:18
↓ 1 callersFunction_imdenormalize
(img, mean, std, to_bgr=True)
stereo/modeling/models/foundationstereo/dinov2/hub/depth/decode_heads.py:18
↓ 1 callersMethod_infer_shape
(ctx, input, weight)
stereo/libs/AANet/deform_conv/deform_conv.py:174
↓ 1 callersMethod_init
(self)
stereo/modeling/disp_refinement/gru_blocks.py:111
↓ 1 callersMethod_init
(self)
stereo/modeling/models/stereobase/gru_blocks.py:111
↓ 1 callersMethod_init_auxiliary_head
Initialize ``auxiliary_head``
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:59
↓ 1 callersMethod_init_decode_head
Initialize ``decode_head``
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:53
↓ 1 callersMethod_init_decode_head
Initialize ``decode_head``
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/encoder_decoder.py:57
↓ 1 callersFunction_init_dist_mpi
(backend, **kwargs)
stereo/modeling/models/nmrf/utils/dist_utils.py:33
↓ 1 callersFunction_init_dist_pytorch
(backend, **kwargs)
stereo/modeling/models/nmrf/utils/dist_utils.py:25
↓ 1 callersFunction_init_dist_slurm
Initialize slurm distributed training environment. If argument ``port`` is not specified, them the master port will be system environment vari
stereo/modeling/models/nmrf/utils/dist_utils.py:40
↓ 1 callersFunction_is_contiguous
(tensor: torch.Tensor)
stereo/modeling/models/fast_foundationstereo/core/submodule.py:16
↓ 1 callersFunction_is_contiguous
(tensor: torch.Tensor)
stereo/modeling/models/foundationstereo/core/submodule.py:20
↓ 1 callersFunction_is_power_of_2
(n)
stereo/modeling/models/nmrf/ops/modules/ms_deform_attn.py:22
↓ 1 callersFunction_is_power_of_2
(n)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:57
↓ 1 callersFunction_is_slurm_job_process
()
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:124
↓ 1 callersMethod_iterator
(self)
stereo/modeling/models/foundationstereo/dinov2/data/samplers.py:104
↓ 1 callersMethod_iterator
(self)
stereo/modeling/models/foundationstereo/dinov2/data/samplers.py:201
↓ 1 callersMethod_load_entries_class_ids
(self, root: Optional[str] = None)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:141
↓ 1 callersMethod_load_from_state_dict
(self, state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys
stereo/libs/AANet/deform_conv/deform_conv.py:282
↓ 1 callersMethod_load_labels
(self, labels_path: str)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:171
← previousnext →401–500 of 2,487, ranked by callers