MCPcopy Create free account

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

Functions579 in github.com/HVision-NKU/DepthAnythingAC

Method__init__
(self, length=0)
util/utils.py:56
Method__iter__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:37
Method__iter__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:97
Method__iter__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:189
Method__len__
(self)
dataset/semi_depth.py:286
Method__len__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:49
Method__len__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/adapters.py:28
Method__len__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/extended.py:38
Method__len__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:240
Method__len__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:167
Method__len__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:214
Method__repr__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/masking.py:35
Method__str__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/logging/helpers.py:41
Method__str__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/logging/helpers.py:188
Method__str__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/eval/metrics.py:31
Method__str__
(self)
torchhub/facebookresearch_dinov2_main/dinov2/eval/metrics.py:40
Method_class_ids_path
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:99
Method_class_names_path
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:103
Method_entries_path
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:95
Method_init_weights
(self, m)
torchhub/facebookresearch_dinov2_main/dinov2/layers/dino_head.py:31
Function_make_bool_str
(b: bool)
torchhub/facebookresearch_dinov2_main/dinov2/data/loaders.py:29
Function_make_dinov2_model_name
(arch_name: str, patch_size: int, num_register_tokens: int = 0)
torchhub/facebookresearch_dinov2_main/utils.py:17
Function_make_sample_transform
(image_transform: Optional[Callable] = None, target_transform: Optional[Callable] = None)
torchhub/facebookresearch_dinov2_main/dinov2/data/loaders.py:33
Function_mmap_tarball
(class_id: str)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:62
Function_new_shuffle_tensor_slice
( *, tensor: torch.Tensor, start: int = 0, step: int = 1, generator: torch.Generator )
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:147
Function_pad_and_collate
(batch)
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:164
Function_shuffle_tensor_slice
( *, tensor: torch.Tensor, start: int = 0, step: int = 1, generator: torch.Generator )
torchhub/facebookresearch_dinov2_main/dinov2/data/samplers.py:126
Method_tarballs_root
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:198
Methodaccuracy_averaging
(self)
torchhub/facebookresearch_dinov2_main/dinov2/eval/metrics.py:28
Methodadd_meter
(self, name, meter)
torchhub/facebookresearch_dinov2_main/dinov2/logging/helpers.py:51
Functionapply_min_size
Rezise the sample to ensure the given size. Keeps aspect ratio. Args: sample (dict): sample size (tuple): image size Returns
depth_anything/util/transform.py:12
Methodattn_residual_func
(x: Tensor)
torchhub/facebookresearch_dinov2_main/dinov2/layers/block.py:83
Methodattn_residual_func
(x: Tensor, attn_bias=None)
torchhub/facebookresearch_dinov2_main/dinov2/layers/block.py:213
Methodattn_residual_func
(x: Tensor)
depth_anything/dinov2_layers/block.py:83
Methodattn_residual_func
(x: Tensor, attn_bias=None)
depth_anything/dinov2_layers/block.py:213
Methodavg
(self)
torchhub/facebookresearch_dinov2_main/dinov2/logging/helpers.py:172
Functionblur
(img, p=0.5)
dataset/transform.py:368
Methodcheckpoint
(self)
torchhub/facebookresearch_dinov2_main/dinov2/run/eval/linear.py:29
Methodcheckpoint
(self)
torchhub/facebookresearch_dinov2_main/dinov2/run/eval/log_regression.py:29
Methodcheckpoint
(self)
torchhub/facebookresearch_dinov2_main/dinov2/run/eval/knn.py:29
Methodcheckpoint
(self)
torchhub/facebookresearch_dinov2_main/dinov2/run/train/train.py:29
Functioncollate_data_and_cast
(samples_list, mask_ratio_tuple, mask_probability, dtype, n_tokens=None, mask_generator=None)
torchhub/facebookresearch_dinov2_main/dinov2/data/collate.py:11
Functioncolor_map
(dataset='pascal')
util/utils.py:11
Functioncrop_ori
(img, mask, size, ignore_value=255)
dataset/transform.py:206
Methoddecode
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/decoders.py:22
Methoddecode
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/decoders.py:31
Functiondinov2_vitb14
DINOv2 ViT-B/14 model (optionally) pretrained on the LVD-142M dataset.
torchhub/facebookresearch_dinov2_main/hubconf.py:80
Functiondinov2_vitb14_reg
DINOv2 ViT-B/14 model with registers (optionally) pretrained on the LVD-142M dataset.
torchhub/facebookresearch_dinov2_main/hubconf.py:122
Functiondinov2_vitg14
DINOv2 ViT-g/14 model (optionally) pretrained on the LVD-142M dataset.
torchhub/facebookresearch_dinov2_main/hubconf.py:94
Functiondinov2_vitg14_reg
DINOv2 ViT-g/14 model with registers (optionally) pretrained on the LVD-142M dataset.
torchhub/facebookresearch_dinov2_main/hubconf.py:152
Functiondinov2_vitl14
DINOv2 ViT-L/14 model (optionally) pretrained on the LVD-142M dataset.
torchhub/facebookresearch_dinov2_main/hubconf.py:87
Functiondinov2_vitl14_reg
DINOv2 ViT-L/14 model with registers (optionally) pretrained on the LVD-142M dataset.
torchhub/facebookresearch_dinov2_main/hubconf.py:137
Functiondinov2_vits14
DINOv2 ViT-S/14 model (optionally) pretrained on the LVD-142M dataset.
torchhub/facebookresearch_dinov2_main/hubconf.py:73
Functiondinov2_vits14_reg
DINOv2 ViT-S/14 model with registers (optionally) pretrained on the LVD-142M dataset.
torchhub/facebookresearch_dinov2_main/hubconf.py:107
Methoddump_extra
(self, root: Optional[str] = None)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:302
Methoddump_extra
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:289
Functionenable
Enable distributed mode Args: set_cuda_current_device: If True, call torch.cuda.set_device() to set the current PyTorch CUDA
torchhub/facebookresearch_dinov2_main/dinov2/distributed/__init__.py:240
Methodentries_path
(self)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:52
Methodf
(*args, **kwargs)
torchhub/facebookresearch_dinov2_main/vision_transformer.py:130
Methodf
(*args, **kwargs)
torchhub/facebookresearch_dinov2_main/dinov2/models/vision_transformer.py:118
Methodf
(*args, **kwargs)
depth_anything/dinov2.py:130
Methodffn_residual_func
(x: Tensor)
torchhub/facebookresearch_dinov2_main/dinov2/layers/block.py:86
Methodffn_residual_func
(x: Tensor, attn_bias=None)
torchhub/facebookresearch_dinov2_main/dinov2/layers/block.py:216
Methodffn_residual_func
(x: Tensor)
depth_anything/dinov2_layers/block.py:86
Methodffn_residual_func
(x: Tensor, attn_bias=None)
depth_anything/dinov2_layers/block.py:216
Methodfind_class_id
(self, class_index: int)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net_22k.py:201
Methodfind_class_id
(self, class_index: int)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:128
Methodfind_class_name
(self, class_index: int)
torchhub/facebookresearch_dinov2_main/dinov2/data/datasets/image_net.py:132
Functionfix_random_seeds
Fix random seeds.
torchhub/facebookresearch_dinov2_main/dinov2/utils/utils.py:37
Methodflops
(self)
torchhub/facebookresearch_dinov2_main/dinov2/layers/patch_embed.py:84
Methodflops
(self)
depth_anything/dinov2_layers/patch_embed.py:84
Methodforward
(self, x)
torchhub/facebookresearch_dinov2_main/utils.py:36
Methodforward
(self, x)
torchhub/facebookresearch_dinov2_main/vision_transformer.py:38
Methodforward
(self, *args, is_training=False, **kwargs)
torchhub/facebookresearch_dinov2_main/vision_transformer.py:323
Methodforward
(self, x_tokens_list)
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:200
Methodforward
(self, inputs)
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:211
Methodforward
(self, samples, targets)
torchhub/facebookresearch_dinov2_main/dinov2/eval/linear.py:224
Methodforward
(self, samples, targets)
torchhub/facebookresearch_dinov2_main/dinov2/eval/log_regression.py:130
Methodforward
(self, samples)
torchhub/facebookresearch_dinov2_main/dinov2/eval/utils.py:27
Methodforward
(self, images)
torchhub/facebookresearch_dinov2_main/dinov2/eval/utils.py:39
Methodforward
Compute the results on all values of `self.nb_knn` neighbors from the full `self.max_k`
torchhub/facebookresearch_dinov2_main/dinov2/eval/knn.py:171
Methodforward
(self, features_dict, targets)
torchhub/facebookresearch_dinov2_main/dinov2/eval/knn.py:193
Methodforward
(self, *args, **kwargs)
torchhub/facebookresearch_dinov2_main/dinov2/eval/knn.py:242
Methodforward
(self, x)
torchhub/facebookresearch_dinov2_main/dinov2/layers/drop_path.py:34
Methodforward
(self, x_or_x_list)
torchhub/facebookresearch_dinov2_main/dinov2/layers/block.py:245
Methodforward
(self, x)
torchhub/facebookresearch_dinov2_main/dinov2/layers/dino_head.py:37
Methodforward
(self, x: Tensor)
torchhub/facebookresearch_dinov2_main/dinov2/layers/layer_scale.py:27
Methodforward
(self, x: Tensor, attn_bias=None)
torchhub/facebookresearch_dinov2_main/dinov2/layers/attention.py:66
Methodforward
(self, x: Tensor)
torchhub/facebookresearch_dinov2_main/dinov2/layers/mlp.py:35
Methodforward
(self, x: Tensor)
torchhub/facebookresearch_dinov2_main/dinov2/layers/swiglu_ffn.py:29
Methodforward
(self, x: Tensor)
torchhub/facebookresearch_dinov2_main/dinov2/layers/patch_embed.py:69
Methodforward
(self, x)
torchhub/facebookresearch_dinov2_main/dinov2/models/vision_transformer.py:39
Methodforward
(self, *args, is_training=False, **kwargs)
torchhub/facebookresearch_dinov2_main/dinov2/models/vision_transformer.py:290
Methodforward
Args: student_output (BxD): backbone output of student
torchhub/facebookresearch_dinov2_main/dinov2/loss/koleo_loss.py:39
Methodforward
Cross-entropy between softmax outputs of the teacher and student networks. student_patch_tokens: (B, N, D) tensor teacher_pat
torchhub/facebookresearch_dinov2_main/dinov2/loss/ibot_patch_loss.py:93
Methodforward
Cross-entropy between softmax outputs of the teacher and student networks.
torchhub/facebookresearch_dinov2_main/dinov2/loss/dino_clstoken_loss.py:64
Methodforward
(self, inputs)
torchhub/facebookresearch_dinov2_main/dinov2/train/ssl_meta_arch.py:126
Methodforward
(self, out_features, patch_h, patch_w,need_fp=False,need_prior=False,teacher_features=None,alpha=0.8)
depth_anything/dpt.py:105
Methodforward
(self, x,need_fp=False,teacher_features=None,alpha=0.8,prior_mode='teacher')
depth_anything/dpt.py:168
Methodforward
(self, x)
depth_anything/dinov2.py:38
← previousnext →401–500 of 579, ranked by callers