Questions tagged [talos]

Talos is a module that helps finding hyperparameter configurations for Keras models

40 questions
1
vote
0 answers

Can't reproduce performance of Talos hyper tune

I'm using Talos to hyper tune a simple convolutional network. After running the scan function the performance looks impressive (val loss & val acc). When using the same params to train my network again it doesn't get even close. Feels like the…
idoshamun
  • 1,125
  • 9
  • 21
1
vote
1 answer

(TalosReturnError) Talos Make sure that input model returns 'out, model' model.fit()

I am trying to tune my hyper parameters of CNN model by using talos library but I am getting error of make sure function return model and out. But in my function in am returning my both of the variables. I tried many articles but their same…
Sohaib Anwaar
  • 1,517
  • 1
  • 12
  • 29
1
vote
1 answer

Hyperparameter optimization for Neural Network written in keras

Is there a python3 library that optimizes KERAS NN hyperparameters on GPU? I have tried using sklearn with KerasClassifier wrapper, but it uses cpu.
a'-
  • 251
  • 5
  • 14
0
votes
0 answers

Error: Data Cardinality is ambiguous for LSTM model and Talos

I'm trying to tune the hyperparameters of my LSTM model using Talos, but I keep getting this same error (pasted below). I'm not sure if I actually can fix this due to the nature of the training data for the LSTM. My train_features and train_labels…
srv_77
  • 547
  • 1
  • 8
  • 20
0
votes
0 answers

Kubeflow issue: "RBAC access denied" with TALOS

I have installed kubeflow 1.6.1 thanks to kustomize (https://github.com/kubeflow/manifests) on Kubernetes cluster version v1.22.9 This cluster runs on Talos OS v1.1.2 When I connect to kubeflow, I get a error message "RBAC: access denied" I have…
Yann
  • 1
  • 1
0
votes
1 answer

TensorFlow / Keras splitting training and validation data

I'm learning how to use TensorFlow and have been given a working model, built in the Keras structure. It runs but the results are a bit of mystery to me. I'm attempting to copy this and simplify it to its bare essence and then build it back up…
Jim Maas
  • 1,481
  • 2
  • 16
  • 36
0
votes
1 answer

Talos, syntax to select best_model

I'm running a toy model for learning, on Ubuntu 21.10, in a conda environment that comprises python 3.74, keras 2.4.3 and talos 1.0, among many other packages. I've run a talos scan using this code: jam1 = talos.Scan(data, …
Jim Maas
  • 1,481
  • 2
  • 16
  • 36
0
votes
1 answer

Can not get python to install Talos package

I've installed the latest python version 3.9.7 on my ubuntu 20.04 machine. I'm attempting to run some code that requires the Talos package, however I've attempted several times to install Talos using pip3. It does much of the work downloading and…
Jim Maas
  • 1,481
  • 2
  • 16
  • 36
0
votes
1 answer

Keras EarlyStopping callback working inconsistently

For training my neural network model I use Keras' EarlyStopping callback to minimize train time (via talos.utils.early_stopper wrapper): history = model.fit(x=X_train, y=y_train, validation_data=(X_val,…
Neruda
  • 53
  • 1
  • 6
0
votes
1 answer

ImportError: cannot import name 'float_factorial'

I'm trying to install and import talos (https://github.com/autonomio/talos) to my jupyter notebook. I used "pip install talos" on anaconda3 to install it. Everything went fine, but now when I try to import talos I get the following error: import…
t.pellegrom
  • 313
  • 3
  • 10
0
votes
1 answer

OoM: Out of Memory Error during hyper parameter optimization with Talos on a tensorflow model

while searching for the optimal hyperparameters for my AlexNet with the help of Talos, I get am Out of Memory Error. It always happens at the same epoch (32/240), even if I change the parameters slightly (to exclude that the cause is an unfavorable…
0
votes
1 answer

The argument must be a tuple of 1 integers. Received OR TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'

I am tring to use fit_generator and Talos (for hyperparameter tuning) . Earlier when i was using fit method i got MemoryError so when i searched here people said i should try using fit_generator. Earlier i was giving tooo many parameters so even…
0
votes
0 answers

Fit_generator working single set of hyperparameter but MemoryError with multiple sets of hyperparameter using Talos

I am trying to do a small assignment project where i am trying to use Siamese network to do speaker recognition. I am trying to use talos for finding best possible hyperparameters. When trying a single set of hyperparamter the code went through OK…
Saurabh
  • 1
  • 1
  • 3
0
votes
1 answer

Which version of Talos uses Tensorflow 1.12?

I am trying to install Talos on my University's computing servers, however I get an error since the version of Talos I am trying to install (version 0.6.6) relies on Tensorflow 1.14, which I do not have access to. The modules provided by my…
0
votes
0 answers

Talos --> hidden_layers(model, params, 1) SyntaxError: invalid syntax

I've been trying to implement a simple MLP for hyperparameter tuning with Talos 1.0.0, but was having a syntax error. Bellow is the code snippet: def get_model(x_train, y_train, x_val, y_val, params): dim = x_train.shape[1] …
Mouk
  • 93
  • 1
  • 7