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)
Summary
Couldn't run the model with
.metaloption on iPhone simulator after updating my Xcode to 11.4.1Environment
How to solve
acceleratordefault param to.cpu(163 line onTFLiteImageInterpreter.swift)