Closed eduardofv closed 4 years ago
Try to use tensorflow==2.1.0rc0
. It seems like already fixed with newest release.
I've checked with latest tf and everything works fine. Also, I've reproduced your issue with tf==2.0.0
Check colab
Great! Thanks!
I'm getting InvalidArgumentError when using a trainable KerasLayer from USE-large-v5, or USE-v4. Works fine with other modules or if the layer is not trainable. Using TF 2.0, hub 0.7.0 in Colab (but also found in local environments and using not TF Keras).
Check Colab for full example
Outputs: