Skip to content

Commit d5c5304

Browse files
authored
Update README.md
1 parent 91c7597 commit d5c5304

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ C_{\text{ce}}(\mathbf{y},\mathbf{o})=-\frac{1}{n_b}\sum_{i=1}^{n_b}\sum_{k=1}^{n
8989

9090
- Initialize the network with the `Net` object (see the `torch` documentation for help).
9191

92-
- Train your network for a fixed number of `EPCOHS` over the entire dataset.
92+
- Train your network for a fixed number of `EPCOHS` over the entire dataset. Major steps in trianing loop include normalize inputs, model prediction, loss calculation, `.backward()` over loss, `sgd_step` and `zero_grad`. Validate model once per epoch.
9393

94-
- Last, load the test data with `test_loader` and calculate the test accuracy. Save it to a list.
94+
- When model is trained, load the test data with `test_loader` and calculate the test accuracy.
9595

9696
- Optional: Plot the training and validation accuracies and add the test accuracy in the end.

0 commit comments

Comments
 (0)