Very similar to Keras + tensorflow gives the error "no attribute 'control_flow_ops'", from the Convolutional autoencoder example from https://blog.keras.io/building-autoencoders-in-keras.html I get the error
[...]lib/python3.5/site-packages/keras/callbacks.py in _set_model(self, model) 478 tf.histogram_summary('{}_out'.format(layer), 479 layer.output) --> 480 self.merged = tf.merge_all_summaries() 481 if self.write_graph: 482 if parse_version(tf.__version__) >= parse_version('0.8.0'): AttributeError: module 'tensorflow' has no attribute 'merge_all_summaries'
I tried
import tensorflow as tf tf.merge_all_summaries = tf
but that did not work. What should I do?
In AttributeError: 'module' object has no attribute 'merge_all_summaries' the error is mentioned. I also have the version 1.0.0. But what is the solution? I don't want to downgrade TensorFlow.