MCPcopy
hub / github.com/obss/sahi / detect_batch.py

File detect_batch.py

scripts/detect_batch.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Batch inference detection script — multiple HuggingFace architectures.
2
3Tests sigmoid (RT-DETRv2, Conditional DETR) and softmax+background (DETR, YOLOS)
4classification heads. Runs single-image and batch inference, saves annotated

Callers

nothing calls this directly

Calls 3

read_imageFunction · 0.90
runFunction · 0.85
sepFunction · 0.85

Tested by

no test coverage detected