tensorflow :AttributeError: 'module' object has no attribute 'computation'
2017-07-13 20:38
741 查看
官方安装文档:https://www.tensorflow.org/install/install_linux#installing_with_anaconda
gpu 版的下载地址:https://pypi.python.org/pypi/tensorflow-gpu
安装命令:(python2.7版)
pip install --ignore-installed --upgrade tensorflow_gpu-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl
安装gpu版成功的话,在运行程序会有显示显卡信息,以及可用的显存。
文档很详细。我是安装完Anaconda后,安装的TF,跑hello word 没发现问题。后面具体跑代码,出现:AttributeError: 'module' object has no attribute 'computation'。后面查了下,有人说是dask版本的问题,原来我的是0.13,更新到0.15就没问题了。(conda list)
conda update dask
问题可见:
https://stackoverflow.com/questions/43833081/attributeerror-module-object-has-no-attribute-computation
gpu 版的下载地址:https://pypi.python.org/pypi/tensorflow-gpu
安装命令:(python2.7版)
pip install --ignore-installed --upgrade tensorflow_gpu-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl
安装gpu版成功的话,在运行程序会有显示显卡信息,以及可用的显存。
文档很详细。我是安装完Anaconda后,安装的TF,跑hello word 没发现问题。后面具体跑代码,出现:AttributeError: 'module' object has no attribute 'computation'。后面查了下,有人说是dask版本的问题,原来我的是0.13,更新到0.15就没问题了。(conda list)
conda update dask
问题可见:
https://stackoverflow.com/questions/43833081/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 'scalar_summary'
- Tensorflow:Attribute Error: 'module' object has no attribute 'mul'
- Tensorflow:Attribute Error: 'module' object has no attribute ‘summary'
- 报错 AttributeError: 'module' object has no attribute 'bool_'
- matplotlib显示AttributeError: 'module' object has no attribute 'verbose'
- AttributeError: 'module' object has no attribute 'Frame' 解决方法
- [python错误]builtins.AttributeError: 'module' object has no attribute 'request'
- Django报错:AttributeError: 'module' object has no attribute 的解决方法
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- Python AttributeError: 'module' object has no attribute xxxx
- AttributeError: 'module' object has no attribute 'imsave'
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- AttributeError: module object has no attribute “Series”. Code works in Python
- Python脚本报错AttributeError: ‘module’ object has no attribute ’urllibopen'(Python 2.7.11 )
- 出现错误如下:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
- Python 错误:AttributeError: 'module' object has no attribute
- 对于AttributeError: ‘module’ object has no attribute ‘AF_INET’ 的错误原因
- Python:AttributeError: ‘module’ object has no attribute ‘ArgumentParser’