EdgeTpuDelegateForCustomOp failed to prepare
See original GitHub issueWhen following the guide at https://coral.ai/docs/dev-board/get-started#6-run-a-model-using-the-tensorflow-lite-api I see the following error instead of the expected classification results:
mendel@red-bunny:~/tflite/python/examples/classification$ python3 classify_image.py \
> --model models/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
> --labels models/inat_bird_labels.txt \
> --input images/parrot.jpg
Traceback (most recent call last):
File "classify_image.py", line 122, in <module>
main()
File "classify_image.py", line 100, in main
interpreter.allocate_tensors()
File "/home/mendel/.local/lib/python3.7/site-packages/tflite_runtime/interpreter.py", line 242, in allocate_tensors
return self._interpreter.AllocateTensors()
File "/home/mendel/.local/lib/python3.7/site-packages/tflite_runtime/interpreter_wrapper.py", line 115, in AllocateTensors
return _interpreter_wrapper.InterpreterWrapper_AllocateTensors(self)
RuntimeError: Internal: Unsupported data type: 0Node number 1 (EdgeTpuDelegateForCustomOp) failed to prepare.
Issue Analytics
- State:
- Created 3 years ago
- Comments:23
Top Results From Across the Web
RuntimeError: Internal: Unsupported data type in custom op ...
RuntimeError: Internal: Unsupported data type in custom op handler: -1328842432Node number 1 (EdgeTpuDelegateForCustomOp) failed to prepare.
Read more >Build Coral for your platform
Unsupported data type in custom op handler: (EdgeTpuDelegateForCustomOp) failed to preparelink. After running a TF Lite model through the Edge TPU Compiler, ...
Read more >AutoML TensorflowLite export is broken for Object Detection
Node number 2 (EdgeTpuDelegateforCustomOp) failed to prepare. Alex_Seguin August 13, 2021, 3:53am #4. Saw the same error on TF Lite models ...
Read more >failed to prepare device for deplo… | Apple Developer Forums
I have tried running an app I've been working on on my phone and I keep getting a "Failed to prepare this device...
Read more >Developers - Run Edge tpu error - - Bountysource
RuntimeError: Internal: Unsupported data type in custom op handler: 0Node number 0 (edgetpu-custom-op) failed to prepare.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Awesome, thanks, that works! Closing.
ok thankyou now I will try it