AsianPlayer's picture
download
raw
1.15 kB
"""cwm3/baselines_dms — weights/software REGISTRY and adapters for the DMS-baseline expansion (decisions.md rows of 2026-09-14).
Scope of this package: install / download / verify third-party DMS components (Intel OMZ IRs, MediaPipe Face Landmarker, L2CS-Net,
VideoMAEv2 ViT-S, OpenFace 3.0) and expose `registry.resolve(id) -> Path` which asserts every file's sha256 before returning.
Nothing here reads an openpilot DMS field; no test-split video leaves this machine; results/ is never written.
sys.path shim (same pattern as eval/gold_extended.py): cwm3/train, cwm3/eval, cwm3/data, cwm3/common, cwm2/eval,
cwm2/baselines/legacy_cockpitwm are importable so later adapters can reuse the shared evaluators without copying code.
"""
from __future__ import annotations
import sys
from pathlib import Path
CWM3 = Path(__file__).resolve().parents[1]
EXPLORE = CWM3.parent
CWM2 = EXPLORE / "cwm2"
for _p in (CWM3 / "train", CWM3 / "eval", CWM3 / "data", CWM3 / "common", CWM2 / "eval", CWM2 / "baselines" / "legacy_cockpitwm"):
if str(_p) not in sys.path:
sys.path.insert(0, str(_p))
WEIGHTS = Path(__file__).resolve().parent / "weights"

Xet Storage Details

Size:
1.15 kB
·
Xet hash:
a06aa0634f1faf1622b7b038e1c9bbe29f39e077cfc4e06d5ae7804def006fde

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.