MCPcopy Create free account

hub / github.com/XiandaGuo/OpenStereo / functions

Functions2,487 in github.com/XiandaGuo/OpenStereo

↓ 1 callersMethodforward_post
(self, label_rep, abs_encoding)
stereo/modeling/models/nmrf/NMP.py:110
↓ 1 callersMethodforward_post
(self, label_rep, abs_encoding, attn_mask)
stereo/modeling/models/nmrf/NMP.py:366
↓ 1 callersMethodforward_post
(self, tgt, context)
stereo/modeling/models/nmrf/NMP.py:576
↓ 1 callersMethodforward_pre
(self, label_rep, abs_encoding)
stereo/modeling/models/nmrf/NMP.py:90
↓ 1 callersMethodforward_pre
(self, label_rep, abs_encoding, attn_mask)
stereo/modeling/models/nmrf/NMP.py:350
↓ 1 callersMethodforward_pre
(self, tgt, context)
stereo/modeling/models/nmrf/NMP.py:561
↓ 1 callersMethodforward_test
Test segment without test-time aumengtation. Only the output of last decoder layers was used. Args: inputs (list[Tensor]
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:522
↓ 1 callersMethodforward_train
Placeholder for Forward function for training.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/base.py:48
↓ 1 callersMethodforward_train
Forward function for training. Args: img (Tensor): Input images. img_metas (list[dict]): List of image info dict wher
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/encoder_decoder.py:105
↓ 1 callersFunctionfourier_grid_embed
data format: B[spatial dims]C Returns pos_embedding: same format with data
stereo/modeling/models/nmrf/NMP.py:11
↓ 1 callersFunctionfree_if_fsdp
(x)
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:65
↓ 1 callersFunctionfreeze_model
(model)
stereo/modeling/models/foundationstereo/Utils.py:77
↓ 1 callersMethodfsdp_synchronize_streams
(self)
stereo/modeling/models/foundationstereo/dinov2/train/ssl_meta_arch.py:348
↓ 1 callersFunctionfuse_params_groups
(all_params_groups, keys=("lr_multiplier", "wd_multiplier", "is_last_layer"))
stereo/modeling/models/foundationstereo/dinov2/utils/param_groups.py:92
↓ 1 callersMethodgen_disp_pyr
Creates a downscale pyramid for the input tensor.
stereo/modeling/models/iinet/loss.py:60
↓ 1 callersMethodgen_encoder_output_proposals
Generate proposals from encoded memory. Args: memory (Tensor) : The output of encoder, has shape (bs, num_key, em
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:636
↓ 1 callersFunctiongen_kitti_cmap
()
stereo/modeling/models/nmrf/utils/visualization.py:63
↓ 1 callersMethodgen_validmask_pyr
(self, disp_pyr: list)
stereo/modeling/models/iinet/loss.py:71
↓ 1 callersFunctionget_args_parser
( description: Optional[str] = None, parents: Optional[List[argparse.ArgumentParser]] = None, add_
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:33
↓ 1 callersFunctionget_args_parser
( description: Optional[str] = None, parents: Optional[List[argparse.ArgumentParser]] = None, add_
stereo/modeling/models/foundationstereo/dinov2/eval/log_regression.py:38
↓ 1 callersFunctionget_args_parser
( description: Optional[str] = None, parents: Optional[List[argparse.ArgumentParser]] = None, add_
stereo/modeling/models/foundationstereo/dinov2/eval/knn.py:29
↓ 1 callersFunctionget_args_parser
(add_help: bool = True)
stereo/modeling/models/foundationstereo/dinov2/train/train.py:30
↓ 1 callersFunctionget_autocast_dtype
(config)
stereo/modeling/models/foundationstereo/dinov2/eval/setup.py:52
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
stereo/modeling/models/foundationstereo/dinov2/layers/block.py:141
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
stereo/modeling/models/monster/depth_anything_v2/dinov2_layers/block.py:134
↓ 1 callersFunctionget_cfg_from_args
(args)
stereo/modeling/models/foundationstereo/dinov2/utils/config.py:40
↓ 1 callersFunctionget_checkpoint_path
(cluster_type: Optional[ClusterType] = None)
stereo/modeling/models/foundationstereo/dinov2/utils/cluster.py:38
↓ 1 callersMethodget_class_id
(self, index: int)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:156
↓ 1 callersFunctionget_cur_disp_range_samples
(cur_disp, ndisp, disp_inteval_pixel, shape, ns_size, using_ns=False, max_disp=192.0)
stereo/modeling/models/casnet/submodule.py:89
↓ 1 callersFunctionget_default_args
(func)
deploy/deploy_utils.py:141
↓ 1 callersFunctionget_extensions
()
stereo/modeling/models/nmrf/ops/setup.py:19
↓ 1 callersMethodget_image_data
(self, index: int)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/extended.py:17
↓ 1 callersMethodget_image_relpath
(self, actual_index: int, class_id: Optional[str] = None)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:38
↓ 1 callersMethodget_maybe_fused_params_for_submodel
(self, m)
stereo/modeling/models/foundationstereo/dinov2/train/ssl_meta_arch.py:371
↓ 1 callersMethodget_occlusion_mask
(self, shifted)
stereo/datasets/mono.py:115
↓ 1 callersMethodget_pad_shape
(self, input_shape)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:82
↓ 1 callersMethodget_params_groups
(self)
stereo/modeling/models/foundationstereo/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)
stereo/modeling/models/foundationstereo/dinov2/utils/param_groups.py:51
↓ 1 callersMethodget_proposal_pos_embed
Get the position embedding of proposal.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:734
↓ 1 callersFunctionget_rank
()
stereo/modeling/models/nmrf/utils/dist_utils.py:118
↓ 1 callersFunctionget_reference_points
(spatial_shapes, device)
stereo/modeling/models/nmrf/adaptor_modules.py:10
↓ 1 callersMethodget_reference_points
Get the reference points used in decoder. Args: spatial_shapes (Tensor): The shape of all feature maps, has shape
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:694
↓ 1 callersMethodget_rpe
(self, x, func)
stereo/modeling/models/nmrf/NMP.py:433
↓ 1 callersMethodget_shape
(self)
stereo/modeling/models/foundationstereo/dinov2/data/masking.py:46
↓ 1 callersFunctionget_shared_folder
()
stereo/modeling/models/foundationstereo/dinov2/run/submit.py:83
↓ 1 callersFunctionget_size
(base_size, w_range, h_range, random_type)
stereo/datasets/dataset_template.py:45
↓ 1 callersMethodget_size
(self, width, height)
stereo/modeling/models/foundationstereo/depth_anything/util/transform.py:111
↓ 1 callersMethodget_size
(self, width, height)
stereo/modeling/models/monster/depth_anything_v2/util/transform.py:62
↓ 1 callersFunctionget_slurm_executor_parameters
( nodes: int, num_gpus_per_node: int, cluster_type: Optional[ClusterType] = None, **kwargs )
stereo/modeling/models/foundationstereo/dinov2/utils/cluster.py:74
↓ 1 callersMethodget_target
(self, index: int)
stereo/modeling/models/foundationstereo/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
stereo/modeling/models/foundationstereo/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
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/point_sample.py:10
↓ 1 callersFunctionget_user_checkpoint_path
(cluster_type: Optional[ClusterType] = None)
stereo/modeling/models/foundationstereo/dinov2/utils/cluster.py:51
↓ 1 callersMethodget_valid_ratio
Get the valid radios of feature maps of all level.
stereo/modeling/models/foundationstereo/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
stereo/modeling/models/foundationstereo/dinov2/utils/param_groups.py:13
↓ 1 callersFunctionget_world_size
()
stereo/modeling/models/iinet/utils.py:225
↓ 1 callersMethodgradientloss
(self, input, target)
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/losses/gradientloss.py:33
↓ 1 callersFunctiongroupwise_correlation_4D
(fea1, fea2, num_groups)
stereo/modeling/models/cfnet/submodule.py:167
↓ 1 callersFunctionhas_batchnorms
(model)
stereo/modeling/models/foundationstereo/dinov2/utils/utils.py:90
↓ 1 callersFunctionhas_ddp_wrapper
(m: nn.Module)
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:155
↓ 1 callersMethodimage2tensor
(self, raw_image, input_size=518)
stereo/modeling/models/monster/depth_anything_v2/dpt.py:368
↓ 1 callersMethodimage2tensor
(self, raw_image, input_size=518)
stereo/modeling/models/monster/depth_anything_v2/dpt.py:453
↓ 1 callersMethodinfer_mono
(self, image1, image2)
stereo/modeling/models/monster/monster.py:316
↓ 1 callersFunctioninfer_time
(model, shape)
tools/measure.py:50
↓ 1 callersFunctioninference_context
A context where the model is temporarily changed to eval mode, and restored to previous mode afterwards, Args: model: a torch Mo
stereo/modeling/models/nmrf/utils/evaluation.py:278
↓ 1 callersMethodinit_layers
Initialize layers of the DeformableDetrTransformer.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:612
↓ 1 callersMethodinit_offset
(self)
stereo/libs/AANet/deform_conv/deform_conv.py:273
↓ 1 callersMethodinit_offset
(self)
stereo/libs/AANet/deform_conv/deform_conv.py:385
↓ 1 callersMethodinit_weights
(self, pretrained=None)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/backbones/vit.py:503
↓ 1 callersMethodinit_weights
(self)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/utils/transformer.py:469
↓ 1 callersMethodinit_weights
(self)
stereo/modeling/models/foundationstereo/dinov2/hub/depth/decode_heads.py:459
↓ 1 callersMethodinit_weights
(self)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:174
↓ 1 callersMethodinit_weights
(self)
stereo/modeling/models/monster/depth_anything_v2/dinov2.py:172
↓ 1 callersMethodinterpolate_pos_encoding
(self, x, w, h)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:181
↓ 1 callersMethodinterpolate_pos_encoding
(self, x, w, h)
stereo/modeling/models/monster/depth_anything_v2/dinov2.py:179
↓ 1 callersFunctionis_dist_avail_and_initialized
()
stereo/modeling/models/nmrf/utils/dist_utils.py:102
↓ 1 callersFunctionis_fsdp
(x)
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:57
↓ 1 callersFunctionis_list_or_tuple
(x)
stereo/modeling/models/fadnet/submodule.py:16
↓ 1 callersFunctionis_main_process
Returns: True if the current process is the main one.
stereo/modeling/models/foundationstereo/dinov2/distributed/__init__.py:66
↓ 1 callersFunctionis_sharded_fsdp
(x)
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:61
↓ 1 callersMethodload_fast_foundationstereo
(self, model, filename, device='cpu', logger=None)
stereo/modeling/models/fast_foundationstereo/trainer.py:23
↓ 1 callersFunctionload_model
(model, weights, device=None, inplace=True)
deploy/deploy_utils.py:154
↓ 1 callersFunctionload_params_from_file
(model, filename, device, dist_mode, logger, strict=True)
stereo/utils/common_utils.py:142
↓ 1 callersFunctionlog_every_n_seconds
Log no more than once per n seconds. Args: lvl (int): the logging level msg (str): n (int): name (str): name
stereo/modeling/models/nmrf/utils/logger.py:126
↓ 1 callersMethodlog_images
(self, img_path, depth_pred, depth_gt, img_meta)
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/decode_heads/decode_head.py:204
↓ 1 callersMethodlog_images
(self, img_path, depth_pred, depth_gt, img_meta)
stereo/modeling/models/foundationstereo/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
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:342
↓ 1 callersMethodloss_coarse
(self, disp_pred, logits_pred, disp_gt)
stereo/modeling/models/nmrf/NMRF.py:420
↓ 1 callersMethodloss_init
(prob, gt_disp, occlusion_map, occlusion_map_2)
stereo/modeling/models/nmrf/NMRF.py:370
↓ 1 callersMethodloss_prop
(self, disp_prop, gt_disp)
stereo/modeling/models/nmrf/NMRF.py:331
↓ 1 callersMethodlosses
Compute depth loss.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/decode_heads/decode_head.py:187
↓ 1 callersMethodlosses
Compute depth loss.
stereo/modeling/models/foundationstereo/dinov2/hub/depth/decode_heads.py:180
↓ 1 callersFunctionlossfunc
(t, s, temp)
stereo/modeling/models/foundationstereo/dinov2/loss/ibot_patch_loss.py:20
↓ 1 callersFunctionmain
()
tools/check_data.py:29
↓ 1 callersFunctionmain
()
tools/eval.py:60
↓ 1 callersFunctionmain
()
tools/train.py:65
↓ 1 callersFunctionmain
()
tools/resize.py:52
↓ 1 callersFunctionmain
()
tools/infer.py:37
↓ 1 callersFunctionmain
()
tools/test_kitti.py:64
↓ 1 callersFunctionmain
()
tools/measure.py:28
← previousnext →701–800 of 2,487, ranked by callers