Add reproducible grayscale detector corpus
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:21:53 +02:00
parent 741ad20dcb
commit 31c18792d1
4 changed files with 138 additions and 0 deletions
@@ -81,6 +81,7 @@ def main() -> int:
parser.add_argument("--device", default="cuda:0")
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)
args = parser.parse_args()
from ultralytics import YOLO
@@ -104,6 +105,7 @@ def main() -> int:
conf=min(args.thresholds),
device=args.device,
augment=args.augment,
imgsz=args.imgsz,
verbose=False,
)
observations: list[dict[str, Any]] = []
@@ -152,6 +154,7 @@ def main() -> int:
"split": args.split,
"match_iou": args.match_iou,
"test_time_augmentation": args.augment,
"inference_imgsz": args.imgsz,
"tile_count": len(tiles),
"sweeps": sweeps,
}