Open m-alshehri opened 3 months ago
I am facing the same issue. Can anyone please tell me how to solve this?
StructuredDataClassifier
was removed as a public API in version 2.0.0.
The following are the instructions I followed to get Structured Data to work
Set up your virtual environment using python3.10.x
Go to AutoKeras
source code repository and download the version==1.0.19
tar package from Tags
icon.
Enter the AutoKeras
source main directory, open the file setup.py
and edit the the section install_requires
to:
"packaging"
"tensorflow==2.15.1"
"keras==2.15.0"
"pandas"
Then build the .whl
package using python -m build
and its associated dependencies
Inside the created dist
directory run pip install <>.whl
to install AutoKeras and its dependencies
Enter examples
directory and execute maybe the wine
or titanic
files.
You might encounter a protobuf
version compatibility error, I chose to follow instructions (thou at a performance cost) of setting the environment variable: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
The above worked for me, on an UBUNTU MACHINE
To try
GPU
Tensorflow protobuf
dependency.StructuredData
into the latest codebase, but I'm still encountering errors.
I'm trying to get Autokeras work on categorial data classification task on Google Colab
but the
module 'autokeras' has no attribute 'StructuredDataClassifier'
keeps appearing. The attribute is no longer within the module so anyone with any workaround?Autokeras 2.0.0 Python 3.10.12
Thanks