Persist Mol operator evidence
This commit is contained in:
+6
-1
@@ -225,10 +225,15 @@ operator command:
|
||||
```bash
|
||||
docker exec -it \
|
||||
-e OPERATOR_SAMPLE_MANIFEST_PATH=/app/storage/operator-data/mol-operational-1024/operator_samples_manifest.json \
|
||||
-e MOL_VALIDATION_OUTPUT_DIR=/app/artifacts/mol-operational-validation/current \
|
||||
-e MOL_VALIDATION_OUTPUT_DIR=/app/storage/operator-evidence/mol-operational-validation/current \
|
||||
geointel bash /app/scripts/run_mol_operational_validation.sh http://127.0.0.1
|
||||
```
|
||||
|
||||
Inside the all-in-one image that persistent storage path is also the automatic
|
||||
default. Evidence therefore survives container replacement. Local repository
|
||||
runs keep using `artifacts/mol-operational-validation/<timestamp>` unless the
|
||||
output variable is set explicitly.
|
||||
|
||||
The runner defaults to the active local model at tile `512`, overlap `64`,
|
||||
confidence `0.15` and QA IoU `0.25`. Every positive run persists Project, Area,
|
||||
Dataset, Job, AnalysisRun, Detection, QualityCheck, Metric and Export records.
|
||||
|
||||
@@ -10,7 +10,8 @@ Usage:
|
||||
Optional environment:
|
||||
MOL_POSITIVE_SAMPLE_SLUGS Positive Mol holdouts. Default: mol_achterbos mol_gompel mol_donk mol_postel.
|
||||
MOL_BACKGROUND_SAMPLE_SLUGS Mol background controls. Default: postel_bos.
|
||||
MOL_VALIDATION_OUTPUT_DIR Output directory, default: artifacts/mol-operational-validation/<timestamp>.
|
||||
MOL_VALIDATION_OUTPUT_DIR Output directory. Defaults to persistent /app/storage/operator-evidence
|
||||
in the all-in-one container and artifacts/ locally.
|
||||
QUALITY_MODEL_ASSET_IDS Local model asset ID, default: active configured model.
|
||||
QUALITY_TILE_SIZES Default: 512.
|
||||
QUALITY_TILE_OVERLAPS Default: 64.
|
||||
@@ -25,11 +26,16 @@ EOF
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "${ROOT}"
|
||||
|
||||
default_validation_output="artifacts/mol-operational-validation/$(date -u +%Y%m%dT%H%M%SZ)"
|
||||
if [ "${ROOT}" = "/app" ] && [ -d "/app/storage" ]; then
|
||||
default_validation_output="/app/storage/operator-evidence/mol-operational-validation/$(date -u +%Y%m%dT%H%M%SZ)"
|
||||
fi
|
||||
|
||||
BASE_URL="${1:-${GE_INTEL_BASE_URL:-http://localhost:1202}}"
|
||||
OPERATOR_SAMPLE_MANIFEST_PATH="${OPERATOR_SAMPLE_MANIFEST_PATH:-storage/operator-data/mol-operational-1024/operator_samples_manifest.json}"
|
||||
MOL_POSITIVE_SAMPLE_SLUGS="${MOL_POSITIVE_SAMPLE_SLUGS:-mol_achterbos mol_gompel mol_donk mol_postel}"
|
||||
MOL_BACKGROUND_SAMPLE_SLUGS="${MOL_BACKGROUND_SAMPLE_SLUGS:-postel_bos}"
|
||||
MOL_VALIDATION_OUTPUT_DIR="${MOL_VALIDATION_OUTPUT_DIR:-artifacts/mol-operational-validation/$(date -u +%Y%m%dT%H%M%SZ)}"
|
||||
MOL_VALIDATION_OUTPUT_DIR="${MOL_VALIDATION_OUTPUT_DIR:-${default_validation_output}}"
|
||||
QUALITY_MODEL_ASSET_IDS="${QUALITY_MODEL_ASSET_IDS:-${REAL_MODEL_ASSET_ID:-__active__}}"
|
||||
QUALITY_TILE_SIZES="${QUALITY_TILE_SIZES:-512}"
|
||||
QUALITY_TILE_OVERLAPS="${QUALITY_TILE_OVERLAPS:-64}"
|
||||
|
||||
Reference in New Issue
Block a user