温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

tensorboard可视化遇到的问题

发布时间:2020-07-10 22:38:57 来源:网络 阅读:7112 作者:espanol 栏目:大数据

由于 TensorFlow版本差异,经常会报模块对象没有某属性的错误,先把tensorboard可视化过程遇到的几个报错解决方案记录如下:

1. AttributeError: 'module' object has no attribute 'histogram_summary'

histogram_summary 改为:tf.summary.histogram


2. AttributeError: 'module' object has no attribute 'scalar_summary'

tf.scalar_summary 改为:tf.summary.scalar


3.AttributeError: 'module' object has no attribute 'merge_all_summaries'

tf.merge_all_summaries() 改为:tf.summary.merge_all()

tensorboard可视化遇到的问题

tensorboard可视化遇到的问题


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI