MCPcopy Create free account

hub / github.com/NVlabs/FoundationStereo / functions

Functions881 in github.com/NVlabs/FoundationStereo

Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:396
Method__init__
( self, pretrain_size=224, num_heads=12, conv_inplane=64, n_points=4,
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit_adapter.py:21
Method__init__
(self, drop_prob: float = 0.0)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/drop_path.py:27
Method__init__
(self, num_feats, row_num_embed=50, col_num_embed=50, init_cfg=dict(type="Uniform", layer="Embedding"))
dinov2/dinov2/eval/segmentation_m2f/models/utils/positional_encoding.py:113
Method__init__
(self, kernel_size=1, stride=1, dilation=1, padding="corner")
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:66
Method__init__
( self, in_channels, out_channels, kernel_size=2, stride=None,
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:133
Method__init__
( self, attn_cfgs, feedforward_channels, ffn_dropout=0.0, operation_or
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:338
Method__init__
(self, *args, post_norm_cfg=dict(type="LN"), **kwargs)
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:372
Method__init__
(self, *args, post_norm_cfg=dict(type="LN"), return_intermediate=False, **kwargs)
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:402
Method__init__
(self, encoder=None, decoder=None, init_cfg=None)
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:463
Method__init__
(self, *args, return_intermediate=False, **kwargs)
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:526
Method__init__
(self, as_two_stage=False, num_feature_levels=4, two_stage_num_proposals=300, **kwargs)
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:604
Method__init__
( self, in_channels=256, feat_channels=64, out_channels=None, input_fe
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:913
Method__init__
(self, num_gts, gt_inds, labels)
dinov2/dinov2/eval/segmentation_m2f/models/utils/assigner.py:21
Method__init__
( self, cls_cost=dict(type="ClassificationCost", weight=1.0), dice_cost=dict(type="Dic
dinov2/dinov2/eval/segmentation_m2f/models/utils/assigner.py:67
Method__init__
( self, in_channels, feat_channels, out_channels, num_things_classes=8
dinov2/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:61
Method__init__
( self, in_channels=[256, 512, 1024, 2048], strides=[4, 8, 16, 32], feat_chann
dinov2/dinov2/eval/segmentation_m2f/models/plugins/msdeformattn_pixel_decoder.py:42
Method__init__
Dice Loss, there are two forms of dice loss is supported: - the one proposed in `V-Net: Fully Convolutional Neural Networ
dinov2/dinov2/eval/segmentation_m2f/models/losses/dice_loss.py:80
Method__init__
( self, use_sigmoid=False, use_mask=False, reduction="mean", class_wei
dinov2/dinov2/eval/segmentation_m2f/models/losses/cross_entropy_loss.py:203
Method__init__
(self, weight=1.0)
dinov2/dinov2/eval/segmentation_m2f/models/losses/match_costs.py:33
Method__init__
(self, weight=1.0, pred_act=False, eps=1e-3)
dinov2/dinov2/eval/segmentation_m2f/models/losses/match_costs.py:66
Method__init__
(self, weight=1.0, use_sigmoid=True)
dinov2/dinov2/eval/segmentation_m2f/models/losses/match_costs.py:114
Method__init__
(self, init_cfg=None)
dinov2/dinov2/eval/depth/models/depther/base.py:17
Method__init__
(self, backbone, decode_head, neck=None, train_cfg=None, test_cfg=None, pretrained=None, init_cfg=None)
dinov2/dinov2/eval/depth/models/depther/encoder_decoder.py:41
Method__init__
(self, *args, **kwargs)
dinov2/dinov2/eval/depth/models/backbones/vision_transformer.py:15
Method__init__
( self, in_channels, channels=96, conv_cfg=None, act_cfg=dict(type="Re
dinov2/dinov2/eval/depth/models/decode_heads/decode_head.py:52
Method__init__
(self, scale_factor, mode, align_corners=False)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:19
Method__init__
(self, features)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:32
Method__init__
( self, in_channels=768, out_channels=[96, 192, 384, 768], readout_type="ignore", patch_size=16, init_
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:59
Method__init__
(self, in_channels, act_cfg, norm_cfg, stride=1, dilation=1, init_cfg=None)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:135
Method__init__
(self, in_channels, act_cfg, norm_cfg, expand=False, align_corners=True, init_cfg=None)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:182
Method__init__
(self, input_transform="resize_concat", in_index=(0, 1, 2, 3), upsample=1, **kwargs)
dinov2/dinov2/eval/depth/models/decode_heads/linear_head.py:18
Method__init__
( self, valid_mask=True, loss_weight=1.0, max_depth=None, warm_up=False, warm_iter=100, loss_name="sig
dinov2/dinov2/eval/depth/models/losses/sigloss.py:26
Method__init__
(self, valid_mask=True, loss_weight=1.0, max_depth=None, loss_name="loss_grad")
dinov2/dinov2/eval/depth/models/losses/gradientloss.py:24
Method__init__
( self, *args, **kwargs, )
dinov2/dinov2/eval/segmentation/models/backbones/vision_transformer.py:14
Method__init__
(self, resize_factors=None, **kwargs)
dinov2/dinov2/eval/segmentation/models/decode_heads/linear_head.py:18
Method__init__
(self, update_interval=1, grad_clip=None, coalesce=True, bucket_size_mb=-1, use_fp16=False)
dinov2/dinov2/eval/segmentation/hooks/optimizer.py:18
Method__init__
(self, multiple)
dinov2/dinov2/hub/utils.py:24
Method__init__
(self, *, backbone: nn.Module, linear_head: nn.Module, layers: int = 4)
dinov2/dinov2/hub/classifiers.py:53
Method__init__
( self, in_channels, conv_layer=None, act_layer=nn.ReLU, channels=96,
dinov2/dinov2/hub/depth/decode_heads.py:61
Method__init__
( self, in_channels, out_channels, kernel_size, stride=1, padd
dinov2/dinov2/hub/depth/decode_heads.py:352
Method__init__
(self, scale_factor, mode, align_corners=False)
dinov2/dinov2/hub/depth/decode_heads.py:500
Method__init__
(self, features)
dinov2/dinov2/hub/depth/decode_heads.py:513
Method__init__
(self, in_channels=768, out_channels=[96, 192, 384, 768], readout_type="ignore", patch_size=16)
dinov2/dinov2/hub/depth/decode_heads.py:539
Method__init__
(self, in_channels, act_layer, norm_layer, stride=1, dilation=1)
dinov2/dinov2/hub/depth/decode_heads.py:610
Method__init__
(self, in_channels, act_layer, norm_layer, expand=False, align_corners=True)
dinov2/dinov2/hub/depth/decode_heads.py:656
Method__init__
( self, embed_dims=768, post_process_channels=[96, 192, 384, 768], readout_typ
dinov2/dinov2/hub/depth/decode_heads.py:704
Method__init__
(self, backbone, decode_head)
dinov2/dinov2/hub/depth/encoder_decoder.py:40
Method__init__
(self, model)
dinov2/dinov2/hub/text/dinov2_wrapper.py:7
Method__init__
(self, vocab_path: str)
dinov2/dinov2/hub/text/tokenizer.py:9
Method__init__
( self, context_length: int, vocab_size: int, dim: int, num_heads: int
dinov2/dinov2/hub/text/text_transformer.py:11
Method__init__
( self, backbone: nn.Module, freeze_backbone: bool, embed_dim: int, nu
dinov2/dinov2/hub/text/vision_tower.py:97
Method__init__
( self, backbone: nn.Module, freeze_backbone: bool, embed_dim: int, nu
dinov2/dinov2/hub/text/text_tower.py:56
Method__init__
( self, model_config: DinoTxtConfig, vision_backbone: nn.Module, text_backbone
dinov2/dinov2/hub/text/dinotxt_model.py:38
Method__init__
(self, drop_prob=None)
dinov2/dinov2/layers/drop_path.py:29
Method__init__
( self, dim: int, num_heads: int, ffn_ratio: float = 4.0, ls_init_valu
dinov2/dinov2/layers/block.py:118
Method__init__
( self, in_dim, out_dim, use_bn=False, nlayers=3, hidden_dim=2
dinov2/dinov2/layers/dino_head.py:13
Method__init__
( self, dim: int, init_values: Union[float, Tensor] = 1e-5, inplace: bool = Fa
dinov2/dinov2/layers/layer_scale.py:16
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
dinov2/dinov2/layers/attention.py:37
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
dinov2/dinov2/layers/mlp.py:17
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
dinov2/dinov2/layers/swiglu_ffn.py:55
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
dinov2/dinov2/layers/swiglu_ffn.py:76
Method__init__
( self, img_size: Union[int, Tuple[int, int]] = 224, patch_size: Union[int, Tuple[int,
dinov2/dinov2/layers/patch_embed.py:37
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
dinov2/dinov2/models/vision_transformer.py:46
Method__init__
(self)
dinov2/dinov2/loss/koleo_loss.py:21
Method__init__
(self, patch_out_dim, student_temp=0.1, center_momentum=0.9)
dinov2/dinov2/loss/ibot_patch_loss.py:35
Method__init__
( self, out_dim, student_temp=0.1, center_momentum=0.9, )
dinov2/dinov2/loss/dino_clstoken_loss.py:13
Method__init__
(self, cfg)
dinov2/dinov2/train/ssl_meta_arch.py:32
Method__init__
(self, args)
dinov2/dinov2/run/eval/linear.py:19
Method__init__
(self, args)
dinov2/dinov2/run/eval/log_regression.py:19
Method__init__
(self, args)
dinov2/dinov2/run/eval/knn.py:19
Method__init__
(self, args)
dinov2/dinov2/run/train/train.py:19
Method__iter__
(self)
dinov2/dinov2/data/samplers.py:36
Method__iter__
(self)
dinov2/dinov2/data/samplers.py:96
Method__iter__
(self)
dinov2/dinov2/data/samplers.py:188
Method__len__
(self)
dinov2/dinov2/data/samplers.py:48
Method__len__
(self)
dinov2/dinov2/data/adapters.py:27
Method__len__
(self)
dinov2/dinov2/data/datasets/extended.py:37
Method__len__
(self)
dinov2/dinov2/data/datasets/image_net_22k.py:239
Method__len__
(self)
dinov2/dinov2/data/datasets/image_net.py:166
Method__len__
(self)
dinov2/dinov2/eval/linear.py:213
Method__nice__
(self)
dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/mask_sampling_result.py:44
Method__nice__
(self)
dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/sampling_result.py:73
Method__repr__
(self)
dinov2/dinov2/data/masking.py:34
Method__repr__
str: a string that describes the module
dinov2/dinov2/eval/segmentation_m2f/models/utils/positional_encoding.py:87
Method__repr__
str: a string that describes the module
dinov2/dinov2/eval/segmentation_m2f/models/utils/positional_encoding.py:146
Method__str__
(self)
dinov2/dinov2/logging/helpers.py:40
Method__str__
(self)
dinov2/dinov2/logging/helpers.py:187
Method__str__
(self)
dinov2/dinov2/eval/metrics.py:30
Method__str__
(self)
dinov2/dinov2/eval/metrics.py:39
Method_class_ids_path
(self)
dinov2/dinov2/data/datasets/image_net.py:98
Method_class_names_path
(self)
dinov2/dinov2/data/datasets/image_net.py:102
Method_entries_path
(self)
dinov2/dinov2/data/datasets/image_net.py:94
Method_get_target_single
Compute classification and mask targets for one image. Args: cls_score (Tensor): Mask score logits from a single decoder layer
dinov2/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:200
Method_init_deform_weights
(self, m)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit_adapter.py:118
Method_init_weights
(self, m)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit_adapter.py:92
Method_init_weights
(self, m)
dinov2/dinov2/layers/dino_head.py:30
Method_inner_forward
(query, feat)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:117
Method_inner_forward
(query, feat)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:158
Method_inner_forward
(x)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:420
← previousnext →501–600 of 881, ranked by callers