question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

module 'autokeras' has no attribute 'StructuredDataRegressor'

See original GitHub issue

Problem

When I tried to use ‘StructuredDataRegressor’, the error happens.

import autokeras as ak
auto_sdr = ak.StructuredDataRegressor()
auto_sdr.fit(train_X, train_y)

AttributeError: module ‘autokeras’ has no attribute ‘StructuredDataRegressor’

Environment

OS: Windows10 Python: 3.6.7 tensorflow: 2.0.0 autokeras: 1.0.0b0

Check the directory of autokeras package

There is not StructuredData file at the directory of autokeras package. (However, there are image and text file)

Is there any way to solve this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
pbartoscommented, May 28, 2021

If you have in your folder script with the name “autokeras.py” rename it.

0reactions
Ayad0netcommented, Aug 16, 2022

If you have in your folder script with the name “autokeras.py” rename it.

Thanks 🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

StructuredDataRegressor - AutoKeras
Scalar test loss (if the model has a single output and no metrics) or list of scalars (if the model has multiple outputs...
Read more >
Newest 'auto-keras' Questions - Stack Overflow
I've tried using StructuredDataRegressor and everything went ok. ... module 'keras.layers.normalization' has no attribute 'BatchNormalizationBase'.
Read more >
How to Use AutoKeras for Classification and Regression
keras) and not a Standalone Keras model. As such, the library assumes that you have Python 3 and TensorFlow 2.3.0 or higher installed....
Read more >
autokeras mnist - Kaggle
ERROR: autokeras 0.4.0 has requirement numpy==1.16.1, but you'll have numpy ... AttributeError: module 'onnxmltools.utils' has no attribute 'save_text'.
Read more >
efficient neural architecture search for automated deep learning
Neural architectures are computational graphs, which are attributed graphs with multiple at- tributes on the edges and the nodes. In a computational graph...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found