Tensorflow:Attribute Error: 'module' object has no attribute ‘summary'
2017-09-05 17:38
507 查看
该问题是由于Tensorflow 版本差异导致的,Tensorflow版本为1.0及以上,就会解决该问题。
安装tensorflow1.0步骤如下:
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-none-linux_x86_64.whl
安装tensorflow1.0步骤如下:
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-none-linux_x86_64.whl
>>> import tensorflow as tf >>> tf.__version__ '1.0.1' >>>
相关文章推荐
- 【Tensorflow】报错:AttributeError: 'module' object has no attribute 'scalar_summary'
- Tensorflow报错:AttributeError: 'module' object has no attribute 'summary'
- Tensorflow:Attribute Error: 'module' object has no attribute 'mul'
- Tensorflow报错:AttributeError: 'module' object has no attribute 'scalar_summary'
- tensorflow :AttributeError: 'module' object has no attribute 'computation'
- tensorflow 报错 AttributeError: 'module' object has no attribute 'computation'
- tensorflow1.0后有AttributeError: ‘module’ object has no attribute 'xx'
- 【TensorFlow问题】AttributeError:'module' object has no attribute 'mul'
- Debian (Jessie 8.0) 的修复pip AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’
- Importing theano: AttributeError: 'module' object has no attribute 'find_graphviz'
- AttributeError: module object has no attribute “Series”. Code works in Python
- 报错 AttributeError: 'module' object has no attribute 'bool_'
- AttributeError: 'module' object has no attribute 'Frame' 解决方法
- output_node = graph_pb2.NodeDef() AttributeError: 'module' object has no attribute 'NodeDef'
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- AttributeError: 'module' object has no attribute 'AF_INET'处理办法——python
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- matplotlib显示AttributeError: 'module' object has no attribute 'verbose'