tensorflow2.0快速安装教程
2020-03-13 07:45
363 查看
tensorflow2.0快速安装教程
tensorflow融合了keras使用更方便了。直接上干货。
1、安装Anaconda3-2019.10-windows-x86_64(在清华园下载,https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2019.10-Windows-x86_64.exe)
2、用管理员身份打开cmd命令行窗口(这个很重要)
(base)c:\users\Administrator>conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ (base)c:\users\Administrator>conda create -n py35 python=3.5 (base)c:\users\Administrator>conda activate py35 (py35)c:\users\Administrator>python -m pip install --upgrade pip (py35)c:\users\Administrator>pip install numpy==1.13.3 (py35)c:\users\Administrator>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow==2.0.0
3、安装成功
(base) C:\Users\Administrator>python Python 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)] :: Ana conda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow as tf >>> tf.__version__ '2.0.0' >>> tf.keras.__version__ '2.2.4-tf' >>>
效果,见上图。
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- Windows下安装TensorFlow快速教程
- win10系统Anaconda和Pycharm的Tensorflow2.0之CPU和GPU版本安装教程
- TensorFlow 快速安装教程(OSX 10.11.6 + Python 2.7)
- Linux下快速安装TensorFlow的教程
- Windows下安装TensorFlow快速教程
- Ubuntu16.04安装tensorflow_gpu教程
- TensorFlow2.0 Guide 官方教程 学习笔记2-Keras functional API
- android快速开发工具SelectorChapek安装使用教程
- Windows下TensorFlow-gpu版安装教程
- ubuntu16.04下安装TensorFlow(GPU加速)----详细图文教程
- CentOS 7 YUM 10分钟快速安装 LNMP 环境详细教程
- TensorFlow学习笔记(一):快速安装与使用TensorFlow
- Mac下Hosts快速修改工具Hosts-1.3.pkg安装、使用与卸载-详细动态教程
- ubuntu14.04+GTX1080+cuda8.0+cudnn5.1+源码编译tensorflow安装教程
- python3.5 + Tensorflow1.5 安装教程
- TensorFlow 安装官方教程:Ubuntu 安装,Mac OS X 安装,Windows 安装
- Ubuntu16.04+GTX 960 安装tensorflow-gpu教程
- TensorFlow教程——框架安装与开发环境搭建(原始方法)
- Ubuntu16.04 / Windows10 安装 Tensorflow GPU版教程 CUDA9.0 - 请转CDA8.0