All inputs to the layer should be tensors

你可能忘记加predict:

          model.predict()

猜你喜欢

转载自blog.csdn.net/weixin_38582851/article/details/83244795