This project implements stuff related to learned optimization.
## Installation
1. Clone the repository:
```bash
git clone <repo-url>
cd <repo-directory>
- Install dependencies (Python 3.8+ recommended):
pip install torch torchvision tqdm matplotlib
python basic.py --train-meta --meta-epochs 3000 --inner-steps 20
This will train the learned optimizer on MNIST and save its weights to learned_opt.pth.
python basic.py --epochs 5
This will compare the learned optimizer and Adam on MNIST, plotting training curves and printing test accuracy.