Skip to content

Commit 4967848

Browse files
committed
fix typo in comment
1 parent ec62a57 commit 4967848

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

style-transfer/Style_Transfer_Exercise.ipynb

+7-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@
8080
{
8181
"cell_type": "code",
8282
"execution_count": null,
83-
"metadata": {},
83+
"metadata": {
84+
"collapsed": true
85+
},
8486
"outputs": [],
8587
"source": [
8688
"# move the model to GPU, if available\n",
@@ -184,7 +186,9 @@
184186
{
185187
"cell_type": "code",
186188
"execution_count": null,
187-
"metadata": {},
189+
"metadata": {
190+
"collapsed": true
191+
},
188192
"outputs": [],
189193
"source": [
190194
"# display the images\n",
@@ -323,7 +327,7 @@
323327
"style_grams = {layer: gram_matrix(style_features[layer]) for layer in style_features}\n",
324328
"\n",
325329
"# create a third \"target\" image and prep it for change\n",
326-
"# it is a good idea to start of with the target as a copy of our *content* image\n",
330+
"# it is a good idea to start off with the target as a copy of our *content* image\n",
327331
"# then iteratively change its style\n",
328332
"target = content.clone().requires_grad_(True).to(device)"
329333
]

style-transfer/Style_Transfer_Solution.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
"style_grams = {layer: gram_matrix(style_features[layer]) for layer in style_features}\n",
397397
"\n",
398398
"# create a third \"target\" image and prep it for change\n",
399-
"# it is a good idea to start of with the target as a copy of our *content* image\n",
399+
"# it is a good idea to start off with the target as a copy of our *content* image\n",
400400
"# then iteratively change its style\n",
401401
"target = content.clone().requires_grad_(True).to(device)"
402402
]

0 commit comments

Comments
 (0)