Skip to content
Back to skills

Gfsd Coco Eval

ASecurity

Evaluates a model's ability to quickly adapt an object detector to novel classes using only a few labeled examples, while preserving performance on previously learned base classes. Use when the user wants to benchmark on MS-COCO (G-FSD benchmark), or asks about evaluating this task. Reports AP.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythonperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill gfsd-coco-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gfsd Coco Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gfsd Coco Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-gfsd-coco-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-gfsd-coco-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gfsd-coco-eval
description: Evaluates a model's ability to quickly adapt an object detector to novel classes using only a few labeled examples, while preserving performance on previously learned base classes. Use when the user wants to benchmark on MS-COCO (G-FSD benchmark), or asks about evaluating this task. Reports AP.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2210.05008
  bibtex_key: [REDACTED]
  confidence: high
---

# gfsd-coco-eval

> Fast Hierarchical Learning for Few-Shot Object Detection — She et al. (2022) (arXiv:2210.05008, 2022)

## What this evaluates

Evaluates a model's ability to quickly adapt an object detector to novel classes using only a few labeled examples, while preserving performance on previously learned base classes.

## Datasets

- **MS-COCO (G-FSD benchmark)** — total ?; splits: train (-1), test (-1)

## Metrics

- `AP` **(primary)** — range: percent
  - Mean Average Precision across all classes, computed as the mean of AP at IoU thresholds 0.50:0.95.
- `bAP` — range: percent
  - Average Precision computed only over base classes.
- `nAP` — range: percent
  - Average Precision computed only over novel classes.
- `aAP` — range: percent
  - Average Precision over the 'animal' super-class child classes.
- `fAP` — range: percent
  - Average Precision over the 'food' super-class child classes.

## Input / output format

**Input**: Images with bounding box annotations for base classes and a few-shot set of novel classes.

**Output**: Predicted bounding boxes with class labels and confidence scores.

## Scoring recipe

```python
def compute_metric(predictions, ground_truth, class_set):
    ap_scores = []
    for cls in class_set:
        cls_preds = [p for p in predictions if p['class'] == cls]
        cls_gt = [g for g in ground_truth if g['class'] == cls]
        ap_scores.append(coco_compute_ap(cls_preds, cls_gt))
    return sum(ap_scores) / len(ap_scores)

# Run on all classes for AP, base classes for bAP, novel classes for nAP
```

## Common pitfalls

- Evaluating on only a single random seed per shot setting can lead to high variance; the benchmark requires averaging over 10 random few-shot datasets.
- Failing to report base class performance (bAP) alongside novel class performance (nAP) hides catastrophic forgetting, which is a key evaluation criterion.
- Runtime measurements must exclude initial feature extraction time to fairly compare optimization speed.

## Evidence (verbatim from paper)

> We evaluate our approach on the generalized few-shot detection (G-FSD) benchmark based on the MS-COCO dataset, introduced in[33]. The benchmark uses the same class splits as in previous few-shot detection works[33, 17, 11]. We report results on 1, 2, 3, 5, and 10-shot datasets. For each K-shot setting, the benchmark samples 10 random datasets, and computes the mean scores over them in order to obtain a robust evaluation metric. For each method, we report the combined average precision scores over all classes (AP), as well as the average precision over the base (bAP) and novel (nAP) classes, separately.

## Citation

```bibtex
@misc{she2022fasthierarchical,
  title={Fast Hierarchical Learning for Few-Shot Object Detection},
  author={She et al. (2022)},
  year={2022},
  note={arXiv:2210.05008}
}
```

- arXiv: 2210.05008

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.