docs: update DATA_DIR references (renamed from CACHE_DIR), container path /app/data
+2
-2
@@ -56,7 +56,7 @@ Edit the volume paths in `compose.yml` to point to directories on your host wher
|
|||||||
```yaml
|
```yaml
|
||||||
volumes:
|
volumes:
|
||||||
- /your/path/to/models:/models
|
- /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
|
- /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 |
|
| `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) |
|
| `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) |
|
| `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) |
|
| `INSIGHTFACE_HOME` | *(system)* | InsightFace model cache path (Buffalo_L) |
|
||||||
|
|
||||||
### Output
|
### Output
|
||||||
|
|||||||
+2
-2
@@ -142,9 +142,9 @@ docker exec winnow cat /app/frigate_train/winnow.log | grep -i "provider\|execut
|
|||||||
|
|
||||||
## Same images uploaded every run
|
## 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.
|
**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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user