https://github.com/borhanmorphy/prototypical-networks
Prototypical Networks for Few-shot Learning
https://github.com/borhanmorphy/prototypical-networks
Last synced: about 1 year ago
JSON representation
Prototypical Networks for Few-shot Learning
- Host: GitHub
- URL: https://github.com/borhanmorphy/prototypical-networks
- Owner: borhanMorphy
- Created: 2023-10-30T23:13:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T07:55:25.000Z (almost 2 years ago)
- Last Synced: 2025-03-29T18:41:26.956Z (about 1 year ago)
- Language: Python
- Size: 114 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ProtoNet
**— PyTorch implementations of the ProtoNet variations**

## Contents
- [Installation](#installation)
- [Supported ProtoNets](#supported-protonets)
- [References](#references)
- [Citations](#citations)
## Installation
```
git clone https://github.com/borhanMorphy/prototypical-networks.git
cd prototypical-networks
pip install .
```
## Supported ProtoNets
| Name | Extra Parameters | Training Metric | Inference Metric |
| :--------------: | :--------------: | :---------------: | :---------------: |
| **ProtoNet** | No | squared euclidean | squared euclidean |
| **SEN-ProtoNet** | No | sen | cosine |
| **TapNet** | Yes | squared euclidean | squared euclidean |
## References
### ProtoNet
- [Official Implementation](https://github.com/jakesnell/prototypical-networks)
- [Paper](https://arxiv.org/pdf/1703.05175.pdf)
### SEN ProtoNet
- [Paper](https://www.ecva.net/papers/eccv_2020/papers_ECCV/papers/123680120.pdf)
### TapNet
- [Official Implementation](https://github.com/istarjun/TapNet)
- [Paper](https://arxiv.org/pdf/1905.06549.pdf)
## Citations
```bibtex
@inproceedings{snell2017prototypical,
title={Prototypical Networks for Few-shot Learning},
author={Snell, Jake and Swersky, Kevin and Zemel, Richard},
booktitle={Advances in Neural Information Processing Systems},
year={2017}
}
```