TensorFlow入门(三)——MNIST数据下载

本文介绍了MNIST手写数字数据集,它是计算机视觉领域的入门级数据集。内容包括数据集的组成、标签含义以及如何使用TensorFlow的input_data.py模块进行自动下载和安装。数据集分为训练集和测试集,分别有60000和10000张图片。

MNIST是一个入门级的计算机视觉数据集,它包含各种手写数字图片:
这里写图片描述
它也包含每一张图片对应的标签,告诉我们这个是数字几。比如,上面这四张图片的标签分别是5,0,4,1。

input_data.py:用于自动下载和安装MNIST数据集。

# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Lic
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值