Skip to content

Inconsistent RF-DETR Inference Results Between Roboflow UI and Local Inference (Preprocessing and Post-processing Clarification) #2302

Open

Description

@ali-nawaz-ccript

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

Activity

  1. PawelPeczek-Roboflow commented on May 5, 2026

    @PawelPeczek-Roboflow
    Collaborator

    Hi there - that sounds like a problem - at least something which is not expected / intentional. Could you please provide more information specific to your problem:

    • which model we are talking about
    • what is the local setup you use
      knowing that, it would be easier for us to solve the problem.
  2. ali-nawaz-ccript commented on May 7, 2026

    @ali-nawaz-ccript
    Author

    Hi Pawel,
    Here are the details of my setup:

    Model: RF-DETR (medium), trained on Roboflow
    Model ID: city-wide-table-extraction/10
    Inference methods tested: Roboflow inference SDK (Python) and HTTP API

    Local setup:

    OS: Windows 10
    Python: 3.12
    Using Roboflow inference Python package (latest version)
    Input images passed directly into the model, no manual preprocessing applied when using SDK/API

  3. PawelPeczek-Roboflow commented on May 18, 2026

    @PawelPeczek-Roboflow
    Collaborator

    Hi, sorry for reaching back so late.

    If I understand correctly, you just run Roboflow inference SDK to send requests to our hosted HTTP API, right? Or maybe we are talking about inference server deployed somewhere locally (if so, what is the server setup - which version we are talking about and what hardware platform / OS are you running).

    Also, if possible - please reach our via support to give us access to your workspace, such that we can play with models (which we do not have ability without client consent).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions