Skip to content

chore: use coreml version of rf detr on iOS#1034

Merged
NorbertKlockiewicz merged 1 commit intomainfrom
@nk/coreml-rfdetr
Mar 31, 2026
Merged

chore: use coreml version of rf detr on iOS#1034
NorbertKlockiewicz merged 1 commit intomainfrom
@nk/coreml-rfdetr

Conversation

@NorbertKlockiewicz
Copy link
Copy Markdown
Contributor

@NorbertKlockiewicz NorbertKlockiewicz commented Mar 31, 2026

Description

Use rf detr exported to coreml on iOS devices.

Also there was a false information in docs that for object detection rf detr was exported with a size of 312 while the true input size is 384x384

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

Screenshots

Related issues

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

@msluszniak
Copy link
Copy Markdown
Member

About this size of rf-detr from where you get this information, please check out this one: #1020

@NorbertKlockiewicz
Copy link
Copy Markdown
Contributor Author

About this size of rf-detr from where you get this information, please check out this one: #1020

I checked the shape of model forward function, also for object detection the native size is 384, for segmentation it's 312.

@msluszniak msluszniak added the chore PRs that are chores label Mar 31, 2026
@NorbertKlockiewicz NorbertKlockiewicz merged commit 42fcb20 into main Mar 31, 2026
5 checks passed
@NorbertKlockiewicz NorbertKlockiewicz deleted the @nk/coreml-rfdetr branch March 31, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore PRs that are chores

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants