ProtoNets learns a metric space for solving few-shot classification by computing distances between the query image and a prototype representation of the class.
- PyTorch
- Numpy
- Scipy
- OpenCV
- Matplotlib
- Tqdm
- Download the train and evaluation datasets.
- Unzip the downloaded zip files in a folder called
omniglot/
. - Run the code cells in ProtoNets-Omniglot.ipynb.
- Alternatively, you can run this repository in colab
- Prototypical Networks paper
- Author's Implementation https://github.com/jakesnell/prototypical-networks