MCPcopy Create free account

hub / github.com/NVlabs/FoundationStereo / functions

Functions881 in github.com/NVlabs/FoundationStereo

↓ 1 callersFunctionget_args_parser
(add_help: bool = True)
dinov2/dinov2/train/train.py:30
↓ 1 callersFunctionget_autocast_dtype
(config)
dinov2/dinov2/eval/setup.py:52
↓ 1 callersMethodget_backbone_features
(self, images: Tensor)
dinov2/dinov2/hub/text/vision_tower.py:139
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
dinov2/dinov2/layers/block.py:197
↓ 1 callersMethodget_camera_params
(self, camera_param_id: str)
scripts/run_demo_batch.py:79
↓ 1 callersFunctionget_cfg_from_args
(args)
dinov2/dinov2/utils/config.py:40
↓ 1 callersFunctionget_checkpoint_path
(cluster_type: Optional[ClusterType] = None)
dinov2/dinov2/utils/cluster.py:38
↓ 1 callersMethodget_class_id
(self, index: int)
dinov2/dinov2/data/datasets/image_net.py:156
↓ 1 callersFunctionget_engine_model
(args)
scripts/run_demo_tensorrt.py:48
↓ 1 callersMethodget_image_data
(self, index: int)
dinov2/dinov2/data/datasets/extended.py:17
↓ 1 callersMethodget_image_relpath
(self, actual_index: int, class_id: Optional[str] = None)
dinov2/dinov2/data/datasets/image_net.py:38
↓ 1 callersMethodget_maybe_fused_params_for_submodel
(self, m)
dinov2/dinov2/train/ssl_meta_arch.py:371
↓ 1 callersFunctionget_onnx_model
(args)
scripts/run_demo_tensorrt.py:41
↓ 1 callersFunctionget_package_version
()
dinov2/setup.py:42
↓ 1 callersMethodget_pad_shape
(self, input_shape)
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:82
↓ 1 callersMethodget_params_groups
(self)
dinov2/dinov2/train/ssl_meta_arch.py:384
↓ 1 callersFunctionget_params_groups_with_decay
(model, lr_decay_rate=1.0, patch_embed_lr_mult=1.0)
dinov2/dinov2/utils/param_groups.py:51
↓ 1 callersMethodget_projection_matrix
(self, camera_params)
scripts/run_demo_batch.py:84
↓ 1 callersMethodget_proposal_pos_embed
Get the position embedding of proposal.
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:734
↓ 1 callersMethodget_reference_points
Get the reference points used in decoder. Args: spatial_shapes (Tensor): The shape of all feature maps, has shape
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:694
↓ 1 callersMethodget_shape
(self)
dinov2/dinov2/data/masking.py:46
↓ 1 callersFunctionget_shared_folder
()
dinov2/dinov2/run/submit.py:83
↓ 1 callersMethodget_size
(self, width, height)
depth_anything/util/transform.py:111
↓ 1 callersFunctionget_slurm_executor_parameters
( nodes: int, num_gpus_per_node: int, cluster_type: Optional[ClusterType] = None, **kwargs )
dinov2/dinov2/utils/cluster.py:74
↓ 1 callersMethodget_target
(self, index: int)
dinov2/dinov2/data/datasets/extended.py:20
↓ 1 callersFunctionget_uncertain_point_coords_with_randomness
Get ``num_points`` most uncertain points with random points during train. Sample points in [0, 1] x [0, 1] coordinate space based on their
dinov2/dinov2/eval/segmentation_m2f/models/utils/point_sample.py:36
↓ 1 callersFunctionget_uncertainty
Estimate uncertainty based on pred logits. We estimate uncertainty as L1 distance between 0.0 and the logits prediction in 'mask_pred' for th
dinov2/dinov2/eval/segmentation_m2f/models/utils/point_sample.py:10
↓ 1 callersFunctionget_user_checkpoint_path
(cluster_type: Optional[ClusterType] = None)
dinov2/dinov2/utils/cluster.py:51
↓ 1 callersMethodget_valid_ratio
Get the valid radios of feature maps of all level.
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:724
↓ 1 callersFunctionget_vit_lr_decay_rate
Calculate lr decay rate for different ViT blocks. Args: name (string): parameter name. lr_decay_rate (float): base lr decay r
dinov2/dinov2/utils/param_groups.py:13
↓ 1 callersMethodgradientloss
(self, input, target)
dinov2/dinov2/eval/depth/models/losses/gradientloss.py:33
↓ 1 callersFunctionhas_batchnorms
(model)
dinov2/dinov2/utils/utils.py:90
↓ 1 callersFunctionhas_ddp_wrapper
(m: nn.Module)
dinov2/dinov2/eval/linear.py:155
↓ 1 callersFunctioninference
(left_img_path: str, right_img_path: str, model, args: argparse.Namespace)
scripts/run_demo_tensorrt.py:56
↓ 1 callersMethodinit_layers
Initialize layers of the DeformableDetrTransformer.
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:612
↓ 1 callersMethodinit_weights
(self, pretrained=None)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:503
↓ 1 callersMethodinit_weights
(self)
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:469
↓ 1 callersMethodinit_weights
(self)
dinov2/dinov2/hub/depth/decode_heads.py:459
↓ 1 callersMethodinit_weights
(self)
dinov2/dinov2/hub/text/dinotxt_model.py:72
↓ 1 callersMethodinit_weights
(self)
dinov2/dinov2/models/vision_transformer.py:173
↓ 1 callersMethodinterpolate_pos_encoding
(self, x, w, h)
dinov2/dinov2/models/vision_transformer.py:180
↓ 1 callersFunctionis_fsdp
(x)
dinov2/dinov2/fsdp/__init__.py:57
↓ 1 callersFunctionis_left_camera
(camera_name: str)
scripts/run_demo_batch.py:324
↓ 1 callersFunctionis_main_process
Returns: True if the current process is the main one.
dinov2/dinov2/distributed/__init__.py:66
↓ 1 callersFunctionis_sharded_fsdp
(x)
dinov2/dinov2/fsdp/__init__.py:61
↓ 1 callersMethodload_metadata
(self)
scripts/run_demo_batch.py:50
↓ 1 callersMethodload_model
(self)
scripts/run_demo_batch.py:68
↓ 1 callersMethodlog_images
(self, img_path, depth_pred, depth_gt, img_meta)
dinov2/dinov2/eval/depth/models/decode_heads/decode_head.py:204
↓ 1 callersMethodlog_images
(self, img_path, depth_pred, depth_gt, img_meta)
dinov2/dinov2/hub/depth/decode_heads.py:197
↓ 1 callersMethodloss
Loss function. Args: all_cls_scores (Tensor): Classification scores for all decoder layers with shape [num_decode
dinov2/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:342
↓ 1 callersMethodlosses
Compute depth loss.
dinov2/dinov2/eval/depth/models/decode_heads/decode_head.py:187
↓ 1 callersMethodlosses
Compute depth loss.
dinov2/dinov2/hub/depth/decode_heads.py:180
↓ 1 callersFunctionlossfunc
(t, s, temp)
dinov2/dinov2/loss/ibot_patch_loss.py:20
↓ 1 callersFunctionmain
()
scripts/run_demo_tensorrt.py:113
↓ 1 callersFunctionmain
(rank, world_size, args)
scripts/run_demo_batch.py:327
↓ 1 callersFunctionmain
(args)
dinov2/dinov2/eval/linear.py:595
↓ 1 callersFunctionmain
(args)
dinov2/dinov2/eval/log_regression.py:423
↓ 1 callersFunctionmain
(args)
dinov2/dinov2/eval/knn.py:379
↓ 1 callersFunctionmain
(args)
dinov2/dinov2/train/train.py:297
↓ 1 callersFunctionmain
()
dinov2/dinov2/run/eval/linear.py:44
↓ 1 callersFunctionmain
()
dinov2/dinov2/run/eval/log_regression.py:44
↓ 1 callersFunctionmain
()
dinov2/dinov2/run/eval/knn.py:44
↓ 1 callersFunctionmain
()
dinov2/dinov2/run/train/train.py:44
↓ 1 callersFunctionmake_classification_train_transform
( *, crop_size: int = 224, interpolation=transforms.InterpolationMode.BICUBIC, hflip_prob: flo
dinov2/dinov2/data/transforms.py:55
↓ 1 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
dinov2/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:33
↓ 1 callersFunctionnaive_dice_loss
Calculate naive dice loss, the coefficient in the denominator is the first power instead of the second power. Args: pred (torch.Tenso
dinov2/dinov2/eval/segmentation_m2f/models/losses/dice_loss.py:46
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
dinov2/dinov2/hub/text/vision_tower.py:28
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
dinov2/dinov2/models/vision_transformer.py:27
↓ 1 callersMethodpairwise_NNs_inner
Pairwise nearest neighbors for L2-normalized vectors. Uses Torch rather than Faiss to remain on GPU.
dinov2/dinov2/loss/koleo_loss.py:25
↓ 1 callersFunctionparse_args
()
scripts/run_demo_tensorrt.py:94
↓ 1 callersMethodparse_image_relpath
(self, image_relpath: str)
dinov2/dinov2/data/datasets/image_net.py:46
↓ 1 callersMethodprepare_for_distributed_training
(self)
dinov2/dinov2/train/ssl_meta_arch.py:390
↓ 1 callersMethodprocess_camera
(self, left_param_id: str)
scripts/run_demo_batch.py:140
↓ 1 callersMethodreduce_center_update
(self, teacher_patch_tokens)
dinov2/dinov2/loss/ibot_patch_loss.py:133
↓ 1 callersMethodreduce_center_update
(self, teacher_output)
dinov2/dinov2/loss/dino_clstoken_loss.py:81
↓ 1 callersFunctionreduce_mean
"Obtain the mean of tensor on different GPUs.
dinov2/dinov2/eval/segmentation_m2f/core/utils/dist_utils.py:9
↓ 1 callersFunctionreshard_fsdp_model
(x)
dinov2/dinov2/fsdp/__init__.py:76
↓ 1 callersFunctionrun_eval_linear
( model, output_dir, train_dataset_str, val_dataset_str, batch_size, epochs, epoch
dinov2/dinov2/eval/linear.py:463
↓ 1 callersMethodrun_hierachical
(self, image1, image2, iters=12, test_mode=False, low_memory=False, small_ratio=0.5)
core/foundation_stereo.py:263
↓ 1 callersFunctionscale_lr
(learning_rates, batch_size)
dinov2/dinov2/eval/linear.py:231
↓ 1 callersFunctionset_seed
(random_seed)
scripts/run_demo_batch.py:33
↓ 1 callersFunctionsetup_linear_classifiers
(sample_output, n_last_blocks_list, learning_rates, batch_size, num_classes=1000)
dinov2/dinov2/eval/linear.py:235
↓ 1 callersMethodsigloss
(self, input, target)
dinov2/dinov2/eval/depth/models/losses/sigloss.py:42
↓ 1 callersMethodsimple_test
Placeholder for single image test.
dinov2/dinov2/eval/depth/models/depther/base.py:53
↓ 1 callersMethodsimple_test
Simple test with single image.
dinov2/dinov2/hub/depth/encoder_decoder.py:188
↓ 1 callersMethodsingle_level_valid_flags
Generate the valid flags of points of a single feature map. Args: featmap_size (tuple[int]): The size of feature maps, arrange as
dinov2/dinov2/eval/segmentation_m2f/core/anchor/point_generator.py:156
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
dinov2/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:149
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
dinov2/dinov2/eval/depth/models/depther/encoder_decoder.py:139
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
dinov2/dinov2/hub/depth/encoder_decoder.py:119
↓ 1 callersFunctionsweep_C_values
( *, train_features, train_labels, test_data_loader, metric_type, num_classes, tra
dinov2/dinov2/eval/log_regression.py:187
↓ 1 callersMethodtag_last_checkpoint
Tag the last checkpoint. Args: last_filename_basename (str): the basename of the last filename.
dinov2/dinov2/fsdp/__init__.py:143
↓ 1 callersFunctiontest_on_datasets
( feature_model, linear_classifiers, test_dataset_strs, batch_size, num_workers, test_
dinov2/dinov2/eval/linear.py:429
↓ 1 callersMethodtoOpen3dCloud
(self, xyz, rgb)
scripts/run_demo_batch.py:134
↓ 1 callersMethodtrain
(self)
dinov2/dinov2/train/ssl_meta_arch.py:367
↓ 1 callersFunctiontrain_and_evaluate
( *, C, max_iter, train_features, train_labels, logreg_metric, test_data_loader,
dinov2/dinov2/eval/log_regression.py:159
↓ 1 callersMethodupdate_teacher
(self, m)
dinov2/dinov2/train/ssl_meta_arch.py:356
↓ 1 callersMethodupsample_disp
(self, disp, mask_feat_4, stem_2x)
core/foundation_stereo.py:189
↓ 1 callersMethodwhole_inference
Inference with full image.
dinov2/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:192
↓ 1 callersMethodwhole_inference
Inference with full image.
dinov2/dinov2/eval/depth/models/depther/encoder_decoder.py:133
↓ 1 callersMethodwhole_inference
Inference with full image.
dinov2/dinov2/hub/depth/encoder_decoder.py:115
← previousnext →301–400 of 881, ranked by callers