MCPcopy Create free account

hub / github.com/HVision-NKU/DepthAnythingAC / functions

Functions579 in github.com/HVision-NKU/DepthAnythingAC

↓ 1 callersFunctionscale_lr
(learning_rates, batch_size)
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:232
↓ 1 callersMethodset_epoch
(self, epoch)
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:52
↓ 1 callersFunctionsetup_linear_classifiers
(sample_output, n_last_blocks_list, learning_rates, batch_size, num_classes=1000)
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:236
↓ 1 callersFunctionsweep_C_values
( *, train_features, train_labels, test_data_loader, metric_type, num_classes, tra
torchhub/facebookresearch_dinov2_main/dinov2/eval/log_regression.py:188
↓ 1 callersMethodtag_last_checkpoint
Tag the last checkpoint. Args: last_filename_basename (str): the basename of the last filename.
torchhub/facebookresearch_dinov2_main/dinov2/fsdp/__init__.py:144
↓ 1 callersFunctiontest_on_datasets
( feature_model, linear_classifiers, test_dataset_strs, batch_size, num_workers, test_
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:430
↓ 1 callersFunctiontrain_and_evaluate
( *, C, max_iter, train_features, train_labels, logreg_metric, test_data_loader,
torchhub/facebookresearch_dinov2_main/dinov2/eval/log_regression.py:160
↓ 1 callersMethodupdate
(self, val, num=1)
util/utils.py:69
↓ 1 callersMethodupdate_teacher
(self, m)
torchhub/facebookresearch_dinov2_main/dinov2/train/ssl_meta_arch.py:359
↓ 1 callersFunctionwrite_config
(cfg, output_dir, name="config.yaml")
torchhub/facebookresearch_dinov2_main/dinov2/utils/config.py:33
FunctionDINOv2
(model_name)
depth_anything/dinov2.py:398
Method__call__
Transform predicted disparity to aligned depth using optimal scale and shift. This method converts disparity predictions to
evaluate_depth.py:219
Method__call__
(self, sample)
dataset/transform.py:125
Method__call__
(self, sample)
dataset/transform.py:171
Method__call__
(self, sample)
dataset/transform.py:184
Method__call__
(self, img)
dataset/transform.py:510
Method__call__
(self, num_masking_patches=0)
torchhub/facebookresearch_dinov2_main/dinov2/data/masking.py:74
Method__call__
Args: pic (PIL Image, numpy.ndarray or torch.tensor): Image to be converted to tensor. Returns: Tensor: Conve
torchhub/facebookresearch_dinov2_main/dinov2/data/transforms.py:30
Method__call__
(self, image)
torchhub/facebookresearch_dinov2_main/dinov2/data/augmentations.py:97
Method__call__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/run/eval/linear.py:23
Method__call__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/run/eval/log_regression.py:23
Method__call__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/run/eval/knn.py:23
Method__call__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/run/train/train.py:23
Method__call__
(self, sample)
depth_anything/util/transform.py:168
Method__call__
(self, sample)
depth_anything/util/transform.py:211
Method__call__
(self, sample)
depth_anything/util/transform.py:224
Method__getattr__
(self, attr)
torchhub/facebookresearch_dinov2_main/dinov2/logging/helpers.py:34
Method__getitem__
(self, item)
dataset/semi_depth.py:82
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__init__
(self)
evaluate_depth.py:24
Method__init__
(self)
evaluate_depth.py:52
Method__init__
(self, threshold=1.25, depth_cap=10)
evaluate_depth.py:178
Method__init__
Init. Args: width (int): desired output width height (int): desired output height resize_target (bool, op
dataset/transform.py:15
Method__init__
(self, mean, std)
dataset/transform.py:167
Method__init__
(self)
dataset/transform.py:181
Method__init__
(self, num_augs=4, flag_using_random_num=True)
dataset/transform.py:505
Method__init__
(self, name, root, mode, size=None, id_path=None, nsample=None,argu_mode="robo_depth",cfg=None)
dataset/semi_depth.py:59
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:144
Method__init__
(self, config)
depth_anything/dpt.py:188
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
depth_anything/dinov2.py:45
Method__init__
(self, encoder='vitl', features=256, out_channels=[256, 512, 1024, 1024], use_bn=False, use_clstoken=False, lo
depth_anything/dpt_teacher.py:139
Method__init__
(self, config)
depth_anything/dpt_teacher.py:169
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:207
Method__init__
(self)
depth_anything/util/transform.py:221
Method__init__
Init. Args: features (int): number of features
depth_anything/util/blocksv1.py:99
Method__init__
(self,weight=[0.5,0.5])
depth_anything/util/priorgenerate.py:10
Method__init__
Init. Args: features (int): number of features
depth_anything/util/blocksv2.py:87
Method__init__
(self, drop_prob=None)
depth_anything/dinov2_layers/drop_path.py:30
Method__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
depth_anything/dinov2_layers/block.py:37
Method__init__
( self, dim: int, init_values: Union[float, Tensor] = 1e-5, inplace: bool = Fa
depth_anything/dinov2_layers/layer_scale.py:17
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
depth_anything/dinov2_layers/attention.py:30
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
depth_anything/dinov2_layers/mlp.py:18
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
depth_anything/dinov2_layers/swiglu_ffn.py:46
Method__init__
( self, img_size: Union[int, Tuple[int, int]] = 224, patch_size: Union[int, Tuple[int,
depth_anything/dinov2_layers/patch_embed.py:38
Method__init__
(self)
losses/depth_anything_loss.py:7
← previousnext →301–400 of 579, ranked by callers