Skip to content

Commit 45baf00

Browse files
authored
fixed "transforms" variable redefining the "transforms" module
I changed that variable name from transforms to transform, so the original import remains unchanged.
1 parent 0acb97a commit 45baf00

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
@@ -98,7 +98,7 @@
9898
"source": [
9999
"data_dir = 'Cat_Dog_data/train'\n",
100100
"\n",
101-
"transforms = # TODO: compose transforms here\n",
101+
"transform = # TODO: compose transforms here\n",
102102
"dataset = # TODO: create the ImageFolder\n",
103103
"dataloader = # TODO: use the ImageFolder dataset to create the DataLoader"
104104
]

0 commit comments

Comments
 (0)