-
Notifications
You must be signed in to change notification settings - Fork 26
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
Cloning a TextVectorization Layer with Split Function Doesn't Work #716
Comments
Inspecting the code for As a workaround, I extended the
Cloning an instance of |
@sachinprasadhs, |
@rlcauvin , From TensorFlow 2.16, Keras 3 will be the backend for tf.keras, I see this is working fine with Keras 3, that should fix your issue, is there any specific reason you're using tf.keras with 2.15? |
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. |
Thank you, @sachinprasadhs. Using
|
Fixed in this commit! Thank you, closing this issue. |
System information.
Please see the Google Colab notebook. The TensorFlow version is 2.15.0.
Describe the problem.
Cloning a TextVectorization layer with a split function results in
TypeError: Could not parse config: <function pipe_split_fn at 0x7d103d1f7640>
Describe the expected behavior.
It should successfully clone the TextVectorization layer.
Standalone code to reproduce the issue.
https://colab.research.google.com/drive/1tIS0Ynjck80kKGWv1tTQ6oCc8Nj1xnNa?usp=sharing
I originally reported the issue here.
The text was updated successfully, but these errors were encountered: