181-grounding / README.md
weipang142857's picture
Upload README.md with huggingface_hub
38d0650 verified
|
Raw
History Blame Contribute Delete
3.4 kB
---
tags:
- smart-manufacturing
- sft
- industrial
- vision
license: other
pretty_name: 181-grounding
extra_gated_fields:
Name: text
Affiliation: text
Intended use: text
extra_gated_prompt: >-
This dataset is released for **research use**. Access is reviewed and granted
**manually** by the maintainers. Please state your name, affiliation, and intended use.
---
# 181-grounding
Detection-format anomaly localization — **all 16,100 records** of
[`AI4Manufacturing/181`](https://huggingface.co/datasets/AI4Manufacturing/181), deterministic (no LLM).
`annot` = `[]` (14,000 anomaly-free — rejection is in-task) or `[{"bbox_xywh": [x,y,w,h]}]`, the
official ellipse's **containing box** in native pixels, floored to a 24-px minimum side (118
degenerate thin ellipse rasterizations — mostly Class8 — under-cover their visible mark;
`metadata.degenerate_gt` flags them and the floored box provably still contains the original,
verified on all 2,100). The query states the containment semantics. Grade by containment /
center-hit — the GT is deliberately coarse; tight-IoU rewards would punish correct answers.
**Weak-GT disclosure.** DAGM's official labels are deliberately COARSE ellipses ("roughly indicating"
the defect) — every localization here is a **containing region**, not a tight extent
(`metadata.coarse_gt: true`). Grade localization by containment/center-hit, never tight IoU.
> **Query diversity (2026-07-11).** The `query` field is drawn from a pool of **40 surface variants** for this task (paraphrases that preserve the task and answer-format exactly; the answer-format directive is held verbatim), each selected by an independent per-record hash. This replaces the earlier 4-template design to prevent instruction-format overfitting; answers, images, ids, and all provenance are unchanged. A machine gate in `verify_*.py` checks that no template correlates with the gold (binomial z < 4.5).
## Overlap / de-duplication (§8)
270 of these images (all anomalous, DAGM Classes covered by DefectSpectrum) also appear byte-identical
in the [`D15`](https://huggingface.co/datasets/AI4Manufacturing/D15) family
([`D15-annotated`](https://huggingface.co/datasets/AI4Manufacturing/D15-annotated) /
[`D15-mcq`](https://huggingface.co/datasets/AI4Manufacturing/D15-mcq) /
[`D15-region`](https://huggingface.co/datasets/AI4Manufacturing/D15-region) /
[`D15-grounding`](https://huggingface.co/datasets/AI4Manufacturing/D15-grounding)) with FINE masks and
defect-type labels. Reconstruct the exact overlap via `metadata.image_sha256`. **Both official DAGM
splits are processed identically here** (project policy): `metadata.split` preserves the original
Train/Test membership — carve your own held-out set downstream and keep it out of training.
## Provenance
Built from [`AI4Manufacturing/181`](https://huggingface.co/datasets/AI4Manufacturing/181) by
`annotate/181/build_181_derived.py` (forge_model), verified by `verify_181.py` (box == mask-derived
ellipse bbox on all 2,100; `[]` exactly for goods; template independence). Convert box conventions at
train time via `common/box_convert.py` — regenerate, don't regex.
Companions: [`181-annotated`](https://huggingface.co/datasets/AI4Manufacturing/181-annotated),
[`181-mcq`](https://huggingface.co/datasets/AI4Manufacturing/181-mcq),
[`181-region`](https://huggingface.co/datasets/AI4Manufacturing/181-region).