Skip to content

Commit

Permalink
minor problems of 2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongzhixiao committed Apr 8, 2019
1 parent cff2511 commit 1682b73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapter2/2.1.4-pytorch-basics-data-lorder.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down Expand Up @@ -289,7 +289,7 @@
"metadata": {},
"source": [
"### torchvision.transforms\n",
"transforms 模块提供了一般的图像转换操作类,用作数据的处理和增广"
"transforms 模块提供了一般的图像转换操作类,用作数据处理和数据增强"
]
},
{
Expand Down

0 comments on commit 1682b73

Please sign in to comment.