小样本 原型网络官方代码理解

记录一下调通的第一个小样本模型

官方代码

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函数

加载数据集

小样本 原型网络官方代码理解_第1张图片

loss函数

小样本 原型网络官方代码理解_第2张图片
小样本 原型网络官方代码理解_第3张图片

你可能感兴趣的:(#,小样本,#,论文,Python)