MCPcopy Create free account

hub / github.com/LiheYoung/Depth-Anything / functions

Functions746 in github.com/LiheYoung/Depth-Anything

Method__call__
(self, sample)
metric_depth/zoedepth/data/transforms.py:280
Method__call__
(self, sample)
metric_depth/zoedepth/data/transforms.py:334
Method__call__
(self, sample)
metric_depth/zoedepth/data/transforms.py:369
Method__call__
(self, sample)
metric_depth/zoedepth/data/transforms.py:403
Method__call__
(self, sample)
metric_depth/zoedepth/data/transforms.py:416
Method__call__
(self, sample)
metric_depth/zoedepth/data/transforms.py:438
Method__call__
(self, sample)
metric_depth/zoedepth/data/transforms.py:465
Method__call__
(self, sample)
metric_depth/zoedepth/data/vkitti2.py:42
Method__call__
(self, sample)
metric_depth/zoedepth/data/diode.py:41
Method__call__
(self, sample)
metric_depth/zoedepth/data/data_mono.py:524
Method__call__
(self, sample)
metric_depth/zoedepth/data/diml_outdoor_test.py:40
Method__call__
(self, sample)
metric_depth/zoedepth/data/sun_rgbd_loader.py:40
Method__call__
(self, sample)
metric_depth/zoedepth/data/hypersim.py:58
Method__call__
(self, sample)
metric_depth/zoedepth/data/ddad.py:41
Method__call__
(self, sample)
metric_depth/zoedepth/data/diml_indoor_test.py:41
Method__call__
:param prob: ordinal regression probability, N x 2*Ord Num x H x W, torch.Tensor :param gt: depth ground truth, NXHxW, torch.Tensor
metric_depth/zoedepth/trainers/loss.py:168
Method__call__
(self, x)
metric_depth/zoedepth/models/base_models/midas.py:171
Method__call__
(self, x)
metric_depth/zoedepth/models/base_models/midas.py:185
Method__call__
(self, x)
metric_depth/zoedepth/models/base_models/depth_anything.py:172
Method__call__
(self, x)
metric_depth/zoedepth/models/base_models/depth_anything.py:188
Method__del__
(self)
metric_depth/zoedepth/models/base_models/midas.py:328
Method__del__
(self)
metric_depth/zoedepth/models/base_models/depth_anything.py:327
Method__getattr__
(self, attr)
torchhub/facebookresearch_dinov2_main/dinov2/logging/helpers.py:34
Method__getitem__
(self, it)
torchhub/facebookresearch_dinov2_main/dinov2/utils/utils.py:84
Method__getitem__
(self, index: int)
torchhub/facebookresearch_dinov2_main/dinov2/data/adapters.py:23
Method__getitem__
(self, index: int)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/extended.py:24
Method__getitem__
(self, index: int)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:235
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/vkitti.py:93
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/vkitti2.py:125
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/diode.py:95
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/data_mono.py:292
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/diml_outdoor_test.py:89
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/sun_rgbd_loader.py:98
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/hypersim.py:108
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/ddad.py:100
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/ibims.py:57
Method__getitem__
(self, idx)
metric_depth/zoedepth/data/diml_indoor_test.py:92
Method__init__
(self, multiple)
torchhub/facebookresearch_dinov2_main/utils.py:24
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
torchhub/facebookresearch_dinov2_main/vision_transformer.py:45
Method__init__
(self, base_value, final_value, total_iters, warmup_iters=0, start_warmup_value=0, freeze_iters=0)
torchhub/facebookresearch_dinov2_main/dinov2/utils/utils.py:69
Method__init__
(self, delimiter="\t", output_file=None)
torchhub/facebookresearch_dinov2_main/dinov2/logging/helpers.py:22
Method__init__
(self, window_size=20, fmt=None)
torchhub/facebookresearch_dinov2_main/dinov2/logging/helpers.py:139
Method__init__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/distributed/__init__.py:153
Method__init__
( self, input_size, num_masking_patches=None, min_num_patches=4, max_n
torchhub/facebookresearch_dinov2_main/dinov2/data/masking.py:13
Method__init__
( self, *, size: int, sample_count: int, shuffle: bool = False,
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:19
Method__init__
( self, *, sample_count: int, shuffle: bool = False, seed: int = 0,
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:80
Method__init__
( self, *, sample_count: int, shuffle: bool = False, seed: int = 0,
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:167
Method__init__
(self, *, p: float = 0.5, radius_min: float = 0.1, radius_max: float = 2.0)
torchhub/facebookresearch_dinov2_main/dinov2/data/transforms.py:18
Method__init__
(self, dataset)
torchhub/facebookresearch_dinov2_main/dinov2/data/adapters.py:13
Method__init__
( self, global_crops_scale, local_crops_scale, local_crops_number, glo
torchhub/facebookresearch_dinov2_main/dinov2/data/augmentations.py:21
Method__init__
(self, *args, **kwargs)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/extended.py:15
Method__init__
( self, *, root: str, extra: str, transforms: Optional[Callable] = Non
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:102
Method__init__
(self, image_data: bytes)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/decoders.py:19
Method__init__
(self, target: Any)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/decoders.py:28
Method__init__
( self, *, split: "ImageNet.Split", root: str, extra: str, tra
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:60
Method__init__
(self, out_dim, use_n_blocks, use_avgpool, num_classes=1000)
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:190
Method__init__
(self, linear_classifier, class_mapping=None)
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:219
Method__init__
( self, C, max_iter=DEFAULT_MAX_ITER, dtype=torch.float64, device=_CPU
torchhub/facebookresearch_dinov2_main/dinov2/eval/log_regression.py:111
Method__init__
(self, feature_model, n_last_blocks, autocast_ctx)
torchhub/facebookresearch_dinov2_main/dinov2/eval/utils.py:32
Method__init__
( self, num_classes: int, top_k: int = 1, **kwargs: Any, )
torchhub/facebookresearch_dinov2_main/dinov2/eval/metrics.py:77
Method__init__
(self, keys)
torchhub/facebookresearch_dinov2_main/dinov2/eval/knn.py:189
Method__init__
(self, drop_prob=None)
torchhub/facebookresearch_dinov2_main/dinov2/layers/drop_path.py:30
Method__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
torchhub/facebookresearch_dinov2_main/dinov2/layers/block.py:37
Method__init__
( self, in_dim, out_dim, use_bn=False, nlayers=3, hidden_dim=2
torchhub/facebookresearch_dinov2_main/dinov2/layers/dino_head.py:14
Method__init__
( self, dim: int, init_values: Union[float, Tensor] = 1e-5, inplace: bool = Fa
torchhub/facebookresearch_dinov2_main/dinov2/layers/layer_scale.py:17
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
torchhub/facebookresearch_dinov2_main/dinov2/layers/attention.py:30
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
torchhub/facebookresearch_dinov2_main/dinov2/layers/mlp.py:18
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
torchhub/facebookresearch_dinov2_main/dinov2/layers/swiglu_ffn.py:46
Method__init__
( self, img_size: Union[int, Tuple[int, int]] = 224, patch_size: Union[int, Tuple[int,
torchhub/facebookresearch_dinov2_main/dinov2/layers/patch_embed.py:38
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
torchhub/facebookresearch_dinov2_main/dinov2/models/vision_transformer.py:46
Method__init__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/loss/koleo_loss.py:22
Method__init__
(self, patch_out_dim, student_temp=0.1, center_momentum=0.9)
torchhub/facebookresearch_dinov2_main/dinov2/loss/ibot_patch_loss.py:36
Method__init__
( self, out_dim, student_temp=0.1, center_momentum=0.9, )
torchhub/facebookresearch_dinov2_main/dinov2/loss/dino_clstoken_loss.py:14
Method__init__
(self, cfg)
torchhub/facebookresearch_dinov2_main/dinov2/train/ssl_meta_arch.py:35
Method__init__
(self, args)
torchhub/facebookresearch_dinov2_main/dinov2/run/eval/linear.py:20
Method__init__
(self, args)
torchhub/facebookresearch_dinov2_main/dinov2/run/eval/log_regression.py:20
Method__init__
(self, args)
torchhub/facebookresearch_dinov2_main/dinov2/run/eval/knn.py:20
Method__init__
(self, args)
torchhub/facebookresearch_dinov2_main/dinov2/run/train/train.py:20
Method__init__
(self, encoder='vitl', features=256, out_channels=[256, 512, 1024, 1024], use_bn=False, use_clstoken=False, lo
depth_anything/dpt.py:140
Method__init__
(self, config)
depth_anything/dpt.py:170
Method__init__
Init. Args: features (int): number of features
depth_anything/blocks.py:99
Method__init__
Init. Args: width (int): desired output width height (int): desired output height resize_target (bool, op
depth_anything/util/transform.py:58
Method__init__
(self, mean, std)
depth_anything/util/transform.py:215
Method__init__
(self)
depth_anything/util/transform.py:229
Method__init__
(self, version='large', freeze=False, load_from=None)
semseg/dinov2.py:14
Method__init__
(self)
metric_depth/zoedepth/utils/misc.py:48
Method__init__
(self)
metric_depth/zoedepth/utils/misc.py:76
Method__init__
(self, d=None, **kwargs)
metric_depth/zoedepth/utils/easydict/__init__.py:120
Method__init__
(self)
metric_depth/zoedepth/data/vkitti.py:36
Method__init__
(self, data_dir_root, do_kb_crop=True)
metric_depth/zoedepth/data/vkitti.py:83
Method__init__
Init. Args: probability (float, optional): Flip probability. Defaults to 0.5.
metric_depth/zoedepth/data/transforms.py:36
Method__init__
Init. Args: width (int): output width height (int): output height resize_if_needed (bool, optional): If T
metric_depth/zoedepth/data/transforms.py:101
Method__init__
Init. Args: width (int): desired output width height (int): desired output height resize_target (bool, op
metric_depth/zoedepth/data/transforms.py:158
Method__init__
(self, size)
metric_depth/zoedepth/data/transforms.py:331
Method__init__
Init. Args: max_val (float, optional): Max output value. Defaults to 1.0. use_mask (bool, optional): Only operate on
metric_depth/zoedepth/data/transforms.py:359
Method__init__
(self, mean, std)
metric_depth/zoedepth/data/transforms.py:399
Method__init__
(self, eps=1e-4)
metric_depth/zoedepth/data/transforms.py:413
Method__init__
(self, eps=1e-4)
metric_depth/zoedepth/data/transforms.py:435
Method__init__
(self)
metric_depth/zoedepth/data/transforms.py:462
Method__init__
(self)
metric_depth/zoedepth/data/vkitti2.py:36
← previousnext →401–500 of 746, ranked by callers