Skip to content

Add changes to align inference-exp with refrence RFDetr implementation #1459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 1, 2025

Conversation

PawelPeczek-Roboflow
Copy link
Collaborator

@PawelPeczek-Roboflow PawelPeczek-Roboflow commented Jul 28, 2025

Description

Changes to RFDetr to align with reference implementation

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How has this change been tested, please provide a testcase or example of how you tested the change?

  • e2e

Any specific deployment considerations

For example, documentation changes, usability, usage/costs, secrets, etc.

Docs

  • Docs updated? What were the changes:

@hansent
Copy link
Contributor

hansent commented Jul 30, 2025

I tested this with local file weights (pulled via rf-detr main repo) and it worked well. Do we need additional changes or registry changes before PR review and merging?

@PawelPeczek-Roboflow PawelPeczek-Roboflow marked this pull request as ready for review July 31, 2025 15:29
implied_resolution = positional_encoding_size * patch_size

if implied_resolution != dino_config["image_size"]:
print(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should think about how we want to do logging long term. Thinking both for general dev-ex and potentially structured logging or log files for analytics / debugging purposes.

Copy link
Contributor

@hansent hansent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PawelPeczek-Roboflow PawelPeczek-Roboflow merged commit 59d6cc4 into main Aug 1, 2025
38 checks passed
@PawelPeczek-Roboflow PawelPeczek-Roboflow deleted the feature/rfdetr-upgrade-in-inference-exp branch August 1, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants