-
Notifications
You must be signed in to change notification settings - Fork 31
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
Not all operations are supported by the Edge TPU #11
Comments
I have the exact same problem with the same number/type of unsupported ops. Also on tf 2.3.0 (gpu). |
Update: Tensorflow 2.1.0 seems to work for me. Didn't have to change anything about the EdgeTPU compiler, just the TF version while running keras_to_tflite_quant.py |
I have experienced the same issue, finally a was able to fully compile a yolov3-tiny custom model with the latest tensorflow version (v2.3). The main problem here is that the edge tpu compiler can't convert the RESIZE_NEAREST_NEIGHBOR operation (that comes from the Upsampling2D layer in the keras transformation) and it creates the rest of failed compiled operations due to subgraphs. What the edge tpu compiler really can't convert is the |
It solved the problem (Y)! |
Operator Count Status MAX_POOL_2D 6 Mapped to Edge TPU It solved the problem (Y)! Thank You :) |
Hey there!
I´m using tensorflow gpu version 2.3.0 and my custom model (anchors and image size are the same, i only modified the number of classes and used relu layers instead of leaky).
First of all I needed to add this line
converter.experimental_new_converter = False
because my tensorflow version is higher than 2.2 (just in case this is interesting for you).After that I was able to run
edgetpu_compiler -s quant.tflite
but the output tells me that some operations will be run on the CPUDo you have any idea how to fix this?
The text was updated successfully, but these errors were encountered: