chore(demo): relocate yolo model default under ckpt

Point demo defaults and integration tests to the checkpoint directory so runtime configuration matches the canonical model artifact location.
This commit is contained in:
2026-02-27 20:14:35 +08:00
parent 4cc2ef7c63
commit e90e53ffaf
+1 -1
View File
@@ -31,7 +31,7 @@ REPO_ROOT: Final[Path] = Path(__file__).resolve().parents[2]
SAMPLE_VIDEO_PATH: Final[Path] = REPO_ROOT / "assets" / "sample.mp4"
CHECKPOINT_PATH: Final[Path] = REPO_ROOT / "ckpt" / "ScoNet-20000.pt"
CONFIG_PATH: Final[Path] = REPO_ROOT / "configs" / "sconet" / "sconet_scoliosis1k.yaml"
YOLO_MODEL_PATH: Final[Path] = REPO_ROOT / "yolo11n-seg.pt"
YOLO_MODEL_PATH: Final[Path] = REPO_ROOT / "ckpt" / "yolo11n-seg.pt"
def _device_for_runtime() -> str: