From 1682b73fda06edbe9d026b5314b565944639e760 Mon Sep 17 00:00:00 2001 From: XiaoDong_Wang Date: Mon, 8 Apr 2019 16:53:47 +0800 Subject: [PATCH] minor problems of 2.1.4 --- chapter2/2.1.4-pytorch-basics-data-lorder.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter2/2.1.4-pytorch-basics-data-lorder.ipynb b/chapter2/2.1.4-pytorch-basics-data-lorder.ipynb index d7ef578a..ea701bf1 100644 --- a/chapter2/2.1.4-pytorch-basics-data-lorder.ipynb +++ b/chapter2/2.1.4-pytorch-basics-data-lorder.ipynb @@ -75,7 +75,7 @@ " return len(self.df)\n", " def __getitem__(self, idx):\n", " '''\n", - " 根据 idx 返回一列数据\n", + " 根据 idx 返回一行数据\n", " '''\n", " return self.df.iloc[idx].SalePrice" ] @@ -289,7 +289,7 @@ "metadata": {}, "source": [ "### torchvision.transforms\n", - "transforms 模块提供了一般的图像转换操作类,用作数据的处理和增广" + "transforms 模块提供了一般的图像转换操作类,用作数据处理和数据增强" ] }, {