-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ModuleNotFoundError: No module named 'tensorflow.keras.layers.experimental'Bug: #1904
Comments
I have the same problem |
SaMEEEEEEEE |
same |
The experimental bit has been rendered redundant. Use tf.keras.layers import RandomFlip instead. If you need the full preprocessing.. you can use from tensorflow.keras.layers import * That should work: didnt try it tho. |
from tensorflow.keras.layers import * |
It works on Windows.
or
|
Bug Description
when import autokeras
import autokeras as ak
Bug Reproduction
Code for reproducing the bug:
https://colab.research.google.com/github/keras-team/autokeras/blob/master/docs/ipynb/structured_data_classification.ipynb
Setup Details
Include the details about the versions of:
Additional context
in <cell line: 4>()
2 import tensorflow as tf
3
----> 4 import autokeras as ak
7 frames
/usr/local/lib/python3.10/dist-packages/autokeras/keras_layers.py in
18 from tensorflow import nest
19 from tensorflow.keras import layers
---> 20 from tensorflow.keras.layers.experimental import preprocessing
21
22 from autokeras.utils import data_utils
ModuleNotFoundError: No module named 'tensorflow.keras.layers.experimental
The text was updated successfully, but these errors were encountered: