Tensorflow Keras - Attributeerror: Layer Features Has No Inbound Nodes
Tensorflow version : 1.11.0 I am trying to use TensorBoard with Tensorflow keras model for projector visualisation. I am getting AttributeError: Layer features has no inbound node
Solution 1:
When defining a network in Keras, the first layer added needs to have input_shape added.
See the docs here: https://keras.io/getting-started/sequential-model-guide/#specifying-the-input-shape
So for MNIST, you should have something like input_shape=(28,28,1)
There's a nice example here: https://www.kaggle.com/adityaecdrid/mnist-with-keras-for-beginners-99457
Solution 2:
I guess you should specify input shape for the first layer of the sequential model
Post a Comment for "Tensorflow Keras - Attributeerror: Layer Features Has No Inbound Nodes"