Tensorflow 安装制定版本和查看tensorflow版本,python版本,查看cuda版本
2017-08-04 08:32
561 查看
安装 tensorflow 1.0.0 的命令是 pip install –upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0-cp27-none-linux_x86_64.whl
在网上查的时候找到后面的网址是关键,这里有个网址 里面有很多tensorflow 版本的链接
https://github.com/tensorflow/tensorflow/pull/8212/files
查看python的版本 python –-version
查看tensorflow 的版本
python -c
'import tensorflow as tf; print(tf.__version__)'# for Python 2
python3 -c
'import tensorflow as tf; print(tf.__version__)'# for Python 3
(注意 这里有时候 复制到 word 里面在复制回去有时候会报错,自己打一下就ok,word 有时候会让文字带上格式啥的,自己注意下)
查看cuda 版本
As Jared mentions in a comment, from the command line:
gives the CUDA compiler version (which matches the toolkit version).
From application code, you can query the runtime API version with
or the driver API version with
As Daniel points out, deviceQuery is an SDK sample app that queries the above, along with device capabilities.
引用自 https://stackoverflow.com/questions/9727688/how-to-get-the-cuda-version
在网上查的时候找到后面的网址是关键,这里有个网址 里面有很多tensorflow 版本的链接
https://github.com/tensorflow/tensorflow/pull/8212/files
查看python的版本 python –-version
查看tensorflow 的版本
python -c
'import tensorflow as tf; print(tf.__version__)'# for Python 2
python3 -c
'import tensorflow as tf; print(tf.__version__)'# for Python 3
(注意 这里有时候 复制到 word 里面在复制回去有时候会报错,自己打一下就ok,word 有时候会让文字带上格式啥的,自己注意下)
查看cuda 版本
As Jared mentions in a comment, from the command line:
nvcc --version
gives the CUDA compiler version (which matches the toolkit version).
From application code, you can query the runtime API version with
cudaRuntimeGetVersion()
or the driver API version with
cudaDriverGetVersion()
As Daniel points out, deviceQuery is an SDK sample app that queries the above, along with device capabilities.
引用自 https://stackoverflow.com/questions/9727688/how-to-get-the-cuda-version
相关文章推荐
- tensorflow学习(1):安装cuda版本的tensorflow并查看版本
- TensorFlow_gpu版本 python库安装流程(包括驱动,cuda,cudnn)
- Ubuntu安装Tensorflow GPU 版本和 CUDA Toolkit 9.1 和 cuDNN 7.0.5 for Python 3
- 安装tensorflow,查看tensorflow版本,在终端退出python的命令
- 如何查看已经安装的python软件包和版本
- ubuntu16.04 安装CUDA 8.0 和 cuDNN 5.1 /cudnn6.0,可适用于gpu版本的(tensorflow,caffe,mxnet)
- Windows10下python3.5.2+CUDA8.0+TensorFlow安装日记
- 【已解决】Anaconda3 4.2.0版本 创建虚拟python环境 / 安装tensorflow 出现HTTPError网络错误
- 【tensorflow】查看cuda,cudnn版本命令
- [置顶] Ubuntu17.10 安装 TensorFlow 1.4的GPU版本,包含CUDA,cuDNN
- windows系统用anaconda配置安装TensorFlow (2017.4.13)tensorflow支持python3.5版本 1.打开anaconda依次输入: 1 conda con
- Whl方式CUDA8.0+cuDNN6.0.21+python3.4的ubuntu环境下tensorflow的安装
- ubuntu16.04下安装CUDA,cuDNN及tensorflow-gpu版本过程
- Win10下CUDA8.0+cuDNN6.0+python3.5+tensorflow_gpu的安装
- TensorFlow安装方法三【Anaconda方式下查看TensorFlow版本选择性安装】(Windows10 64位 cpu and gpu)
- Tensorflow+cuda+cudnn+window+Python之window下安装TensorFlow
- Windows 7/8.1 下 双版本Python2.7/Python3.5 安装 GPU版的tensorflow
- python 双版本安装及tensorflow安装
- [Python]查看已经安装的软件包及版本的方法
- 如何查看tensorflow的版本与安装地址