processRequest:qos:qIndex:error:: 0x1: Program Inference overflow

mlmodel run on Mac everything OK.

same mlmodel run on iOS with Vision Framework some error occurs


log:
Code Block
2020-09-16 10:22:58.441664+0800 benchmark[18467:15060162] Metal API Validation Enabled
faceAlign Execution time: 7.557034492492676
2020-09-16 10:22:59.794836+0800 benchmark[18467:15060162] [espresso] [Espresso::ANERuntimeEngine::forward_segment 3] evaluate[RealTime]WithModel returned 0; code=5 err=Error Domain=com.apple.appleneuralengine Code=5 "processRequest:qos:qIndex:error:: 0x1: Program Inference overflow" UserInfo={NSLocalizedDescription=processRequest:qos:qIndex:error:: 0x1: Program Inference overflow}
2020-09-16 10:22:59.794881+0800 benchmark[18467:15060162] [espresso] [Espresso::overflow_error] /private/var/containers/Bundle/Application/568B5CEB-345B-48FC-969A-EF3ACE632A50/benchmark.app/fe1.mlmodelc/model.espresso.net:3
2020-09-16 10:22:59.816024+0800 benchmark[18467:15060162] [espresso] [Espresso::ANERuntimeEngine::forward_segment 4] evaluate[RealTime]WithModel returned 0; code=5 err=Error Domain=com.apple.appleneuralengine Code=5 "processRequest:qos:qIndex:error:: 0x1: Program Inference overflow" UserInfo={NSLocalizedDescription=processRequest:qos:qIndex:error:: 0x1: Program Inference overflow}
2020-09-16 10:22:59.816053+0800 benchmark[18467:15060162] [espresso] [Espresso::overflow_error] /private/var/containers/Bundle/Application/568B5CEB-345B-48FC-969A-EF3ACE632A50/benchmark.app/fe1.mlmodelc/model.espresso.net:4
2020-09-16 10:22:59.851771+0800 benchmark[18467:15060162] [espresso] [Espresso::ANERuntimeEngine::__forward_segment 5] evaluate[RealTime]WithModel returned 0; code=5 err=Error Domain=com.apple.appleneuralengine Code=5 "processRequest:qos:qIndex:error:: 0x1: Program Inference overflow" UserInfo={NSLocalizedDescription=processRequest:qos:qIndex:error:: 0x1: Program Inference overflow}
2020-09-16 10:22:59.851810+0800 benchmark[18467:15060162] [espresso] [Espresso::overflow_error] /private/var/containers/Bundle/Application/568B5CEB-345B-48FC-969A-EF3ACE632A50/benchmark.app/fe1.mlmodelc/model.espresso.net:5
fd:1813843988, fv:70, detect:1813844058, landmark:82, fea:943
2020-09-16 10:23:00.296230+0800 benchmark[18467:15060223] [si_destination_compare] send failed: Invalid argument
2020-09-16 10:23:00.296519+0800 benchmark[18467:15060223] [si_destination_compare] send failed: Undefined error: 0


  • Can you run this model with CPU/GPU or does it always run on Neural Engine?

Add a Comment