Tensorflow
Model was constructed with shape (None, 28, 28) for input Tensor("flatten_input:0", shape=(None, 28, 28), dtype=float32), but it was called on an input with incompatible shape (None, 28).
这个问题怎么解决,
Leopold·Lin
2020/12/04 21:21- 点赞
- 收藏
- 回答
Model was constructed with shape (None, 28, 28) for input Tensor("flatten_input:0", shape=(None, 28, 28), dtype=float32), but it was called on an input with incompatible shape (None, 28).
这个问题怎么解决,