记录一下调通的第一个小样本模型😀
官方代码
https://github.com/jakesnell/prototypical-networks
官方论文
https://proceedings.neurips.cc/paper/2017/file/cb8da6767461f2812ae4290eac7cbc42-Paper.pdf
@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}
}
参考代码
https://blog.csdn.net/weixin_38471579/article/details/102631018
中文注释官方代码
https://gitee.com/Lost_star/prototypical-networks
加载数据集
loss函数