Inconsistent RF-DETR Inference Results Between Roboflow UI and Local Inference (Preprocessing and Post-processing Clarification)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 320
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 133
Description
Search before asking
- I have searched the Inference issues and found no similar feature requests.
Question
Hi Roboflow Team,
I’m using an RF-DETR model trained on Roboflow and observed inconsistent inference results between the Roboflow UI and my local inference setup.
Specifically:
When running inference via the Roboflow UI, detections are accurate and as expected.
However, when I run inference locally (using the HTTP API and other methods), the same images produce noticeably different results (missed detections / shifted boxes / confidence variations).
I suspect this might be due to differences in preprocessing (e.g., resizing, normalization, color handling) that are internally handled in the Roboflow pipeline but not clearly exposed for local replication.
Could you please clarify:
What exact preprocessing steps are applied during RF-DETR inference in the Roboflow UI?
Are these same steps automatically applied in the hosted inference API, or do we need to manually replicate them for local/custom inference?
Is there any documentation or reference implementation to ensure preprocessing consistency?
Understanding this would help ensure consistent results across environments and avoid performance discrepancies.
Thanks in advance!
Additional
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named in the issue. Start by locating the RF-DETR inference preprocessing and post-processing paths, then compare them with the Roboflow UI and hosted HTTP API behavior; done means documenting the exact steps and whether local callers must reproduce any of them.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, computer-vision
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100