Make YOLO preflight runnable in backend container
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user