autonomio / talos

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

Tensorflow backend issue #323

Closed tcae closed 5 years ago

tcae commented 5 years ago

I started using Talos recently and repeatedly ran into a tensorflow error only when using Talos: ERROR MESSAGE : Cannot interpret feed_dict key as Tensor: Tensor Tensor("Placeholder:0", shape=(), dtype=float32) is not an element of this graph.

What resolved the issue is to start before creating the model with: krs.backend.clear_session()

If this would not have other negative side effects then I suggest to add it into the Talos scan_round.

tcae commented 5 years ago

krs

krs == keras

tcae commented 5 years ago

Just found the Scan parameter clear_tf_session ...