Repository navigation
Conversation
|
👋 Thanks for the pull request! Here is how automated Claude review works here, so you spend credits (and reviewer time) wisely. 🚧 Right now this is a draft, so automated Claude review is paused — nothing is being spent yet. Mark it Ready for review to trigger it. Warning 💸 The Claude reviewer bills in credits, not vibesAutomated review spins up a real agent that reads real code and spends real credits on every pass. It is glad to help — but it is not a rubber duck, a linter you poke in a loop, or a substitute for reading the contributing guide. Treat it like an expensive senior reviewer whose time you booked, and show up prepared. Draft when unsure, Ready when you mean it:
However you get there, arrive prepared:
Reviews are not free. A draft costs nothing to review; a Ready PR is a promise that it is worth reviewing.
|
|
|
Superseded by Inference #3280, which contains this serving implementation and native Workflow consensus in one draft against
main. The original branch and description are retained for history. Source consolidation does not publish packages or deploy.Description
Serve exported RF-DETR oriented models as the native
oriented-object-detectiontask. The CPU ONNX loader requires frozen class semantics and the explicit uniform letterbox contract, selects raw box/class/heading outputs, and returns ordered[cx, cy, width, height, theta]tuples in original-image pixels. Four box-relative heading sides preserve footprint/front by swapping ordered sides for adjacent axes; malformed or missing semantics do not fall back to ordinary detection.Add the dedicated server response/route and current Inference SDK API v1 task dispatch. Native SDK requests skip client resizing. Add a distinct Workflow kind, model and visualization blocks, plus NumPy/tensor transport through row filters, row combination, crop/root offsets and serialization. Frozen class maps reconcile explicitly during combination. General warped footprints serialize as ordered quadrilaterals, without inventing a rectangle fit.
Validation
git diff --checkpassed. Existing SDK client/entities regression run: 198 passed, 65 failed, 2 errors, identically on base18eb2936and this head. There are no newly failing cases; 63 failures lack the async pytest plugin and both fixture errors come from the isolated test-root setting. This is environment-limited regression evidence, not a fully green SDK suite.Dependencies and supported targets
Requires compatible native export/trainer artifacts and adoption of the resulting inference-models, Workflows and SDK packages. Local CPU ONNX execution was tested; hosted deployment, cloud/GPU execution and package release were not performed. CUDA/TRT/CoreML, browser inferencejs, legacy
roboflow-pythonversion.model, and the legacy SDK API v0 downsizing path are excluded from the advertised native target matrix.Native kind compatibility is enabled for its model/visualization, row filters/combination and dynamic crop paths. Query-language
DetectionsShiftandDetectionsOffsetare excluded and reject native inputs before mutation in both carriers. Perspective blocks are not opted into the native kind in this change; the transport/schema can retain explicit ordered quadrilaterals. Native row combination preserves contributors; the existing union-AABB Detections Merge and consensus are not enabled for this kind. A separate followup on #2420 preserves coherent contributor geometry/front, and needs its package-migration rebase before native opt-in. Perspective/refit annotation acceptance and dataset writeback require compatible platform adapters and admission checks. Full details:docs/fine-tuned/rfdetr-obb.md.