更改

跳转至: 导航搜索

智能硬件-挑战-小环节

添加625字节2018年10月18日 (四) 01:36
pip install --ignore-installed --upgrade https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/gpu/tensorflow_gpu-1.3.0rc0-cp35-cp35m-win_amd64.whl
 
(7)conda 安装Tensorflow
 
conda 是一个开源包和环境管理系统,能够跨平台运行,在 Mac、Windows 和 Linux 上都可以运行。conda 安装将自动安装 GPU 支持所需的 CUDA 和 CuDNN 库。
 
从 TensorFlow 1.9.0 版本开始,conda TensorFlow 包使用面向深度神经网络的英特尔数学核心函数库(Intel MKL-DNN),该库带来了巨大的性能提升。MKL 库不仅加速 TensorFlow 包,还能加速其他广泛使用的库,如 NumPy、NumpyExr、SciPy 和 Scikit-Learn。
 
安装CPU版本:
conda install tensorflow
 
安装GPU版本:
conda install tensorflow-gpu
6,105
个编辑