MCPcopy Create free account

hub / github.com/XiandaGuo/OpenStereo / functions

Functions2,487 in github.com/XiandaGuo/OpenStereo

↓ 1 callersFunctionmain
(opt)
deploy/export.py:420
↓ 1 callersFunctionmain
(args)
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:595
↓ 1 callersFunctionmain
(args)
stereo/modeling/models/foundationstereo/dinov2/eval/log_regression.py:423
↓ 1 callersFunctionmain
(args)
stereo/modeling/models/foundationstereo/dinov2/eval/knn.py:379
↓ 1 callersFunctionmain
(args)
stereo/modeling/models/foundationstereo/dinov2/train/train.py:297
↓ 1 callersFunctionmain
()
stereo/modeling/models/foundationstereo/dinov2/run/eval/linear.py:44
↓ 1 callersFunctionmain
()
stereo/modeling/models/foundationstereo/dinov2/run/eval/log_regression.py:44
↓ 1 callersFunctionmain
()
stereo/modeling/models/foundationstereo/dinov2/run/eval/knn.py:44
↓ 1 callersFunctionmain
()
stereo/modeling/models/foundationstereo/dinov2/run/train/train.py:44
↓ 1 callersFunctionmake_classification_train_transform
( *, crop_size: int = 224, interpolation=transforms.InterpolationMode.BICUBIC, hflip_prob: flo
stereo/modeling/models/foundationstereo/dinov2/data/transforms.py:55
↓ 1 callersMethodmake_occ_disp_zero
(self, input_data, transformation)
stereo/datasets/sceneflow_dataset.py:121
↓ 1 callersFunctionmeasure
(model, shape)
tools/measure.py:38
↓ 1 callersMethodmedian
(self)
stereo/modeling/models/nmrf/utils/misc.py:119
↓ 1 callersMethodmerge_from_other_cfg
Args: cfg_other (CfgNode): config to merge from.
stereo/modeling/models/nmrf/config/config.py:147
↓ 1 callersFunctionmeshgrid
Generate meshgrid in image scale Args: img: [B, _, H, W] homogeneous: whether to return homogeneous coordinates Return:
stereo/modeling/disp_refinement/disp_refinement.py:77
↓ 1 callersFunctionmeshgrid
Generate meshgrid in image scale Args: img: [B, _, H, W] homogeneous: whether to return homogeneous coordinates Return:
stereo/modeling/models/monster/warp.py:18
↓ 1 callersFunctionmeshgrid
Generate meshgrid in image scale Args: img: [B, _, H, W] homogeneous: whether to return homogeneous coordinates Return:
stereo/modeling/models/aanet/submodule.py:778
↓ 1 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:33
↓ 1 callersFunctionmultiple_basic_block
(num_ch_in, num_ch_out, num_repeats=2)
stereo/modeling/models/iinet/layers.py:90
↓ 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
stereo/modeling/models/foundationstereo/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)
stereo/modeling/models/foundationstereo/dinov2/models/vision_transformer.py:26
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
stereo/modeling/models/monster/depth_anything_v2/dinov2.py:26
↓ 1 callersFunctionnormalize_coords
Normalize coordinates of image scale to [-1, 1] Args: grid: [B, 2, H, W]
stereo/modeling/disp_refinement/disp_refinement.py:100
↓ 1 callersFunctionnormalize_coords
Normalize coordinates of image scale to [-1, 1] Args: grid: [B, 2, H, W]
stereo/modeling/models/monster/warp.py:5
↓ 1 callersFunctionnormalize_coords
Normalize coordinates of image scale to [-1, 1] Args: grid: [B, 2, H, W]
stereo/modeling/models/aanet/submodule.py:765
↓ 1 callersMethodpairwise_NNs_inner
Pairwise nearest neighbors for L2-normalized vectors. Uses Torch rather than Faiss to remain on GPU.
stereo/modeling/models/foundationstereo/dinov2/loss/koleo_loss.py:25
↓ 1 callersFunctionparseConfig
deploy/cpp/include/transforms.h:139
↓ 1 callersFunctionparse_config
()
tools/eval.py:22
↓ 1 callersFunctionparse_config
()
tools/train.py:25
↓ 1 callersFunctionparse_config
()
tools/infer.py:16
↓ 1 callersFunctionparse_config
()
tools/test_kitti.py:22
↓ 1 callersFunctionparse_config
()
tools/measure.py:16
↓ 1 callersMethodparse_image_relpath
(self, image_relpath: str)
stereo/modeling/models/foundationstereo/dinov2/data/datasets/image_net.py:46
↓ 1 callersFunctionparse_opt
()
deploy/export.py:394
↓ 1 callersMethodprepare_for_distributed_training
(self)
stereo/modeling/models/foundationstereo/dinov2/train/ssl_meta_arch.py:390
↓ 1 callersMethodprepare_sizes
(self, inputs)
stereo/datasets/mono.py:139
↓ 1 callersFunctionprint_args
(args: Optional[dict] = None, show_file=True, show_func=False, logger=None)
deploy/deploy_utils.py:172
↓ 1 callersMethodprocess
(self, inputs, outputs)
stereo/modeling/models/nmrf/utils/evaluation.py:149
↓ 1 callersMethodprocess
Args: inputs: the inputs to the model. It is a dict, which contains keys like "img1", "ïmg2", "disp".
stereo/modeling/models/nmrf/utils/evaluation.py:326
↓ 1 callersMethodprocess_disparity
Depth predictions have arbitrary scale - need to convert to a pixel disparity
stereo/datasets/mono.py:23
↓ 1 callersMethodproject_image
(self, image, disp_map, background_image)
stereo/datasets/mono.py:63
↓ 1 callersFunctionreadFlow
Read .flo file in Middlebury format
stereo/modeling/models/nmrf/utils/frame_utils.py:19
↓ 1 callersFunctionread_all_images
(input_txt,error_txt)
tools/check_data.py:16
↓ 1 callersMethodreduce_center_update
(self, teacher_patch_tokens)
stereo/modeling/models/foundationstereo/dinov2/loss/ibot_patch_loss.py:133
↓ 1 callersMethodreduce_center_update
(self, teacher_output)
stereo/modeling/models/foundationstereo/dinov2/loss/dino_clstoken_loss.py:81
↓ 1 callersFunctionreduce_mean
"Obtain the mean of tensor on different GPUs.
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/core/utils/dist_utils.py:9
↓ 1 callersFunctionreplace_layers
(model, old, new)
stereo/modeling/models/cfnet/cfnet.py:695
↓ 1 callersMethodreset
(self)
stereo/modeling/models/nmrf/utils/evaluation.py:145
↓ 1 callersMethodreset
(self)
stereo/modeling/models/nmrf/utils/evaluation.py:313
↓ 1 callersMethodreset_image
Args: img: same as in __init__
stereo/modeling/models/nmrf/utils/visualization.py:122
↓ 1 callersMethodreset_parameters
(self)
stereo/libs/AANet/deform_conv/deform_conv.py:230
↓ 1 callersMethodreset_parameters
(self)
stereo/libs/AANet/deform_conv/deform_conv.py:339
↓ 1 callersFunctionreshard_fsdp_model
(x)
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:76
↓ 1 callersMethodresize_all
(inputs, height, width)
stereo/datasets/mono.py:199
↓ 1 callersFunctionresize_all_images
(all_img_txt,input_path_root,output_path_root)
tools/resize.py:42
↓ 1 callersFunctionresize_image
(input_path, input_path_root,output_path_root,target_size=(768, 384))
tools/resize.py:7
↓ 1 callersMethodresume_ckpt
(self)
stereo/modeling/trainer_template.py:119
↓ 1 callersFunctionrun
( config=ROOT / '../../cfgs/psmnet/psmnet_kitti15.yaml',
deploy/export.py:286
↓ 1 callersFunctionrun_eval_linear
( model, output_dir, train_dataset_str, val_dataset_str, batch_size, epochs, epoch
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:463
↓ 1 callersMethodsample_cost
cost_volume: [B*H*W,G,D], groupwise cost volume label_seed: [B*H*W,num_seed], integer disparity modals return: [B
stereo/modeling/models/nmrf/NMP.py:619
↓ 1 callersMethodsave_ckpt
(self, current_epoch)
stereo/modeling/trainer_template.py:177
↓ 1 callersFunctionscale_lr
(learning_rates, batch_size)
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:231
↓ 1 callersMethodset_epoch
(self, epoch)
stereo/modeling/models/foundationstereo/dinov2/data/samplers.py:51
↓ 1 callersFunctionset_logging_format
(level=logging.INFO)
stereo/modeling/models/foundationstereo/Utils.py:22
↓ 1 callersFunctionsetup_linear_classifiers
(sample_output, n_last_blocks_list, learning_rates, batch_size, num_classes=1000)
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:235
↓ 1 callersMethodsigloss
(self, input, target)
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/losses/sigloss.py:42
↓ 1 callersMethodsimple_test
Placeholder for single image test.
stereo/modeling/models/foundationstereo/dinov2/eval/depth/models/depther/base.py:53
↓ 1 callersMethodsimple_test
Simple test with single image.
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:193
↓ 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
stereo/modeling/models/foundationstereo/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
stereo/modeling/models/foundationstereo/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
stereo/modeling/models/foundationstereo/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
stereo/modeling/models/foundationstereo/dinov2/hub/depth/encoder_decoder.py:124
↓ 1 callersMethodsparse_disp_map_reisze
(disp, fx=1.0, fy=1.0)
stereo/datasets/dataset_utils/stereo_trans.py:152
↓ 1 callersFunctionsweep_C_values
( *, train_features, train_labels, test_data_loader, metric_type, num_classes, tra
stereo/modeling/models/foundationstereo/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.
stereo/modeling/models/foundationstereo/dinov2/fsdp/__init__.py:143
↓ 1 callersFunctiontensor2float
(vars)
stereo/modeling/models/iinet/utils.py:36
↓ 1 callersFunctiontensor2numpy
(vars)
stereo/modeling/models/iinet/utils.py:46
↓ 1 callersFunctiontest_on_datasets
( feature_model, linear_classifiers, test_dataset_strs, batch_size, num_workers, test_
stereo/modeling/models/foundationstereo/dinov2/eval/linear.py:429
↓ 1 callersMethodtopkpool
(self, cost, k)
stereo/modeling/models/coex/coex_disp_processor.py:43
↓ 1 callersFunctiontorch_1d_sample
linearly sample source tensor along the last dimension input: source [N,D1,D2,D3...,Dn] sample_points [N,D1,D2,....,Dn-1,1]
stereo/modeling/models/sttr/utilities/misc.py:40
↓ 1 callersMethodtrain
(self, current_epoch, tbar)
stereo/modeling/trainer_template.py:158
↓ 1 callersFunctiontrain_and_evaluate
( *, C, max_iter, train_features, train_labels, logreg_metric, test_data_loader,
stereo/modeling/models/foundationstereo/dinov2/eval/log_regression.py:159
↓ 1 callersMethodtrain_one_epoch
(self, current_epoch, tbar)
stereo/modeling/trainer_template.py:190
↓ 1 callersFunctiontransfer_color
(target, source)
stereo/datasets/mono_dataset.py:60
↓ 1 callersMethodunpad
(self, x)
stereo/modeling/models/nmrf/utils/frame_utils.py:307
↓ 1 callersMethodupdate_teacher
(self, m)
stereo/modeling/models/foundationstereo/dinov2/train/ssl_meta_arch.py:356
↓ 1 callersFunctionupfeat
(input, prob, up_h=2, up_w=2)
stereo/modeling/models/coex/coex_disp_processor.py:8
↓ 1 callersMethodupsample_disp
(self, disp, mask_feat_4, stem_2x)
stereo/modeling/models/igev_rt/igev_rt_stereo.py:136
↓ 1 callersMethodupsample_disp
(self, disp, mask_feat_4, stem_2x)
stereo/modeling/models/stereobase/stereobase_gru.py:114
↓ 1 callersMethodupsample_disp
(self, disp, mask_feat_4, stem_2x)
stereo/modeling/models/fast_foundationstereo/core/foundation_stereo.py:178
↓ 1 callersMethodupsample_disp
(self, disp, mask_feat_4, stem_2x)
stereo/modeling/models/fast_foundationstereo/core/foundation_stereo.py:363
↓ 1 callersMethodupsample_disp
(self, disp, mask_feat_4, stem_2x)
stereo/modeling/models/igev/igev_stereo.py:132
↓ 1 callersMethodupsample_disp
(self, disp, mask_feat_4, stem_2x)
stereo/modeling/models/foundationstereo/core/foundation_stereo.py:184
↓ 1 callersMethodupsample_disp
Upsample flow field [H, W, 2] -> [2 * H/4, 2 * W, 2] using convex combination
stereo/modeling/models/iinet/networks.py:42
↓ 1 callersMethodupsample_disp
(self, disp, mask_feat_4, stem_2x)
stereo/modeling/models/igevpp/igevpp_stereo.py:154
↓ 1 callersFunctionurl2file
(url)
deploy/deploy_utils.py:189
↓ 1 callersMethodwarmup_factor
(self, step, **params)
stereo/utils/warmup.py:64
↓ 1 callersMethodweight_init
(self)
stereo/modeling/models/coex/coex_cost_processor.py:83
↓ 1 callersMethodweight_init
(self)
stereo/modeling/models/coex/coex_cost_processor.py:181
↓ 1 callersMethodweight_init
(self)
stereo/modeling/models/coex/coex_backbone.py:29
← previousnext →801–900 of 2,487, ranked by callers