update code for 06

This commit is contained in:
Daniel Bourke committed 2021-11-25 16:32:57 +10:00
1 parent fefa5bcc33
commit 53fa577aaa
1 file changed
+2 -2
+2 -2
View File
@@ -598,7 +598,7 @@
"# Update the classifier\n",
"model.classifier = torch.nn.Linear(1280, 10).to(device)\n",
"\n",
"# Freeze all base layers (the feature extractor in VGG)\n",
"# Freeze all base layers (the feature extractor in EfficientNet)\n",
"for param in model.features.parameters():\n",
" param.requires_grad = False\n",
"\n",
@@ -610,7 +610,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Make a small train function"
"## Train model"
]
},
{