Lab 7 of 7about 45 minutes
Digits from ten labels a kind
It uses what you learned in Pretraining and transfer learning and Autoencoders and latent space.
You will train an autoencoder on the digits with their labels put away, reuse its encoder to read digits from only ten labelled pictures of each, frozen and then fine-tuned, and hold both against a network trained from scratch on the same few.
- Ten labels a digit, from scratchRun it
- An autoencoder, labels put awayYour turn
- The encoder, frozenYour turn
- Fine-tuned, gentlyYour turn
- Three ways, five picksYour turn
- Three labels, or thirtyOn your own
curl -LsSf https://astral.sh/uv/install.sh | sh
cd learn-deep-learning/labs/dl-lab-few-labels/starter
uv syncWhen you have run it
In step 4, before you mend it, the fine-tune at a rate of 0.1: what happens when the old decoder draws back from the tuned encoder?
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 .
