ModuleNotFoundError: No module named 'tensorflow.keras.layers.experimental'Bug:
veiro opened this issue · 4 comments
veiro commented
Bug Description
when import autokeras
import autokeras as ak
Bug Reproduction
Code for reproducing the bug:
Setup Details
Include the details about the versions of:
- OS type and version:
- Python: 3
- autokeras:
- keras-tuner:
- scikit-learn:
- numpy:
- pandas:
- tensorflow:
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
Aya121298 commented
I have the same problem