Skip to content

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

Description

@tucan9389

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)

Activity

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

Metadata

Metadata

Assignees

Labels

🐞 bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions