Skip to content
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

Edge Model Embedding Issue on iOS #48

Closed
Papasmun opened this issue Mar 10, 2023 · 2 comments
Closed

Edge Model Embedding Issue on iOS #48

Papasmun opened this issue Mar 10, 2023 · 2 comments
Labels
ios Issues that affect iOS question Further information is requested

Comments

@Papasmun
Copy link

Papasmun commented Mar 10, 2023

Issue Outline: Unable to embed MLEdgeModel on iOS. According to to build logs, the model does get downloaded and embedded into the app binary. Seems that NatML isn't picking up the embedded model at runtime

Notes:

  1. Works on Windows build, not on iOS
  2. Using "@natsuite/movenet"
  3. NatML version: 1.1.3
    NatDevice version: 1.3.3
    Hub version: 1.0.20

iOS log
message.txt

Build log on Unity Editor
Editor.log

@olokobayusuf olokobayusuf added bug Something isn't working ios Issues that affect iOS labels Mar 10, 2023
@olokobayusuf
Copy link
Member

Hey @Papasmun I just noticed, it seems like your iOS device is not connected to the internet? Model embedding embeds the graph to reduce download times, but you still need an internet connection the very first time for NatML to fetch the session data needed to create the MLEdgeModel.

@olokobayusuf olokobayusuf added question Further information is requested and removed bug Something isn't working labels Mar 20, 2023
@olokobayusuf
Copy link
Member

I'm closing this issue as we've made several improvements to model embedding in the 1.1.4 update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios Issues that affect iOS question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants