错误AttributeError: ‘tensorflow.python.framework.ops.EagerTensor‘ object has no attribute ‘compile‘
错误代码:1AttributeError: ‘tensorflow.python.framework.ops.EagerTensor’ object has no attribute ‘compile’2AttributeError:Tensor.graph is meaningless when eager execution is enabled.AttributeError: 'tensor
·
错误代码:
1 AttributeError: ‘tensorflow.python.framework.ops.EagerTensor’ object has no attribute ‘compile’
2AttributeError:Tensor.graph is meaningless when eager execution is enabled.
AttributeError: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute 'compile'
AttributeError:Tensor.graph is meaningless when eager execution is enabled.
错误解决
可能是版本不匹配的问题,tf2版本与Keras不匹配问题。
更多推荐


所有评论(0)