/PyTorch-MAML-and-Reptile

MAML and Reptile sine wave regression example in PyTorch

Primary LanguagePythonMIT LicenseMIT

MAML and Reptile in PyTorch

This repository includes the Sine wave experiment with MAML and Reptile.

Run

python main.py --run=MAML
python main.py --run=Reptile

Tested on

Python 3.7.4
PyTorch 1.3.1

Results

Loss after 30000 iterations
---------------------------
MAML: 0.058
REPTILE: 0.048

MAML: MAML

Reptile: Reptile

Adapted from

John Schulman's GIST