You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edge TPU Compiler version 16.0.384591198
Started a compilation timeout timer of 180 seconds.
ERROR: Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors.
Compilation failed: Model failed in Tflite interpreter. Please ensure model can be loaded/run in Tflite interpreter.
Compilation child process completed within timeout period.
Compilation failed!
But I am not interested in the default generated EdgeTPU file, indeed I want to do something like this :
cnn = tf.keras.applications.EfficientNetV2B3(..pooling=None,..) // no pooling
x = cnn(cnn.input)
x = layers.AveragePooling2D(pool_size=(5, 5), strides=(5, 5), padding="same")(x)
x = layers.Flatten()(x)
mdl = models.Model(inputs = cnn.input, outputs =x)
And then build the TFLite and the EdgeTPU.
Unfortunately it doesn't seems possible to do this directly on a TFLite or TFliteEdgeTPU model :
For example : how to apply the code above with this : EfficientB3 EDGE_TPU version ?
And it seems the Coral Dev Board Team has rewrite the EfficientNet model from scratch, but they don't explain why or how to import their model implemented here TPU repo
By import I mean how to replace the pretrainded tf.keras.applications.EfficientNetV2B3 with their model ?
The text was updated successfully, but these errors were encountered:
for this code (on colab https://colab.research.google.com/drive/1WKSgxQUSZp4Q5dHeq2HgJvjjVzxJUoqA?usp=sharing) :
And then
!edgetpu_compiler -s cnn.tflite
I am getting :
I am fully aware that the Coral Dev Board team release the EdgeTPU Model version (efficientnet-edgetpu-L_quant_edgetpu.tflite)
But I am not interested in the default generated EdgeTPU file, indeed I want to do something like this :
And then build the TFLite and the EdgeTPU.
Unfortunately it doesn't seems possible to do this directly on a TFLite or TFliteEdgeTPU model :
For example : how to apply the code above with this : EfficientB3 EDGE_TPU version ?
And it seems the Coral Dev Board Team has rewrite the EfficientNet model from scratch, but they don't explain why or how to import their model implemented here TPU repo
By import I mean how to replace the pretrainded tf.keras.applications.EfficientNetV2B3 with their model ?
The text was updated successfully, but these errors were encountered: