Skip to content

Commit

Permalink
add torchvision
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuwq0 authored Dec 2, 2024
1 parent ab3c275 commit ec36584
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/exercises/11_neural_networks3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"import torch.nn as nn\n",
"import torch.optim as optim\n",
"import numpy as np\n",
"import torchvision\n",
"from torchvision import datasets, models, transforms\n",
"import matplotlib.pyplot as plt\n",
"import time\n",
Expand Down
17 changes: 12 additions & 5 deletions docs/lectures/11_neural_networks3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,23 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"id": "804b3f57-d31b-4852-ab7e-dc285c285c5b",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Matplotlib is building the font cache; this may take a moment.\n"
]
}
],
"source": [
"import torch\n",
"import torch.nn as nn\n",
"import torch.optim as optim\n",
"import numpy as np\n",
"import torchvision\n",
"from torchvision import datasets, models, transforms\n",
"import matplotlib.pyplot as plt\n",
"import time\n",
Expand Down Expand Up @@ -1252,7 +1259,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "base",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -1266,7 +1273,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.10.15"
}
},
"nbformat": 4,
Expand Down

0 comments on commit ec36584

Please sign in to comment.