↓ 1 callersFunction_make_dinov2_linear_depth_head(
*,
embed_dim: int,
layers: int,
min_depth: float,
max_depth: float,
**kwargs,
)
stereo/modeling/models/foundationstereo/dinov2/hub/depthers.py:36
↓ 1 callersFunction_make_sampler(
*,
dataset,
type: Optional[SamplerType] = None,
shuffle: bool = False,
seed: int = 0,
stereo/modeling/models/foundationstereo/dinov2/data/loaders.py:100
↓ 1 callersMethod_softmax Alternative to optimal transport :param attn: raw attention weight, [N,H,W,W] :return: updated attention weight, [N,H,W+1,W+
stereo/modeling/models/sttr/utilities/regression_head.py:192
↓ 1 callersMethodbinary_mask_dice_loss Args: mask_preds (Tensor): Mask prediction in shape (N1, H, W). gt_masks (Tensor): Ground truth in shape (N2, H, W)
stereo/modeling/models/foundationstereo/dinov2/eval/segmentation_m2f/models/losses/match_costs.py:71