autonomio / talos

Hyperparameter Experiments with TensorFlow and Keras
https://autonom.io
MIT License
1.62k stars 270 forks source link

TypeError: cannot unpack non-iterable NoneType objec #431

Closed FernandoDorado closed 4 years ago

FernandoDorado commented 4 years ago

1) Confirm the below

2) Include the output of:

talos.__version__ : '0.6.3'

3) Explain clearly what you expect to happen

I am trying to optimize a model using tensorflow 2.0, the first training does well, but at the beginning of the second I get the error: TypeError: cannot unpack non-iterable NoneType object

4) Explain what actually happened

TypeError: cannot unpack non-iterable NoneType objec using Tensorflow 2.0

5) Provide a code-complete reference

p = { 'L2_reg' : [0.001,0.01],
'batch_size': [100], 'lstm_cells1':[100,200,400], 'lr':[0.001]}

x_train = [cnn_train, ann_train] x_dev = [cnn_dev, ann_dev]

scan_object = talos.Scan(x=x_train, y=y_train, x_val=x_dev, y_val=y_dev, params=p, model=build_model, experiment_name='CPU')


github-actions[bot] commented 4 years ago

Welcome to Talos community! Thanks so much for creating your first issue :)

mikkokotila commented 4 years ago

Can you give the whole trace.

mikkokotila commented 4 years ago

Closing this as stale.