Spaces:
Running on Zero
Running on Zero
File size: 621 Bytes
87608ea | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | """Public preprocessing and raw-forward helpers for PXDepth inference.
The package centralizes fixed-size and equal-area image resizing, patch-grid
alignment, output restoration, and timed model execution. These helpers return
raw normalized predictions and avoid embedding benchmark-specific alignment in
the model forward path.
"""
from .runner import predict_raw
from .resize import area_size, area_size_from_area, parse_size, patch_size, resize_image, resize_map
__all__ = [
"predict_raw",
"area_size",
"area_size_from_area",
"parse_size",
"patch_size",
"resize_image",
"resize_map",
]
|