Skip to content

Re-export OCR to use single weights #692

@chmjkb

Description

@chmjkb

Problem description

Currently our OCR pipeline needs using 3 different input shapes, so there is 3 different models exported, each with a different input shape, but with the same weights. This creates unnecessary overhead, since the users need to download the same weights 3 times.

Proposed solution

see https://docs.pytorch.org/executorch/stable/using-executorch-export.html#multi-method-models

Alternative solutions

No response

Benefits to React Native ExecuTorch

Less overhead for the users

Additional context

No response

Metadata

Metadata

Assignees

Labels

improvementPRs or issues focused on improvements in the current codebasemodelIssues related to exporting, improving, fixing ML models

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions