s1ddok/HED-CoreML

presumably - this doesn't work on iphone6??

Closed this issue · 5 comments

2017-09-05 20:20:54.096545-0400 HED-CoreML[1018:343748] [Accessibility] Got a keyboard will show notification, but keyboard was not on screen.
2017-09-05 20:20:54.141585-0400 HED-CoreML[1018:343748] refreshPreferences: HangTracerEnabled: 1
2017-09-05 20:20:54.142015-0400 HED-CoreML[1018:343748] refreshPreferences: HangTracerDuration: 500
2017-09-05 20:20:54.142074-0400 HED-CoreML[1018:343748] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
2017-09-05 20:20:54.651972-0400 HED-CoreML[1018:343748] [Accessibility] Got a keyboard will hide notification, but keyboard was not even present.
2017-09-05 20:21:11.373427-0400 HED-CoreML[1018:343868] Execution of the command buffer was aborted due to an error during execution. Caused GPU Timeout Error (IOAF code 2)
2017-09-05 20:21:11.484659-0400 HED-CoreML[1018:343748] [coreml] Error computing NN outputs -1
fatal error: 'try!' expression unexpectedly raised an error: Error Domain=com.apple.CoreML Code=0 "Error computing NN outputs." UserInfo={NSLocalizedDescription=Error computing NN outputs.}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-900.0.52/src/swift/stdlib/public/core/ErrorType.swift, line 181
2017-09-05 20:21:11.541373-0400 HED-CoreML[1018:343748] fatal error: 'try!' expression unexpectedly raised an error: Error Domain=com.apple.CoreML Code=0 "Error computing NN outputs." UserInfo={NSLocalizedDescription=Error computing NN outputs.}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-900.0.52/src/swift/stdlib/public/core/ErrorType.swift, line 181
(lldb)

Looks like a CoreML bug to be honest, I will try to find 6 and investigate

Running a custom model with coreml and iphone 6 and getting the same error. Although not related to this repo, did anyone find a solution?

Same issue I'm facing. let me know if anyone has solved or got any solution

@simonbengtsson which one is the solution from above link?

BTW I'm getting error in below line
featureProvider = try self.hedSO!.prediction(data: inputPixelBuffer)