ImportError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/keras/callbacks.py in init(self, log_dir, histogram_freq, batch_size, write_graph, write_grads, write_images, embeddings_freq, embeddings_layer_names, embeddings_metadata, embeddings_data, update_freq)
744 import tensorflow as tf
--> 745 from tensorflow.contrib.tensorboard.plugins import projector
746 except ImportError:
4 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/contrib/init.py in ()
30 from tensorflow.contrib import cloud
---> 31 from tensorflow.contrib import cluster_resolver
32 from tensorflow.contrib import coder
/usr/local/lib/python3.6/dist-packages/tensorflow/contrib/cluster_resolver/init.py in ()
25 from tensorflow.python.distribute.cluster_resolver.cluster_resolver import UnionClusterResolver
---> 26 from tensorflow.python.distribute.cluster_resolver.gce_cluster_resolver import GceClusterResolver
27 from tensorflow.python.distribute.cluster_resolver.kubernetes_cluster_resolver import KubernetesClusterResolver
ImportError: cannot import name 'GceClusterResolver'
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
in ()
17 epochs=5,
18 validation_data=(x_test, y_test),
---> 19 callbacks=[TensorBoardColabCallback(tbc)])
/usr/local/lib/python3.6/dist-packages/tensorboardcolab/callbacks.py in init(self, tbc, write_graph, **kwargs)
20
21 training_log_dir = os.path.join(log_dir, 'training')
---> 22 super(TensorBoardColabCallback, self).init(training_log_dir, **kwargs)
23
24 # Log the validation metrics to a separate subdirectory
/usr/local/lib/python3.6/dist-packages/keras/callbacks.py in init(self, log_dir, histogram_freq, batch_size, write_graph, write_grads, write_images, embeddings_freq, embeddings_layer_names, embeddings_metadata, embeddings_data, update_freq)
745 from tensorflow.contrib.tensorboard.plugins import projector
746 except ImportError:
--> 747 raise ImportError('You need the TensorFlow module installed to '
748 'use TensorBoard.')
749
ImportError: You need the TensorFlow module installed to use TensorBoard.