-
Methods for meta-learning
-
Dependencies
- Python 3.6+
- PyTorch 1.3
- Codes are inspired by https://towardsdatascience.com, https://github.com/potsawee/
- Run the following command.
# sine regression
python regression_maml.py # for meta-training
python regression_pretrain.py # for normal transfer learning
# omniglot
python omniglotTrain.py -n 5 -k 1 -c 0 --no_iter 50000 --lr 0.1