MCPcopy Create free account

hub / github.com/XiandaGuo/OpenStereo / functions

Functions2,487 in github.com/XiandaGuo/OpenStereo

Functiondeform_conv_backward_parameters_cuda
stereo/libs/AANet/deform_conv/src/deform_conv_cuda.cpp:376
Functiondeform_conv_forward_cuda
stereo/libs/AANet/deform_conv/src/deform_conv_cuda.cpp:152
Functiondepth2xyzmap
(depth:np.ndarray, K, uvs:np.ndarray=None, zmin=0.1)
stereo/modeling/models/fast_foundationstereo/Utils.py:41
Functiondepth2xyzmap
(depth:np.ndarray, K, uvs:np.ndarray=None, zmin=0.1)
stereo/modeling/models/foundationstereo/Utils.py:54
Functiondepth_uint8_decoding
(depth_uint8, scale=1000)
stereo/modeling/models/foundationstereo/Utils.py:135
Functiondinov2_vitb14
DINOv2 ViT-B/14 model (optionally) pretrained on the LVD-142M dataset.
stereo/modeling/models/foundationstereo/dinov2/hub/backbones.py:71
Functiondinov2_vitb14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:235
Functiondinov2_vitb14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-B/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
stereo/modeling/models/foundationstereo/dinov2/hub/classifiers.py:140
Functiondinov2_vitb14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:149
Functiondinov2_vitb14_reg
DINOv2 ViT-B/14 model with registers (optionally) pretrained on the LVD-142M dataset.
stereo/modeling/models/foundationstereo/dinov2/hub/backbones.py:113
Functiondinov2_vitb14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-B/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
stereo/modeling/models/foundationstereo/dinov2/hub/classifiers.py:216
Functiondinov2_vitg14
DINOv2 ViT-g/14 model (optionally) pretrained on the LVD-142M dataset.
stereo/modeling/models/foundationstereo/dinov2/hub/backbones.py:85
Functiondinov2_vitg14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:243
Functiondinov2_vitg14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-g/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
stereo/modeling/models/foundationstereo/dinov2/hub/classifiers.py:178
Functiondinov2_vitg14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:161
Functiondinov2_vitg14_reg
DINOv2 ViT-g/14 model with registers (optionally) pretrained on the LVD-142M dataset.
stereo/modeling/models/foundationstereo/dinov2/hub/backbones.py:143
Functiondinov2_vitg14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-g/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
stereo/modeling/models/foundationstereo/dinov2/hub/classifiers.py:252
Functiondinov2_vitl14
DINOv2 ViT-L/14 model (optionally) pretrained on the LVD-142M dataset.
stereo/modeling/models/foundationstereo/dinov2/hub/backbones.py:78
Functiondinov2_vitl14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:239
Functiondinov2_vitl14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-L/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
stereo/modeling/models/foundationstereo/dinov2/hub/classifiers.py:159
Functiondinov2_vitl14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:155
Functiondinov2_vitl14_reg
DINOv2 ViT-L/14 model with registers (optionally) pretrained on the LVD-142M dataset.
stereo/modeling/models/foundationstereo/dinov2/hub/backbones.py:128
Functiondinov2_vitl14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-L/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
stereo/modeling/models/foundationstereo/dinov2/hub/classifiers.py:234
Functiondinov2_vits14
DINOv2 ViT-S/14 model (optionally) pretrained on the LVD-142M dataset.
stereo/modeling/models/foundationstereo/dinov2/hub/backbones.py:64
Functiondinov2_vits14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:231
Functiondinov2_vits14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-S/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
stereo/modeling/models/foundationstereo/dinov2/hub/classifiers.py:121
Functiondinov2_vits14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:143
Functiondinov2_vits14_reg
DINOv2 ViT-S/14 model with registers (optionally) pretrained on the LVD-142M dataset.
stereo/modeling/models/foundationstereo/dinov2/hub/backbones.py:98
Functiondinov2_vits14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-S/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
stereo/modeling/models/foundationstereo/dinov2/hub/classifiers.py:198
Functiondisp_error_img
(save_name, pred, gt, abs_thres=3., rel_thres=0.05)
stereo/modeling/models/nmrf/utils/visualization.py:36
Functiondisparity_regression
(x, maxdisp)
stereo/modeling/models/fadnet/submodule.py:536
Functiondisparity_variance
(prob, maxdisp, disparity)
stereo/modeling/models/igevpp/submodule.py:153
Functiondownsample_forward
stereo/modeling/models/nmrf/ops/src/downsample.h:8
Functiondraw_depth_2_image
(disp, image, baseline=0.54, focallength=1.003556e+3)
stereo/utils/common_utils.py:235
Methoddraw_disparity
(self, disparity_map, colormap, enhance=True, percentile=0.01)
stereo/modeling/models/nmrf/utils/visualization.py:228
Methoddraw_error_map
Draw error map Args: error (Tensor or ndarray): the prediction of shape (H, W) Returns: output (Vis
stereo/modeling/models/nmrf/utils/visualization.py:205
Methoddraw_uncertainty
Draw disparity estimation uncertainty. Args: uncertainty (Tensor or ndarray): the uncertainty of shape (H, W).
stereo/modeling/models/nmrf/utils/visualization.py:183
Methoddump_extra
(self, root: Optional[str] = None)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:301
Methoddump_extra
(self)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:288
Functionenable
Enable distributed mode Args: set_cuda_current_device: If True, call torch.cuda.set_device() to set the current PyTorch CUDA
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:239
Methodencode_decode
Placeholder for encode images with backbone and decode into a semantic depth map of the same size as input.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/base.py:42
Methodentries_path
(self)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:51
Functionepe_metric
(disp_pred, disp_gt, mask)
stereo/evaluation/metric_per_image.py:32
Methodeval_one_epoch
(self, current_epoch)
stereo/modeling/models/iinet/trainer.py:109
Methodevaluate
Evaluate/summarize the performance, after processing all input/output pairs. Returns: dict: A new evalua
stereo/modeling/models/nmrf/utils/evaluation.py:113
Methodextra_repr
(self)
stereo/modeling/models/nmrf/NMP.py:291
Methodextra_repr
(self)
stereo/modeling/models/nmrf/NMP.py:396
Methodextra_repr
Extra repr.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/losses/cross_entropy_loss.py:237
Methodextra_repr
Extra repr.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/decode_heads/decode_head.py:105
Methodextract_feat
Placeholder for extract features from images.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/base.py:37
Methodf
(*args, **kwargs)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:132
Methodf
(*args, **kwargs)
stereo/modeling/models/monster/depth_anything_v2/dinov2.py:130
Methodffn_residual_func
(x: Tensor)
stereo/modeling/models/foundationstereo/dinov2/layers/block.py:93
Methodffn_residual_func
(x: Tensor, attn_bias=None)
stereo/modeling/models/foundationstereo/dinov2/layers/block.py:223
Methodffn_residual_func
(x: Tensor)
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/block.py:86
Methodffn_residual_func
(x: Tensor, attn_bias=None)
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/block.py:216
Methodfind_class_id
(self, class_index: int)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net_22k.py:200
Methodfind_class_id
(self, class_index: int)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:127
Methodfind_class_name
(self, class_index: int)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:131
Functionfind_occ_mask
find occlusion map 1 indicates occlusion disp range [0,w]
stereo/modeling/models/sttr/utilities/misc.py:69
Methodfix_dynamic
(self, in_channels=72)
stereo/modeling/models/fadnet/submodule.py:322
Functionfix_random_seeds
Fix random seeds.
stereo/modeling/models/foundationstereo/dinov2/utils/utils.py:36
Methodflops
(self)
stereo/modeling/models/foundationstereo/dinov2/layers/patch_embed.py:83
Methodflops
(self)
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/patch_embed.py:84
Functionfor_compatibility
(model)
stereo/modeling/models/nmrf/build_optimizer.py:6
MethodformatMessage
(self, record)
stereo/modeling/models/nmrf/utils/logger.py:19
Methodforward
(self, x)
stereo/modeling/backbones/psmnet_backbone.py:24
Methodforward
(self, x)
stereo/modeling/backbones/psmnet_backbone.py:102
Methodforward
(self, x)
stereo/modeling/backbones/fadnet.py:23
Methodforward
(self, img)
stereo/modeling/backbones/fadnet.py:77
Methodforward
(self, x, y)
stereo/modeling/cost_volume/cost_volume.py:17
Methodforward
(self, feat_l, feat_r, maxdisp)
stereo/modeling/cost_volume/cost_volume.py:149
Methodforward
(self, x)
stereo/modeling/disp_refinement/disp_refinement.py:24
Methodforward
Upsample low resolution disparity prediction to corresponding resolution as image size Args: low_disp: [B, 1, H, W]
stereo/modeling/disp_refinement/disp_refinement.py:53
Methodforward
(self, low_disp, left_img, right_img)
stereo/modeling/disp_refinement/disp_refinement.py:167
Methodforward
(self, x)
stereo/modeling/disp_refinement/gru_blocks.py:48
Methodforward
(self, x, num_layers=3)
stereo/modeling/disp_refinement/gru_blocks.py:129
Methodforward
(self, disp, corr)
stereo/modeling/disp_refinement/gru_blocks.py:243
Methodforward
(self, h, cz, cr, cq, *x_list)
stereo/modeling/disp_refinement/gru_blocks.py:261
Methodforward
(self, x)
stereo/modeling/disp_refinement/gru_blocks.py:278
Methodforward
(self, net, inp, corr=None, disp=None, iter04=True, iter08=True, iter16=True, update=True)
stereo/modeling/disp_refinement/gru_blocks.py:308
Methodforward
(self, x, features, return_multi=False)
stereo/modeling/cost_aggregation/hourglass.py:79
Methodforward
(self, x)
stereo/modeling/common/basic_block_3d.py:18
Methodforward
(self, x)
stereo/modeling/common/basic_block_3d.py:36
Methodforward
(self, x)
stereo/modeling/common/basic_block_2d.py:19
Methodforward
(self, x)
stereo/modeling/common/basic_block_2d.py:37
Methodforward
(self, x, features_left)
stereo/modeling/models/lightstereo/aggregation.py:44
Methodforward
(self, x)
stereo/modeling/models/lightstereo/aggregation.py:92
Methodforward
(self, cost, x)
stereo/modeling/models/lightstereo/aggregation.py:120
Methodforward
(self, data)
stereo/modeling/models/lightstereo/lightstereo.py:44
Methodforward
(self, low, high)
stereo/modeling/models/lightstereo/backbone.py:22
Methodforward
(self, images)
stereo/modeling/models/lightstereo/backbone.py:60
Methodforward
:param x: input data :return: a dictionary object with keys - "disp_pred" [N,H,W]: predicted disparity
stereo/modeling/models/sttr/sttr.py:79
Methodforward
:param inputs: input data :param outputs: output from the network, dictionary :return: loss dictionary
stereo/modeling/models/sttr/utilities/loss.py:184
Methodforward
:param x: NestedTensor :return: list containing feature descriptors at different spatial resolution 0: [2N, 3, H, W]
stereo/modeling/models/sttr/utilities/feat_extractor_backbone_in.py:70
Methodforward
:param x: NestedTensor :return: list containing feature descriptors at different spatial resolution 0: [2N, 3, H, W]
stereo/modeling/models/sttr/utilities/feat_extractor_backbone.py:70
Methodforward
(self, disp_raw: Tensor, occ_raw: Tensor, img: Tensor)
stereo/modeling/models/sttr/utilities/context_adjustment_layer.py:36
Methodforward
(self, x: torch.Tensor, disp: torch.Tensor)
stereo/modeling/models/sttr/utilities/context_adjustment_layer.py:66
Methodforward
:param inputs: NestedTensor :return: pos encoding [N,C,H,2W-1]
stereo/modeling/models/sttr/utilities/pos_encoder.py:30
Methodforward
Regression head follows steps of - compute scale for disparity (if there is downsampling) - impose uniqueness constra
stereo/modeling/models/sttr/utilities/regression_head.py:219
← previousnext →1,701–1,800 of 2,487, ranked by callers