本文记录 TensorFlow 使用过程中遇到的一些问题,不定期更新。
1、查看 TensorFlow 版本
python
import tensorflow as tf
tf.__version__
或者
python -c "import tensorflow; print tensorflow.__version__"
2、查询 TensorFlow 版本的安装路径
在上一步中:
tf.__path__
3、查看CUDA版本
cat /usr/local/cuda/version.txt