-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error while importing a Keras Model with a TFHub layer #3052
Labels
Comments
Can you provide with more error message and some code segments? |
A minimal working example:
|
Model.load_keras is only tested on Keras 1.2.2. |
Thank you @hkvision Do you have other workarounds to load a tfhub model (other APIs which I don't know...)? |
You can take a look at TFPark in Analytics Zoo. For the support of TF2, we are still working in progress. TFPark supports TF 1.15 and the corresponding tf.keras. |
Le-Zheng
pushed a commit
to Le-Zheng/BigDL
that referenced
this issue
Oct 20, 2021
* remove featuretools from setup.py and docs * remove redundant import * change doc in automl readme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I tried importing a Keras model saved in h5 format with the Model.load_keras API, but I got the following error:
Unknown layer: KerasLayer
Which obviously refers to the tensorflow-hub layer. Does this mean that tfhub models can't be used with bigDL?
The text was updated successfully, but these errors were encountered: