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

Cannot inference with GPU on simulator (Xcode Version 11.4.1 (11E503a)) #49

Open
tucan9389 opened this issue May 3, 2020 · 0 comments · Fixed by #50
Open

Cannot inference with GPU on simulator (Xcode Version 11.4.1 (11E503a)) #49

tucan9389 opened this issue May 3, 2020 · 0 comments · Fixed by #50
Assignees
Labels
🐞 bug Something isn't working

Comments

@tucan9389
Copy link
Owner

Summary

Couldn't run the model with .metal option on iPhone simulator after updating my Xcode to 11.4.1

Environment

  • macOS: Version 10.15.4 (19E287)
  • Xcode: Version 11.4.1 (11E503a)
  • TensorFlowLiteSwift: 2.1.0

How to solve

  • If you want to run on the simulator, change the accelerator default param to .cpu (163 line on TFLiteImageInterpreter.swift)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
1 participant