【Tensorflow】报错解决方案

问题1:AttributeError: ‘module’ object has no attribute ‘histogram_summary’

解决办法:
更新版本

According to the answer I got in github issues, I am using a very old version of TensorFlow. This solved the problem:

$ sudo pip install tensorflow-gpu

or

 $ sudo pip install tensorflow

问题2:
ImportError: libcublas.so.8.0: cannot open shared object file: No such file or directory

解决办法:

you need to install cuda 8.0 and config the environment as below:

export PATH="$PATH:/usr/local/cuda-8.0/bin" export LD_LIBRARY_PATH="/usr/local/cuda-8.0/lib64"
已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页