Skip to content

Commit 95f3bd4

Browse files
authored
changing another use of "transforms" to match previous change
1 parent 45baf00 commit 95f3bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intro-to-pytorch/Part 7 - Loading Image Data (Exercises).ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"The easiest way to load image data is with `datasets.ImageFolder` from `torchvision` ([documentation](http://pytorch.org/docs/master/torchvision/datasets.html#imagefolder)). In general you'll use `ImageFolder` like so:\n",
4040
"\n",
4141
"```python\n",
42-
"dataset = datasets.ImageFolder('path/to/data', transform=transforms)\n",
42+
"dataset = datasets.ImageFolder('path/to/data', transform=transform)\n",
4343
"```\n",
4444
"\n",
4545
"where `'path/to/data'` is the file path to the data directory and `transforms` is a list of processing steps built with the [`transforms`](http://pytorch.org/docs/master/torchvision/transforms.html) module from `torchvision`. ImageFolder expects the files and directories to be constructed like so:\n",

0 commit comments

Comments
 (0)