ValYouW / tflite-dist

TensorFlow Lite C/C++ distribution libraries and headers
MIT License
111 stars 19 forks source link

Node number 0 (FlexPad) failed to prepare #13

Closed Amadeus-AI closed 3 years ago

Amadeus-AI commented 3 years ago

Hi, Thanks for the great work. I encountered the following error on win10: ERROR : Regular TensorFlow ops are not supported by this interpreter. Make sure you apply / link the Flex delegate before inference. ERROR : Node number 0 (FlexPad) failed to prepare.

How can I fix it?

ValYouW commented 3 years ago

I guess that tflite support only a set of ops by default, and these "Flex" ops are not supported. I am not sure I know how to build with the "flex delegate" support.

Amadeus-AI commented 3 years ago

Thanks for the reply:)