Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.46 KB

File metadata and controls

57 lines (39 loc) · 1.46 KB

ProtoNet

— PyTorch implementations of the ProtoNet variations

Contents

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

SEN ProtoNet

TapNet

Citations

@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}
 }