MCPcopy Index your code

hub / github.com/XiandaGuo/OpenStereo / functions

Functions2,487 in github.com/XiandaGuo/OpenStereo

↓ 5 callersMethod_make_layer
(self, dim, stride=1)
stereo/modeling/models/igevpp/extractor.py:269
↓ 5 callersMethod_make_layer
(self, block, planes, blocks, stride, pad, dilation)
stereo/modeling/models/cfnet/cfnet.py:111
↓ 5 callersFunctionbuild_loss
Build loss.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/builder.py:38
↓ 5 callersFunctionbuild_trainer
(args, cfgs, local_rank, global_rank, logger, tb_writer)
stereo/modeling/__init__.py:64
↓ 5 callersMethoddampening
(self)
stereo/utils/warmup.py:57
↓ 5 callersFunctiondisparity_regression
(x, maxdisp)
stereo/modeling/models/gwcnet/gwcnet_disp_processor.py:22
↓ 5 callersMethodget_intermediate_layers
( self, x: torch.Tensor, n: Union[int, Sequence] = 1, # Layers or n last layers to ta
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:300
↓ 5 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/cfnet/submodule.py:158
↓ 5 callersFunctionmake_data_loader
Creates a data loader with the specified parameters. Args: dataset: A dataset (third party, LaViDa or WebDataset). batch_siz
stereo/modeling/models/foundationstereo/dinov2/data/loaders.py:166
↓ 5 callersFunctionresize
(input, size=None, scale_factor=None, mode="nearest", align_corners=None, warning=False)
stereo/modeling/models/foundationstereo/dinov2/hub/depth/ops.py:11
↓ 5 callersMethodsave
Dump model and checkpointables to a file. Args: name (str): name of the file. kwargs (dict): extra arbitrary
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:86
↓ 5 callersFunctionsetup_logging
Setup logging. Args: output: A file name or a directory to save log files. If None, log files will not be saved. If outp
stereo/modeling/models/foundationstereo/dinov2/logging/__init__.py:82
↓ 4 callersMethodNormalize
deploy/cpp/src/transforms.cpp:102
↓ 4 callersMethod__init__
(self, in_channels, out_channels, deconv=False, is_3d=False, concat=True, keep_concat=True, bn=True, relu=True
stereo/modeling/models/igev_rt/submodule.py:40
↓ 4 callersMethod__init__
(self, maxdisp, glue=False, group=1)
stereo/modeling/models/coex/coex_cost_processor.py:11
↓ 4 callersMethod__init__
(self)
stereo/modeling/models/nmrf/hybrid_backbone.py:193
↓ 4 callersMethod__init__
(self, dim)
stereo/modeling/models/nmrf/adaptor_modules.py:60
↓ 4 callersMethod__init__
(self, cfg, in_channels, feat_dims=None)
stereo/modeling/models/fast_foundationstereo/core/foundation_stereo.py:37
↓ 4 callersMethod__init__
(self, input_dim=128, hidden_dim=256, output_dim=1)
stereo/modeling/models/fast_foundationstereo/core/update.py:10
↓ 4 callersMethod__init__
(self, in_channels, out_channels, deconv=False, is_3d=False, concat=True, keep_concat=True, bn=True,
stereo/modeling/models/igev/submodule.py:37
↓ 4 callersMethod__init__
(self, cfgs)
stereo/modeling/models/casnet/cas_gwc.py:333
↓ 4 callersMethod__init__
(self, cfgs)
stereo/modeling/models/casnet/cas_psm.py:322
↓ 4 callersMethod__init__
(self, args)
stereo/modeling/models/foundationstereo/core/extractor.py:322
↓ 4 callersMethod__init__
( self, in_channels, features=256, use_bn=False, out_channels=[256
stereo/modeling/models/monster/depth_anything_v2/dpt.py:39
↓ 4 callersMethod_load_extra
(self, extra_path: str)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:84
↓ 4 callersFunction_make_dinov2_dpt_depther
( *, arch_name: str = "vit_large", pretrained: bool = True, weights: Union[Weights, str] = Wei
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:180
↓ 4 callersFunction_make_dinov2_linear_depther
( *, arch_name: str = "vit_large", layers: int = 4, pretrained: bool = True, weights: Unio
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:70
↓ 4 callersFunction_make_fusion_block
(features, use_bn, size=None)
stereo/modeling/models/nmrf/hybrid_backbone.py:180
↓ 4 callersFunction_make_fusion_block
(features, use_bn, size = None)
stereo/modeling/models/foundationstereo/depth_anything/dpt.py:11
↓ 4 callersMethod_make_layer
(self, out_planes, blocks, stride, padding)
stereo/modeling/backbones/psmnet_backbone.py:87
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride, pad, dilation)
stereo/modeling/models/msnet/submodule.py:208
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride, pad, dilation)
stereo/modeling/models/casnet/cas_gwc.py:105
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride, pad, dilation)
stereo/modeling/models/casnet/cas_psm.py:113
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride, pad, dilation)
stereo/modeling/models/gwcnet/gwcnet_backbone.py:62
↓ 4 callersMethod_make_layer
(self, batch_norm, block, out_planes, blocks, stride, padding, dilation)
stereo/modeling/models/psmnet/psmnet_backbone.py:62
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride, pad, dilation)
stereo/modeling/models/fadnet/submodule.py:578
↓ 4 callersFunctionbilinear_sampler
Wrapper for grid_sample, uses pixel coordinates
stereo/modeling/models/igevpp/utils.py:59
↓ 4 callersFunctioncontext_upsample
(disp_low, up_weights)
stereo/modeling/models/igevpp/submodule.py:177
↓ 4 callersFunctionconv3x3
3x3 convolution with padding
stereo/modeling/models/aanet/submodule.py:8
↓ 4 callersFunctionconvbn_3d
(in_channels, out_channels, kernel_size, stride, pad)
stereo/modeling/models/msnet/submodule.py:37
↓ 4 callersMethodcost_volume_generator
Description: Generates cost-volume using left image features, disaprity samples a
stereo/modeling/models/cfnet/cfnet.py:463
↓ 4 callersFunctiondisp_warp
Warping by disparity Args: img: [B, 3, H, W] disp: [B, 1, H, W], positive padding_mode: 'zeros' or 'border' Returns:
stereo/modeling/models/monster/warp.py:53
↓ 4 callersFunctionextract_features
(model, dataset, batch_size, num_workers, gather_on_cpu=False)
stereo/modeling/models/foundationstereo/dinov2/eval/utils.py:98
↓ 4 callersFunctionget_args_parser
( description: Optional[str] = None, parents: Optional[List[argparse.ArgumentParser]] = None, add_
stereo/modeling/models/foundationstereo/dinov2/run/submit.py:24
↓ 4 callersFunctionget_dist_info
()
stereo/modeling/models/nmrf/utils/dist_utils.py:73
↓ 4 callersFunctionget_pos_fullres
(fx, w, h)
stereo/utils/common_utils.py:274
↓ 4 callersMethodinference
Inference with slide/whole style. Args: img (Tensor): The input image of shape (N, 3, H, W). img_meta (dict): Image i
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:158
↓ 4 callersFunctionis_enabled
Returns: True if distributed training is enabled
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:19
↓ 4 callersMethodlog_every
(self, iterable, print_freq, header=None, n_iterations=None, start_iteration=0)
stereo/modeling/models/foundationstereo/dinov2/logging/helpers.py:66
↓ 4 callersMethodprepare_tokens_with_masks
(self, x, masks=None)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:215
↓ 4 callersMethodprepare_tokens_with_masks
(self, x, masks=None)
stereo/modeling/models/monster/depth_anything_v2/dinov2.py:212
↓ 4 callersMethodrandom
Args: rng (None | int | numpy.random.RandomState): seed or state. kwargs (keyword arguments): - num_p
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/core/box/samplers/sampling_result.py:95
↓ 4 callersFunctionrankstr
()
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:81
↓ 4 callersFunctionround_by_divider
(x)
stereo/modeling/models/foundationstereo/Utils.py:91
↓ 4 callersMethodsample_fmap
fmap: [B, C, H, W] disp_sample: tensor of dim [B*H*W, num_disp], disparity samples radius(int): 2*radius+1 samples will be sa
stereo/modeling/models/nmrf/NMP.py:683
↓ 4 callersFunctionsetup
Create configs and perform basic setups.
stereo/modeling/models/foundationstereo/dinov2/utils/config.py:63
↓ 4 callersFunctionsubmit_jobs
(task_class, args, name: str)
stereo/modeling/models/foundationstereo/dinov2/run/submit.py:92
↓ 4 callersFunctiontransform
(sample)
stereo/modeling/models/foundationstereo/dinov2/data/loaders.py:33
↓ 3 callersFunctionThres_metric
(D_est, D_gt, mask, thres)
stereo/modeling/models/iinet/metrics.py:59
↓ 3 callersMethod__init__
(self, inplanes, planes, stride, downsample, pad, dilation)
stereo/modeling/models/msnet/submodule.py:74
↓ 3 callersMethod__init__
(self, args)
stereo/modeling/models/monster/monster.py:219
↓ 3 callersMethod__init__
(self, cfgs, use_concat_volume=False)
stereo/modeling/models/cfnet/cfnet.py:266
↓ 3 callersMethod__init__
(self, in_channels, out_channels, kernel_size,
stereo/libs/AANet/deform_conv/deform_conv.py:192
↓ 3 callersFunction_get_activation_fn
Return an activation function given a string
stereo/modeling/models/nmrf/NMP.py:984
↓ 3 callersMethod_get_entries_path
(self, root: Optional[str] = None)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:123
↓ 3 callersMethod_load_extra
(self, extra_path: str)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:185
↓ 3 callersMethod_make_layer
(self, dim, stride=1)
stereo/modeling/models/igev_rt/extractor.py:169
↓ 3 callersMethod_make_layer
(self, dim, stride=1, dilation=1, norm_layer=nn.InstanceNorm2d)
stereo/modeling/models/nmrf/backbone.py:77
↓ 3 callersMethod_make_layer
(self, dim, stride=1)
stereo/modeling/models/igev/extractor.py:162
↓ 3 callersMethod_make_layer
(self, dim, stride=1)
stereo/modeling/models/monster/extractor.py:168
↓ 3 callersMethod_make_layer
(self, dim, stride=1)
stereo/modeling/models/igevpp/extractor.py:169
↓ 3 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
stereo/modeling/models/aanet/submodule.py:165
↓ 3 callersFunction_run
(command)
stereo/modeling/models/nmrf/utils/misc.py:70
↓ 3 callersFunction_run
(command)
stereo/modeling/models/foundationstereo/dinov2/utils/utils.py:49
↓ 3 callersMethod_save_extra
(self, extra_array: np.ndarray, extra_path: str)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:88
↓ 3 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/segmentation_m2f/core/utils/misc.py:31
↓ 3 callersFunctionall_gather_and_flatten
(tensor_rank)
stereo/modeling/models/foundationstereo/dinov2/eval/utils.py:86
↓ 3 callersFunctionbuild_concat_volume
(refimg_fea, targetimg_fea, maxdisp)
stereo/modeling/models/cfnet/submodule.py:144
↓ 3 callersFunctionbuild_gwc_volume
(refimg_fea, targetimg_fea, maxdisp, num_groups)
stereo/modeling/models/cfnet/submodule.py:176
↓ 3 callersFunctionbuild_match_cost
Build Match Cost.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/builder.py:13
↓ 3 callersFunctionbuild_metric
(metric_type: MetricType, *, num_classes: int, ks: Optional[tuple] = None)
stereo/modeling/models/foundationstereo/dinov2/eval/metrics.py:43
↓ 3 callersFunctionbuild_transform_by_cfg
(transform_config)
stereo/datasets/dataset_template.py:9
↓ 3 callersMethodclear
(self)
stereo/modeling/models/iinet/utils.py:165
↓ 3 callersFunctiondefault_conv
(in_channels, out_channels, kernel_size, bias=True)
stereo/modeling/models/monster/refinement.py:360
↓ 3 callersFunctiondisparity_regression
(prob, maxdisp, interval)
stereo/modeling/models/igevpp/submodule.py:147
↓ 3 callersFunctiondisparity_regression
(x, maxdisp)
stereo/modeling/models/cfnet/submodule.py:121
↓ 3 callersMethodencode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:76
↓ 3 callersMethodencode_decode
Encode images with backbone and decode into a depth estimation map of the same size as input.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/encoder_decoder.py:69
↓ 3 callersMethodencode_decode
Encode images with backbone and decode into a depth estimation map of the same size as input.
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:56
↓ 3 callersFunctionevaluate
( model: nn.Module, data_loader, postprocessors: Dict[str, nn.Module], metrics: Dict[str, Metr
stereo/modeling/models/foundationstereo/dinov2/eval/utils.py:48
↓ 3 callersFunctionevaluate_linear_classifiers
( feature_model, linear_classifiers, data_loader, metric_type, metrics_file_path, trai
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:260
↓ 3 callersMethodextract_feat
Extract features from images.
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:47
↓ 3 callersMethodforward_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/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:119
↓ 3 callersFunctionfourier_coord_embed
coord: [...]D returns: [...]dim, where dim=(2*N_freqs+1)*D
stereo/modeling/models/nmrf/NMP.py:35
↓ 3 callersMethodfreeze_bn
(self)
stereo/modeling/models/nmrf/NMRF.py:140
↓ 3 callersMethodgen_window_attn_mask
Generating attention mask to prevent message passing along self edges. Args: window_size (tuple[int]): The height, width
stereo/modeling/models/nmrf/NMP.py:196
↓ 3 callersFunctiongetElementSize
deploy/cpp/src/inference.cpp:17
↓ 3 callersMethodget_active_filter
(self, in_channel, out_channel=None)
stereo/modeling/models/fadnet/submodule.py:278
↓ 3 callersFunctionget_cluster_type
(cluster_type: Optional[ClusterType] = None)
stereo/modeling/models/foundationstereo/dinov2/utils/cluster.py:31
↓ 3 callersFunctionget_fsdp_modules
(x)
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:72
← previousnext →101–200 of 2,487, ranked by callers