AttributeError: ‘tuple‘ object has no attribute ‘type‘

AttributeError: ‘tuple‘ object has no attribute ‘type‘,第1张

AttributeError: ‘tuple‘ object has no attribute ‘type‘

我在训练深度的模型时,报了一个错:

AttributeError: ‘tuple‘ object has no attribute ‘type‘

但是代码是确定没错的。

出现该问题的原因有很多,我寻思着可能是tensorflow的版本问题,于是我将tensorflow版本从2.2降到2.0,,成功了。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5701008.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存