合适石头

文章
10
资源
0
加入时间
4年0月10天

TensorFlow入门-MNIST & CNN

参考TensorFLow官方教程Deep MNIST for Experts实现用CNN识别手写数字,数据集MNIST。# load MNIST datafrom tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets("Mnist_data/", one_hot=True)#

linux安装配置阿里云的yum源

备份原本的仓库文件cd /etc/yum.repos.d/mkdir allbakmv ./* allbak#此时 /etc/yum.repos.d/底下就没有repo文件,此时无法使用yum工具,必须配置yum源,生成新的.repo文件1.下载第一个阿里云仓库文件wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo-O 参数 ,指定一个下载地址,且改名2.配置第二个仓库文