← 开源
jakesnell

prototypical-networks

Code for the NeurIPS 2017 Paper "Prototypical Networks for Few-shot Learning"

Model DevelopmentArchitecturePython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.24k
Star
270
Fork
+1
本周
1
贡献者
创建于 2017-11-05 · 更新于 2026-10-14 · 今日第 11031 名
主要开发者
jakesnell

jakesnell/prototypical-networks 排名第 11,031,有 1,235 个星标。

同类别比较

jakesnell/prototypical-networks 排名第 11,031,此处有 8 个同类条目;BR-IDL/PaddleViT 排名第 11,029。

同类别比较
名称排名指标
SciML/NeuralPDE.jl11,024
语言:
Julia
星标数:
1,236
分叉数:
252
简介:
Physics-Informed Neural Networks (PINN) Solvers of (Partial) Differential Equations for Scientific Machine Learning (SciML) accelerated simulation
facebookresearch/simsiam11,026
语言:
Python
星标数:
1,236
分叉数:
174
简介:
PyTorch implementation of SimSiam https//arxiv.org/abs/2011.10566
ivan-vasilev/neuralnetworks11,027
语言:
Java
星标数:
1,236
分叉数:
345
简介:
java deep learning algorithms and deep neural networks with gpu acceleration
BR-IDL/PaddleViT11,029
语言:
Python
星标数:
1,235
分叉数:
328
简介:
:robot: PaddleViT: State-of-the-art Visual Transformer and MLP Models for PaddlePaddle 2.0+
jfzhang95/pytorch-video-recognition11,038
语言:
Python
星标数:
1,234
分叉数:
251
简介:
PyTorch implemented C3D, R3D, R2Plus1D models for video activity recognition.
python-adaptive/adaptive11,050
语言:
Python
星标数:
1,230
分叉数:
64
简介:
:chart_with_upwards_trend: Adaptive: parallel active learning of mathematical functions
yuanxiaosc/Entity-Relation-Extraction11,052
语言:
Python
星标数:
1,230
分叉数:
269
简介:
Entity and Relation Extraction Based on TensorFlow and BERT. 基于TensorFlow和BERT的管道式实体及关系抽取,2019语言与智能技术竞赛信息抽取任务解决方案。Schema based Knowledge Extraction, SKE 2019
huoyijie/AdvancedEAST11,054
语言:
Python
星标数:
1,229
分叉数:
371
简介:
AdvancedEAST is an algorithm used for Scene image text detect, which is primarily based on EAST, and the significant improvement was also made, which make long text predictions more accurate.https://github.com/huoyijie/raspberrypi-car
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Architecture
星标数1,235
分叉数270
贡献者1
创建日期2017-11-05
更新日期2026-10-14
1 天星标数0
7 天星标数1
排名11,031
上次排名5,866
排名变化-5,165
7 天星标排名10,038
上次 7 天星标排名10,079
7 天星标排名变化41
总星标排名9,473
上次总星标排名9,463
总星标排名变化-10
README 摘录

Prototypical Networks for Few-shot Learning Code for the NIPS 2017 paper Prototypical Networks for Few-shot Learning. If you use this code, please cite our paper: Training a prototypical network Install dependencies This code has been tested on Ubuntu 16. Install the protonets package by running or . This will run training and place the results into . You can specify a different output directory by passing in the option , where is your desired output directory. If you are running on

a GPU you can pass in the option . This will save your model into by default.

常见问题

记录了多少星标和分叉?

jakesnell/prototypical-networks 有 1,235 个星标和 270 个分叉。

仓库排名是多少?

jakesnell/prototypical-networks 排名第 11,031。

记录的语言和类别是什么?

jakesnell/prototypical-networks 有 1,235 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

jakesnell/prototypical-networks 与 BR-IDL/PaddleViT 比较,后者排名第 11,029,有 1,235 个星标。

README

Prototypical Networks for Few-shot Learning

Code for the NIPS 2017 paper Prototypical Networks for Few-shot Learning.

If you use this code, please cite our paper:

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

Training a prototypical network

Install dependencies

  • This code has been tested on Ubuntu 16.04 with Python 3.6 and PyTorch 0.4.
  • Install PyTorch and torchvision.
  • Install torchnet by running pip install git+https://github.com/pytorch/tnt.git@master.
  • Install the protonets package by running python setup.py install or python setup.py develop.

Set up the Omniglot dataset

  • Run sh download_omniglot.sh.

Train the model

  • Run python scripts/train/few_shot/run_train.py. This will run training and place the results into results.
    • You can specify a different output directory by passing in the option --log.exp_dir EXP_DIR, where EXP_DIR is your desired output directory.
    • If you are running on a GPU you can pass in the option --data.cuda.
  • Re-run in trainval mode python scripts/train/few_shot/run_trainval.py. This will save your model into results/trainval by default.

Evaluate

  • Run evaluation as: python scripts/predict/few_shot/run_eval.py --model.model_path results/trainval/best_model.pt.
排名相邻
同类项目