Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile tflite cpm hand model to edge TPU #82

Open
akssieg opened this issue Sep 26, 2020 · 0 comments
Open

compile tflite cpm hand model to edge TPU #82

akssieg opened this issue Sep 26, 2020 · 0 comments

Comments

@akssieg
Copy link

akssieg commented Sep 26, 2020

I successfully converted the provide checkpoints (cpm_hand) to tflite model and presently trying to compile the tflite model for edge TPU. During compilation the edge TPU compiler provides the following output:

`Edge TPU Compiler version 14.1.317412892

Model compiled successfully in 68 ms.

Input model: tflite_model/hand_quant.tflite
Input size: 23.38MiB
Output model: hand_quant_edgetpu.tflite
Output size: 23.38MiB
On-chip memory used for caching model parameters: 0.00B
On-chip memory remaining for caching model parameters: 0.00B
Off-chip memory used for streaming uncached model parameters: 0.00B
Number of Edge TPU subgraphs: 0
Total number of operations: 42
Operation log: hand_quant_edgetpu.log

Model successfully compiled but not all operations are supported by the Edge TPU. A percentage of the model will instead run on the CPU, which is slower. If possible, consider updating your model to use only operations supported by the Edge TPU. For details, visit g.co/coral/model-reqs.
Number of operations that will run on Edge TPU: 0
Number of operations that will run on CPU: 42

Operator                       Count      Status

CONV_2D                        31         Operation is working on an unsupported data type
QUANTIZE                       6          Operation is otherwise supported, but not mapped due to some unspecified limitation
CONCATENATION                  2          Operation is working on an unsupported data type
MAX_POOL_2D                    3          Operation is working on an unsupported data type`

This shows that none of the layers are executing on the TPU and will use the CPU instead.

Anybody tried and succeeded with the full edge TPU compilation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant