AttributeError: 'module' object has no attribute 'histogram_summary'
2017-11-17 10:00
806 查看
http://blog.csdn.net/waterydd/article/details/70237984
AttributeError: 'module' object has no attribute 'SummaryWriter'
tf.train.SummaryWriter
改为:tf.summary.FileWriter
AttributeError: 'module' object has no attribute 'summaries'
tf.merge_all_summaries()
改为:summary_op = tf.summary.merge_all()
AttributeError: 'module' object has no attribute 'histogram_summary'
tf.histogram_summary()
改为:tf.summary.histogram()
tf.scalar_summary()
改为:tf.summary.scalar()
tf.image_summary()
改为:tf.summary.image()
相关文章推荐
- AttributeError: ‘module’ object has no attribute’xxx 问题解决
- AttributeError: 'module' object has no attribute 'text_format'
- AttributeError: 'module' object has no attribute 'randint'
- 解决方法——AttributeError: 'module' object has no attribute 'VideoWriter_fourcc'
- web.py 启动时候出现AttributeError: 'module' object has no attribute 'inet_pton'错误
- AttributeError: 'module' object has no attribute 'text_format'
- AttributeError: 'module' object has no attribute 'LabelMap'
- 使用旧版本tensorflow出现了negative等报错的问题,AttributeError: 'module' object has no attribute 'xxx'"
- AttributeError: 'module' object has no attribute 'reader'
- AttributeError: 'module' object has no attribute 'text_format'
- AttributeError: ‘module’ object has no attribute’ 问题
- [置顶] AttributeError: 'module' object has no attribute '_base' 可行解决办法
- AttributeError: 'module' object has no attribute '_base' 可行解决办法
- AttributeError: 'module' object has no attribute 'merge_all_summaries'
- AttributeError: 'module' object has no attribute 'SSL_ST_INIT' 解决办法
- AttributeError: 'module' object has no attribute 的解决方法
- AttributeError: 'module' object has no attribute '_base'
- AttributeError: 'module' object has no attribute 'text_format'
- AttributeError: 'module' object has no attribute 'Spider' 解决了
- AttributeError: 'module' object has no attribute 'getpass'