Notes on Section 3.5

bobown_yao

Image: image_001

这两个数据集都是基准训练集,包含了28*28的灰度图像万余个,图像有一个特定主题(比如是某一个数字,或者是某一种衣服)

在前置库处理之后,我们导入需要训练的数据库

Image: image_002

数据集中的数据结构的解释如下

Image: image_003

Image: image_004

另外我们需要注意到的是,这个训练集的外层框架是一个二维组,

目的在于绑定图片和其标签(tensor,int)结构的元组(数字标签)

Image: image_005

  • Title: Notes on Section 3.5
  • Author: bobown_yao
  • Created at : 2025-12-05 00:00:00
  • Updated at : 2026-01-17 16:18:07
  • Link: https://bobownyao.github.io/2025/12/05/Notes-on-Section-3-5/
  • License: All Rights Reserved © bobown_yao
On this page
Notes on Section 3.5