'Unable to import keras-tuner: AttributeError: module 'tensorflow.keras.layers.experimental.preprocessing' has no attribute 'RandomRotation'
I followed the following steps:
- Installed Ananconda
- Created a conda environment for my project in PyCharm with Python 3.6
- Installed packages in PyCharm
- Used
conda install -n env_name -c conda-forge keras-tunerin Anaconda prompt to install keras tuner.
Initially there was a problem with the packages which were taking forever to install. The problem seems to have appeared suddenly. I did a full uninstallation of Anaconda using the online uninstallation guide https://docs.anaconda.com/anaconda/install/uninstall/ and reinstalled it using Anaconda3-2021.11-Windows-x86_64
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
