Support dense full-AOI building evaluation
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Jens
2026-07-27 05:53:14 +02:00
parent f07ff5d52c
commit 8a4a995659
4 changed files with 23 additions and 1 deletions
@@ -82,6 +82,12 @@ def main() -> int:
parser.add_argument("--split", default="val")
parser.add_argument("--augment", action="store_true", help="Enable deterministic YOLO test-time augmentation.")
parser.add_argument("--imgsz", type=int, default=640)
parser.add_argument(
"--max-det",
type=int,
default=1000,
help="Maximum detections retained per tile; dense Belgian urban tiles exceed YOLO's default 300.",
)
args = parser.parse_args()
from ultralytics import YOLO
@@ -106,6 +112,7 @@ def main() -> int:
device=args.device,
augment=args.augment,
imgsz=args.imgsz,
max_det=args.max_det,
verbose=False,
)
observations: list[dict[str, Any]] = []
@@ -155,6 +162,7 @@ def main() -> int:
"match_iou": args.match_iou,
"test_time_augmentation": args.augment,
"inference_imgsz": args.imgsz,
"max_detections_per_tile": args.max_det,
"tile_count": len(tiles),
"sweeps": sweeps,
}