Ross ROSS = Recommend OSS · open-source software intelligence for agents

floodsung/LearningToCompare_FSL

PyTorch code for CVPR 2018 paper: Learning to Compare: Relation Network for Few-Shot Learning (Few-Shot Learning part) observed · 2026-08-28

github.com/floodsung/LearningToCompare_FSL · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3080
  • days_rel: n/a
  • days_push: 2507
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1076 stars · 263 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Official PyTorch implementation of the Relation Network for Few-Shot Learning from the CVPR 2018 paper 'Learning to Compare'. It includes training and testing scripts for Omniglot and mini-ImageNet few-shot classification benchmarks.

Use cases

  • reproduce relation network few-shot learning results
  • train few-shot image classification on omniglot
  • run 5-way 1-shot experiments on mini-ImageNet
  • learn meta-learning with a learnable similarity metric
  • baseline for few-shot learning research
  • understand relation network architecture in pytorch

When to choose

  • you need a reference implementation of the CVPR 2018 Relation Network paper
  • you want to benchmark few-shot learning on Omniglot or mini-ImageNet
  • you are studying metric-based meta-learning approaches

When to avoid

  • you need a maintained library with modern PyTorch support (code targets Python 2.7 and PyTorch 0.3)
  • you want production-ready few-shot learning tooling
  • you need few-shot learning beyond image classification

Facets

library · maturity maintenance

machine-learning deep-learning machine-learning deep-learning computer-vision python few-shot-learning meta-learning relation-network pytorch research-code cvpr-2018 omniglot mini-imagenet gpu

1 source

Member repositories

RepositoryRoleHealth v2
floodsung/LearningToCompare_FSLmain32

For agents

markdown · JSON · MCP: product_card(name="floodsung/LearningToCompare_FSL")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem