Lab 2 of 7about 40 minutes
Train the digit reader
It uses what you learned in Backpropagation and The training loop.
You will check the slopes a backward pass gives against slopes found by nudging each weight, then write the training loop that takes the digits network to about 95 in 100 on the pictures kept aside, and train lesson 2's darts with it.
- Lesson 4's slopesRun it
- The same slopes, by a nudgeYour turn
- Every slope of the digits networkYour turn
- The loop, in its orderYour turn
- Watch the 360Your turn
- The darts, trainedOn your own
curl -LsSf https://astral.sh/uv/install.sh | sh
cd learn-deep-learning/labs/dl-lab-train-digits/starter
uv syncWhen you have run it
After step 5, loop.py prints 30 epochs. What share of the 360 is right after the last one, in percent?
Run on macOS on an M1 Max, uv 0.11.15, Python 3.12, PyTorch 2.15.0, NumPy 2.5.5, scikit-learn 1.9.1. Checked on .
