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

Misc Javascript points

 Nodejs can support multithreading through use of promises _ is the numeric separator for javascript, that means the numbers 10_000, 11.23_0...