问题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"