mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
Merge pull request #475 from Anirudh257/patch-1
Update 02_pytorch_classification.ipynb
This commit is contained in:
1 file changed
+3
-3
@@ -453,7 +453,7 @@
|
||||
"\n",
|
||||
"And there's no surefire way to making sure they won't happen, they will.\n",
|
||||
"\n",
|
||||
"What you can do instead is continaully familiarize yourself with the shape of the data you're working with.\n",
|
||||
"What you can do instead is continually familiarize yourself with the shape of the data you're working with.\n",
|
||||
"\n",
|
||||
"I like referring to it as input and output shapes.\n",
|
||||
"\n",
|
||||
@@ -949,7 +949,7 @@
|
||||
"\n",
|
||||
"However, the same optimizer function can often be used across different problem spaces.\n",
|
||||
"\n",
|
||||
"For example, the stochastic gradient descent optimizer (SGD, `torch.optim.SGD()`) can be used for a range of problems, so can too the Adam optimizer (`torch.optim.Adam()`). \n",
|
||||
"For example, the stochastic gradient descent optimizer (SGD, `torch.optim.SGD()`) can be used for a range of problems, and the same applies to the Adam optimizer (`torch.optim.Adam()`). \n",
|
||||
"\n",
|
||||
"| Loss function/Optimizer | Problem type | PyTorch Code |\n",
|
||||
"| ----- | ----- | ----- |\n",
|
||||
@@ -1102,7 +1102,7 @@
|
||||
"source": [
|
||||
"### 3.1 Going from raw model outputs to predicted labels (logits -> prediction probabilities -> prediction labels)\n",
|
||||
"\n",
|
||||
"Before we the training loop steps, let's see what comes out of our model during the forward pass (the forward pass is defined by the `forward()` method).\n",
|
||||
"Before the training loop steps, let's see what comes out of our model during the forward pass (the forward pass is defined by the `forward()` method).\n",
|
||||
"\n",
|
||||
"To do so, let's pass the model some data."
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user