From ba7172e984f418d83215027daf941ec00f70a46c Mon Sep 17 00:00:00 2001 From: Holden Salomon Date: Sun, 14 Jun 2026 21:56:11 +0000 Subject: [PATCH] docs: update DATA_DIR references (renamed from CACHE_DIR), container path /app/data --- Setup.md | 4 ++-- Troubleshooting.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Setup.md b/Setup.md index 9f1bd50..857f5b5 100644 --- a/Setup.md +++ b/Setup.md @@ -56,7 +56,7 @@ Edit the volume paths in `compose.yml` to point to directories on your host wher ```yaml volumes: - /your/path/to/models:/models - - /your/path/to/cache:/app/.if_cache + - /your/path/to/data:/app/data - /your/path/to/output:/app/frigate_train ``` @@ -224,7 +224,7 @@ The following variables control quality thresholds that are pre-calibrated for F | `FORCE_CPU` | `false` | Disable GPU — fall back to CPU for all inference | | `OPENVINO_DEVICE` | `CPU` | Intel variant only: `GPU` = iGPU/Arc (requires `/dev/dri`); `CPU` = OpenVINO CPU plugin (optimised CPU kernels, not the iGPU) | | `ENABLE_CACHE` | `true` | Cache computed embeddings to disk (speeds up re-runs on the same library) | -| `CACHE_DIR` | `.if_cache` | Path for embedding cache and upload tracker database (`winnow_tracker.db`) | +| `DATA_DIR` | `data` | Path for embedding cache and upload tracker database (`winnow_tracker.db`) | | `INSIGHTFACE_HOME` | *(system)* | InsightFace model cache path (Buffalo_L) | ### Output diff --git a/Troubleshooting.md b/Troubleshooting.md index 142760d..03c00ea 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -142,9 +142,9 @@ docker exec winnow cat /app/frigate_train/winnow.log | grep -i "provider\|execut ## Same images uploaded every run -The upload tracker is stored in `CACHE_DIR` (`/app/.if_cache` by default) as `winnow_tracker.db` (SQLite). If this volume isn't persisted between runs, the tracker resets and images are re-uploaded. +The upload tracker is stored in `DATA_DIR` (`/app/data` by default) as `winnow_tracker.db` (SQLite). If this volume isn't persisted between runs, the tracker resets and images are re-uploaded. -Make sure `/app/.if_cache` is mounted to a persistent host path. +Make sure `/app/data` is mounted to a persistent host path. **Upgrading from 0.4.x:** winnow automatically migrates the legacy JSON tracker files (`frigate_uploaded_ids.json` / `frigate_rejected_ids.json`) to SQLite on the first run and renames them to `.json.bak`. No manual action is required.