MCPcopy Create free account

hub / github.com/XiandaGuo/OpenStereo / functions

Functions2,487 in github.com/XiandaGuo/OpenStereo

↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/block.py:181
↓ 2 callersMethodevaluate
(self, current_epoch)
stereo/modeling/trainer_template.py:171
↓ 2 callersFunctionevaluate_model
(*, logreg_model, logreg_metric, test_data_loader, device)
stereo/modeling/models/foundationstereo/dinov2/eval/log_regression.py:147
↓ 2 callersMethodexport
(self, *, overwrite: bool)
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:219
↓ 2 callersFunctionexport_formats
()
deploy/export.py:81
↓ 2 callersMethodextract_feat
Extract features from images.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:69
↓ 2 callersMethodextract_feat
Extract features from images.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/encoder_decoder.py:62
↓ 2 callersFunctionfile_size
(path)
deploy/deploy_utils.py:130
↓ 2 callersMethodforward
Estimate disparity between pair of frames
stereo/modeling/models/fast_foundationstereo/core/foundation_stereo.py:187
↓ 2 callersMethodforward
(self, data)
stereo/modeling/models/foundationstereo/core/foundation_stereo.py:195
↓ 2 callersMethodforward
Forward function for `FFN`. The function would add x to the output tensor if residue is None.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:298
↓ 2 callersMethodforward
Placeholder of forward function.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/decode_heads/decode_head.py:112
↓ 2 callersMethodforward
Placeholder of forward function.
stereo/modeling/models/foundationstereo/dinov2/hub/depth/decode_heads.py:108
↓ 2 callersMethodforward_features
(self, x, masks=None)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:256
↓ 2 callersMethodforward_head
Forward for head part which is called after every decoder layer. Args: decoder_out (Tensor): in shape (num_queries, batch_size, c
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:383
↓ 2 callersMethodforward_test
Args: imgs (List[Tensor]): the outer list indicates test-time augmentations and inner Tensor should have a shape
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/base.py:62
↓ 2 callersMethodforward_test
Args: imgs (List[Tensor]): the outer list indicates test-time augmentations and inner Tensor should have a shape
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:223
↓ 2 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/hub/depth/encoder_decoder.py:92
↓ 2 callersFunctiongen_error_colormap
()
stereo/modeling/models/nmrf/utils/visualization.py:21
↓ 2 callersMethodgen_shift_window_attn_mask
input_resolution (tuple[int]): The height and width of input window_size (tuple[int]): The height, width and depth of window
stereo/modeling/models/nmrf/NMP.py:803
↓ 2 callersMethodgenerate_disparity_samples
Description: Generates "sample_count" number of disparity samples from the sea
stereo/modeling/models/cfnet/cfnet.py:443
↓ 2 callersMethodgenerate_search_range
Description: Generates the disparity search range. Returns: :min_disparity: Lower bound of disparity search range
stereo/modeling/models/cfnet/cfnet.py:425
↓ 2 callersFunctionget_attn_bias_and_cat
this will perform the index select, cat the tensors, and provide the attn_bias from cache
stereo/modeling/models/foundationstereo/dinov2/layers/block.py:164
↓ 2 callersFunctionget_attn_bias_and_cat
this will perform the index select, cat the tensors, and provide the attn_bias from cache
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/block.py:157
↓ 2 callersFunctionget_clones
(module, N)
stereo/modeling/models/sttr/utilities/misc.py:65
↓ 2 callersMethodget_dirname
(self, class_id: Optional[str] = None)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:35
↓ 2 callersFunctionget_disp
(file_path, checkinvalid=True)
stereo/datasets/vkitti2_dataset.py:73
↓ 2 callersFunctionget_disp_range_samples
(cur_disp, ndisp, disp_inteval_pixel, device, dtype, shape, using_ns, ns_size, max_
stereo/modeling/models/casnet/submodule.py:141
↓ 2 callersFunctionget_fsdp_wrapper
(model_cfg, modules_to_wrap=set())
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:22
↓ 2 callersFunctionget_global_rank
Returns: The rank of the current process within the global process group.
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:35
↓ 2 callersFunctionget_global_size
Returns: The number of processes in the process group
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:27
↓ 2 callersMethodget_io_tensor_names
(self, engine, mode)
stereo/modeling/models/fast_foundationstereo/core/foundation_stereo.py:444
↓ 2 callersMethodget_qkv
(self, tgt, context)
stereo/modeling/models/nmrf/NMP.py:544
↓ 2 callersMethodget_qkv_input
(self, label_rep, abs_encoding)
stereo/modeling/models/nmrf/NMP.py:343
↓ 2 callersFunctionget_reference_points
(spatial_shapes, device)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:16
↓ 2 callersFunctionget_resize_keep_aspect_ratio
(H, W, divider=16, max_H=1232, max_W=1232)
stereo/modeling/models/foundationstereo/Utils.py:87
↓ 2 callersFunctionget_slurm_partition
(cluster_type: Optional[ClusterType] = None)
stereo/modeling/models/foundationstereo/dinov2/utils/cluster.py:61
↓ 2 callersMethodget_targets
Compute classification and mask targets for all images for a decoder layer. Args: cls_scores_list (list[Tensor]): Mask sc
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:152
↓ 2 callersFunctionget_warmup_params
(warmup_period, group_count)
stereo/utils/warmup.py:68
↓ 2 callersMethodget_warped_feats
(self, x, y, disp_range_samples, ndisp)
stereo/modeling/models/casnet/cas_gwc.py:263
↓ 2 callersFunctionget_world_size
()
stereo/modeling/models/nmrf/utils/dist_utils.py:114
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/cost_volume/cost_volume.py:59
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/igev_rt/submodule.py:151
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/nmrf/submodule.py:4
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/msnet/submodule.py:253
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/igev/submodule.py:158
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/casnet/submodule.py:41
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/foundationstereo/core/submodule.py:422
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/monster/submodule.py:151
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/igevpp/submodule.py:79
↓ 2 callersFunctiongroupwise_correlation
(fea1, fea2, num_groups)
stereo/modeling/models/fadnet/submodule.py:453
↓ 2 callersMethodgroupwise_correlation
(self, fea1, fea2)
stereo/modeling/models/gwcnet/gwcnet_cost_processor.py:13
↓ 2 callersMethodim2cswin
(self, x)
stereo/modeling/models/nmrf/NMP.py:429
↓ 2 callersFunctioninterp
(x, dest)
stereo/modeling/disp_refinement/gru_blocks.py:286
↓ 2 callersFunctioninterp
(x, dest)
stereo/modeling/models/stereobase/gru_blocks.py:286
↓ 2 callersFunctioninterp
(x, dest)
stereo/modeling/models/igev/update.py:105
↓ 2 callersFunctioninterp
(x, dest)
stereo/modeling/models/foundationstereo/core/update.py:76
↓ 2 callersFunctioninterp
(x, sample_grid, padding_mode)
stereo/modeling/models/monster/warp.py:40
↓ 2 callersFunctioninterp
(x, dest)
stereo/modeling/models/igevpp/update.py:112
↓ 2 callersFunctioninterweave_tensors
(refimg_fea, targetimg_fea)
stereo/modeling/models/msnet/submodule.py:244
↓ 2 callersMethodinterweave_tensors
(refimg_fea, targetimg_fea)
stereo/modeling/cost_volume/cost_volume.py:141
↓ 2 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:223
↓ 2 callersFunctionload_config
(config_name: str)
stereo/modeling/models/foundationstereo/dinov2/configs/__init__.py:11
↓ 2 callersMethodload_yaml_with_base
Just like `yaml.load(open(filename))`, but inherit attributes from its `__BASE__`. Args: filename (str or file-like obje
stereo/modeling/models/nmrf/config/config.py:53
↓ 2 callersMethodloss_disp
(self, disp_pred, disp_gt)
stereo/modeling/models/nmrf/NMRF.py:431
↓ 2 callersFunctionmake_2tuple
(x)
stereo/modeling/models/foundationstereo/dinov2/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/patch_embed.py:17
↓ 2 callersFunctionmake_eval_data_loader
(test_dataset_str, batch_size, num_workers, metric_type)
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:411
↓ 2 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
stereo/modeling/models/nmrf/ops/functions/ms_deform_attn_func.py:49
↓ 2 callersFunctionmulti_apply
Apply function to a list of arguments. Note: This function applies the ``func`` to multiple inputs and map the multiple outputs o
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/core/utils/misc.py:9
↓ 2 callersFunctionnorm_correlation
(fea1, fea2)
stereo/modeling/models/igev_rt/submodule.py:174
↓ 2 callersFunctionnorm_correlation
(fea1, fea2)
stereo/modeling/models/igev/submodule.py:180
↓ 2 callersFunctionnorm_correlation
(fea1, fea2)
stereo/modeling/models/monster/submodule.py:174
↓ 2 callersFunctionnorm_correlation
(fea1, fea2)
stereo/modeling/models/igevpp/submodule.py:102
↓ 2 callersFunctionnormalize_image
@img: (B,C,H,W) in range 0-255, RGB order
stereo/modeling/models/fast_foundationstereo/core/foundation_stereo.py:27
↓ 2 callersMethodrun_trt
(self, engine, context, inputs_by_name:dict)
stereo/modeling/models/fast_foundationstereo/core/foundation_stereo.py:453
↓ 2 callersMethodsample
Sample positive and negative bboxes. This is a simple implementation of bbox sampling given candidates, assigning results and ground
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/core/box/samplers/base_sampler.py:34
↓ 2 callersMethodsingle_level_grid_priors
Generate grid Points of a single level. Note: This function is usually called by method ``self.grid_priors``. Args:
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/core/anchor/point_generator.py:82
↓ 2 callersMethodsinkhorn_knopp_teacher
(self, teacher_output, teacher_temp, n_iterations=3)
stereo/modeling/models/foundationstereo/dinov2/loss/dino_clstoken_loss.py:35
↓ 2 callersMethodsoftmax_center_teacher
(self, teacher_output, teacher_temp)
stereo/modeling/models/foundationstereo/dinov2/loss/dino_clstoken_loss.py:29
↓ 2 callersMethodsynchronize_between_processes
(self)
stereo/modeling/models/foundationstereo/dinov2/logging/helpers.py:46
↓ 2 callersMethodtrain
(self)
stereo/modeling/models/foundationstereo/dinov2/train/ssl_meta_arch.py:367
↓ 2 callersFunctiontrain_for_C
(*, C, max_iter, train_features, train_labels, dtype=torch.float64, device=_CPU_DEVICE)
stereo/modeling/models/foundationstereo/dinov2/eval/log_regression.py:153
↓ 2 callersMethodtrt_dtype_to_torch
(self, dt)
stereo/modeling/models/fast_foundationstereo/core/foundation_stereo.py:434
↓ 2 callersMethodunpad
(self, x)
stereo/modeling/models/fast_foundationstereo/core/utils/utils.py:26
↓ 2 callersMethodunpad
(self, x)
stereo/modeling/models/foundationstereo/core/utils/utils.py:37
↓ 2 callersMethodupdate
(self, value, n=1)
stereo/modeling/models/nmrf/utils/misc.py:100
↓ 2 callersMethodupdate
(self, value, num=1)
stereo/modeling/models/foundationstereo/dinov2/logging/helpers.py:146
↓ 2 callersMethodupdate_center
(self, teacher_output)
stereo/modeling/models/foundationstereo/dinov2/loss/dino_clstoken_loss.py:77
↓ 2 callersFunctionupsample
Upsample input tensor by a factor of 2
stereo/modeling/models/iinet/utils.py:66
↓ 2 callersMethodupsample_disp
(self, disp, mask_feat_4, stem_2x)
stereo/modeling/models/monster/monster.py:339
↓ 2 callersFunctionwarp_right_to_left
(x, disp, warp_grid=None)
stereo/modeling/models/fadnet/submodule.py:670
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
stereo/modeling/models/nmrf/swin.py:47
↓ 1 callersFunctionD1_metric
(D_est, D_gt, mask)
stereo/modeling/models/iinet/metrics.py:51
↓ 1 callersFunctionEPE_metric
(D_est, D_gt, mask)
stereo/modeling/models/iinet/metrics.py:69
↓ 1 callersMethod__delitem__
(self, key)
stereo/modeling/models/sttr/utilities/__init__.py:32
↓ 1 callersMethod__delitem__
(self, key)
stereo/modeling/models/igev/utils.py:132
↓ 1 callersMethod__init__
(self, downsample, in_planes, out_planes, stride, padding)
stereo/modeling/backbones/psmnet_backbone.py:11
↓ 1 callersMethod__init__
(self, n_in, n_out, stride=1)
stereo/modeling/backbones/fadnet.py:8
↓ 1 callersMethod__init__
(self, maxdisp, group=1)
stereo/modeling/cost_volume/cost_volume.py:10
← previousnext →301–400 of 2,487, ranked by callers