Make YOLO preflight runnable in backend container
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-17 02:02:17 +02:00
parent 3f1a686bef
commit 382dcadec4
8 changed files with 89 additions and 52 deletions
+6
View File
@@ -224,6 +224,12 @@ Optional local model compatibility smoke:
python scripts/yolo_preflight.py --model-path /absolute/path/to/local-model.pt --tile-manifest-path /absolute/path/to/manifest.json --check-model-load --json
```
In Docker, run the same smoke through the backend container:
```bash
docker compose exec -T backend python scripts/yolo_preflight.py --model-path /absolute/path/to/local-model.pt --tile-manifest-path /absolute/path/to/manifest.json --check-model-load --json
```
The smoke loads only the supplied local model file, does not run inference and
does not download weights.