Skip to content

A small shift in RF-DETR mask in instance segmentation, especially on CoreML #1406

Description

@msluszniak

Description

We spotted that in CoreML delegate of RF-DETR there is a small shift to the right of both masks and bounding boxes. The reason is probably in some numerical defects in ET export/runtime. On XNNPack variant there is non / way smaller shift, but can have the same origin. Photos for reference:

CoreML:
Image

XNNPack:
Image

Steps to reproduce

Run CV demo app and run instance segmentation with RF-DETR model.

Snack or a link to a repository

No response

React Native Executorch version

rne-rewrite branch

React Native version

0.83

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

AI model

No response

Performance logs

No response

Acknowledgements

Yes

Activity

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

Metadata

Metadata

Assignees

Labels

modelIssues related to exporting, improving, fixing ML modelsplatform: iosIssues and tasks related to iOS

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions