Questions tagged [auto-keras]

Auto-Keras is an open source software library for automated machine learning (AutoML), written in Python. A question tagged auto-keras shoud be related to the Auto-Keras Python package.

Auto-Keras is an open source software library for automated machine learning (AutoML). It is developed by DATA Lab at Texas A&M University and community contributors. The ultimate goal of AutoML is to provide easily accessible deep learning tools to domain experts with limited data science or machine learning background. Auto-Keras provides functions to automatically search for architecture and hyperparameters of deep learning models.

58 questions
2
votes
4 answers

Error Running autokeras Image Classifier Tutorial on Google Colab

The autokeras tutorial here https://colab.research.google.com/github/keras-team/autokeras/blob/master/docs/templates/tutorial/image_classification.ipynb fails on the line: import autokeras as ak # Initialize the image classifier. clf =…
cannin
  • 2,735
  • 2
  • 25
  • 32
2
votes
0 answers

How to import dataset of images into auto-keras program

I'm trying to use auto keras to create a model that can identify between pictures of two different skin diseases. I'm having an issue with how to import my dataset into the code. I've based my code off of the sample code from the auto keras…
Serena
  • 21
  • 1
1
vote
1 answer

RAM Overflow Colab, when running model.fit() in Image Classifier of AutoKeras for many images

I'm trying to create an Image Classifier on a dataset with 40'000 images, in order to let Autokeras train the most appropriate model for me afterwards. Now the problem is, that every time I load all the images and get their labels but when I run the…
1
vote
1 answer

AutoKeras: TypeError: '<' not supported between instances of 'NoneType' and 'int'

Getting error in Autkeras model, where as same data work in keras model Dataset example image label train/class0/3.jpg 0 train/class1/2.jpg 1 train/class1/6.jpg 1 train/class1/4.jpg 1 train/class0/7.jpg …
Talha Anwar
  • 2,699
  • 4
  • 23
  • 62
1
vote
0 answers

Trial ID of the best model

I'm using Autokeras to find the best regression model and I need to plot the learning curves of the best model. However, I cannot find the trial ID of the best model. Here is a part of my code: #path for saving the logs import datetime %load_ext…
Rita
  • 11
  • 1
1
vote
0 answers

Autokeras multiple Inputs prediction fails

I have the follwing setup for autokeras for training a model with a TextInput and a…
jojo_Berlin
  • 673
  • 1
  • 4
  • 19
1
vote
1 answer

How to export/save/load the actual AutoKeras "super" model, not the underlying tensorflow model

Is there a way to export/save/load a previously trained autokeras model? I understand I can use the following code to save/load the underlying tensorflow best model: model = reg.export_model() model.save(MODEL_FILEPATH, save_format="tf") …
Martin Klosi
  • 3,098
  • 4
  • 32
  • 39
1
vote
0 answers

Autokeras: tuple index out of range

I am using Autokeras for RGB image classification on Google Colab. My directory looks like this: train ---class1 ------img1.jpg ------img2.jpg ---class2 ------img3.jpg ------img4.jpg I load the image using tf.data.Dataset as follows: train_ds =…
Minh-Long Luu
  • 2,393
  • 1
  • 17
  • 39
1
vote
0 answers

Keras Tuner build_model and run_trial need the same parameter

I have a use case that seems difficult to represent with keras-tuner and I could use some guidance. I'm training a model with an Embeddings layer. I want to train over different sequence lengths which requires a preprocessing step. I've subclassed…
1
vote
1 answer

Explanation Needed for Autokeras's AutoModel and GraphAutoModel

I understand what AutoKeras ImageClassifier does (https://autokeras.com/image_classifier/) clf = ImageClassifier(verbose=True, augment=False) clf.fit(x_train, y_train, time_limit=12 * 60 * 60) clf.final_fit(x_train, y_train, x_test, y_test,…
1
vote
1 answer

while import resnet got error - ImportError: cannot import name '_obtain_input_shape''

I got an while importing resnet. I tried removed latest version and install old version of keras==1.0.6 and it doesn't work. Also i did changes in resnet.py --> "from keras_applications.imagenet_utils import _obtain_input_shape , i got an error an…
jeevitha
  • 11
  • 6
1
vote
0 answers

auto-keras model optimization crash

I am using autokeras (version 0.3.6) to find the best model for my classification problem. The search process can take a lot of time and by providing enough time we can get better results. The problems is that it sometimes crashes. I am using ubuntu…
Ali
  • 387
  • 4
  • 11
1
vote
1 answer

loading autokeras model with temporary saved binaries

As you can see from this post, there is a problem with saving and loading autokeras models (please refer to the provided link for more details). I noticed that there are some binaries in the autokeras temporary folder (e.g. /tmp/autokeras_ECWBT7)…
Ali
  • 387
  • 4
  • 11
1
vote
1 answer

'predict_generator' return values over then 1 and less then 0

I used Autokeras to train my model, after then fit_final I save it as pure keras h5 file. My model: from autokeras import ImageClassifier from autokeras.image.image_supervised import load_image_dataset if __name__ == '__main__': x_test, y_test…
user1623454
  • 274
  • 3
  • 14
1
vote
1 answer

Do we need final_fit in AutoKeras?

Using AutoKeras is simple: clf = ImageClassifier(verbose=True) clf.fit(x_train, y_train, time_limit=12 * 60 * 60) clf.final_fit(x_train, y_train, x_test, y_test, retrain=True) y = clf.evaluate(x_test, y_test) But what's the function of…
Xinyu
  • 63
  • 11