Files
operating-room-monitor-server/backend/scripts/bake_torch_hub_checkpoint.py
2026-05-27 16:22:55 +08:00

12 lines
349 B
Python

#!/usr/bin/env python3
"""Backward-compatible entrypoint; bakes all hub weights (see bake_pretrained_weights.py)."""
from __future__ import annotations
import runpy
from pathlib import Path
if __name__ == "__main__":
target = Path(__file__).resolve().parent / "bake_pretrained_weights.py"
runpy.run_path(str(target), run_name="__main__")