mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
Update 01_pytorch_workflow.ipynb
Changed "training data " to testing data" in the testing loop.
This commit is contained in:
1 parent
0fa794be52
commit
11462fff44
1 file changed
+1
-1
@@ -899,7 +899,7 @@
|
||||
"\n",
|
||||
"| Number | Step name | What does it do? | Code example |\n",
|
||||
"| ----- | ----- | ----- | ----- |\n",
|
||||
"| 1 | Forward pass | The model goes through all of the training data once, performing its `forward()` function calculations. | `model(x_test)` |\n",
|
||||
"| 1 | Forward pass | The model goes through all of the testing data once, performing its `forward()` function calculations. | `model(x_test)` |\n",
|
||||
"| 2 | Calculate the loss | The model's outputs (predictions) are compared to the ground truth and evaluated to see how wrong they are. | `loss = loss_fn(y_pred, y_test)` | \n",
|
||||
"| 3 | Calulate evaluation metrics (optional) | Alongisde the loss value you may want to calculate other evaluation metrics such as accuracy on the test set. | Custom functions |\n",
|
||||
"\n",
|
||||
|
||||
Reference in new issue
Block a user