人工智能MNIST环境配置

2021/6/19 6:28:30

本文主要是介绍人工智能MNIST环境配置,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

步骤一

  • 安装Anaconda

  • 安装好Anaconda以后,打开Anaconda Navigator

 

 

  • 添加镜像网址

 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
 conda config --set show_channel_urls yes
  • 创建一个虚拟环境

     conda create -n tensorflow python==3.6.5
  • 在目录中创建一个文件夹和文件

  

  • pip.ini

     [global]
     timeout = 6000
     index-url = https://pypi.tuna.tsinghua.edu.cn/simple
     trusted-host = pypi.tuna.tsinghua.edu.cn
  • 安装TensorFlow

     pip install tensorflow==1.13.1

     

步骤:

注意

安装完成后,可能会遇到:

 matplotlib
 安装2.2.2
 numpy
 安装1.16.2
 Pillow
 安装5.0.0

成功运行:

 



这篇关于人工智能MNIST环境配置的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程