Wednesday, June 2, 2021

Output tensors of a Functional model must be the output of a TensorFlow `Layer` (thus holding past layer metadata).

 

ValueError: Output tensors of a Functional model must be the output of a TensorFlow `Layer` (thus holding past layer metadata). Found: <tensorflow.python.keras.layers.convolutional.Conv2D object at 0x7fb0bb908850>



Do not forget to give the previous layer as a parameter in current layer. If the chain is broken, you will get the above error

No comments:

Post a Comment

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...