该问题出现于tensorflow2.x的使用中,解决方式援引自:https://github.com/egipcy/LIRD/issues/7

Q:Hi, i get error: Input tensors to a Functional must come from tf.keras.Input. Received: 0 (missing previous layer metadata)

A:use %tensorflow_version 1.x in Collab or switch to tensorflow 1.x

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐