安装并验证tensorflow
安装命令:
conda create -n tensorflow python=3.6
$ source activate tensorflow
(tensorflow)$ conda install tensorflow-gpu
验证:
$ (tensorflow)python
import tensorflow as tf
print(tf.test.gpu_device_name())
时间:2019-11-03 02:48:45
安装命令:
conda create -n tensorflow python=3.6
$ source activate tensorflow
(tensorflow)$ conda install tensorflow-gpu
验证:
$ (tensorflow)python
import tensorflow as tf
print(tf.test.gpu_device_name())