Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonholee committed Oct 7, 2018
1 parent 2c7af53 commit fe3f8c7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -3,4 +3,16 @@
Code accompanying the paper [Gradient-Based Meta-Learning with Learned Layerwise Metric and Subspace (Yoonho Lee and Seungjin Choi, ICML 2018)](https://arxiv.org/abs/1801.05558).
It includes code for running the experiments in the paper (few-shot sine wave regression, Omniglot and miniImagenet few-shot classification).

### Data
For the Omniglot and MiniImagenet data, see the usage instructions in `data/omniglot_resized/resize_images.py` and `data/miniImagenet/proc_images.py` respectively.

### Usage
To run the code, see the usage instructions at the top of `main.py`.

For MT-nets, set `use_T`, `use_M`, `share_M` to `True`.

For T-nets, set `use_T` to `True` and `use_M` to `False`.

---

This codebase is based on the [MAML repository](https://github.com/cbfinn/maml).

0 comments on commit fe3f8c7

Please sign in to comment.