I am using a CNN architecture and adding few more layers in between and creating a new model. By using model.summary() on this new model, I see everything is aligned fine but in tensorboard, I am seeing duplicate blocks connected around with new blocks.Kind of new network parallely drawn with the old network block and some connection in between.
I am using tensorboard = Tensorboard() for the tensorboard in keras.
Please advise why I see these connections and old network blocks in parallel with new model blocks but on the other hand model.summary() looks totally fine.
I am trying to understand so any detail on this will help.
I have faced the similar issue.
The main reason for this is, whenever the model is created, every layer gets a new name. For example: if you have a model with two 2d-convolutional layers followed by a dense layer. Creating the model for the 1st time and executing model.Summary()
, results in the below layer names:
While re-executing the same code, yields:
At the same time, the logs that Tensor-board uses are overwritten. Hence, parallel blocks of layers with different names appears.