Kfold label check
Overview
Reads the held-out (“out of fold”) predictions of Train Kfold YOLO, where every image was predicted by a detector that did not train on it, and compares them with the labels. Labels the detector disagrees with in four fixed ways are listed as suspicious: an object nobody labelled, a box that covers several objects or is much larger than its object, a box that sits badly on its object, and a label with no detector box near it whose crop looks unlike the other labels of its class. The same predictions give the difficulty of the dataset: mAP per class, by box size and by split.
These are labels to look at, found by a detector. The report does not say how many of them are wrong. Nothing in the dataset changes. The report carries label_issues.json, which Review suspected label errors reads, and findings.json for Dataset insights. The badges show the number of suspicious labels and the held-out mAP50.
Prerequisites
How it works
Reads the labels as boxes, with the class order of the K-fold node. A rectangle over a polygon or mask of the same class (bounding-box IoU above 0.9) is the same object labelled twice and is read once, as the rectangle; two rectangles are never merged. Then sets aside boxes that are plain defects: outside the frame, degenerate, or an exact duplicate in one image.
Reads the DINOv3 vector of every label from the AI index and measures how far each crop is from its 20 nearest crops of other labels (1 minus the mean cosine). Labels of the same copy group are never neighbours.
Scores every label and every held-out box against each other: the support of a label (its best same-class box at 0.5 IoU), the owner of every box, and the ObjectLab scores for badly placed boxes and swapped classes.
Collects candidates and keeps them by fixed rules. Objects without a label: the most confident ones, up to Objects without a label to list. Boxes too large and boxes badly placed: all. Labels with nothing under them: only in a class the detector finds well, with no detector box of any score near, and a crop past the 99.5th percentile of its class. Images whose labels mostly lack any support are treated as not belonging to the image and give no candidates.
Inputs
Dataset whose labels are checked. It must be the dataset the K-fold node trained on, and its objects must already be indexed with DINOv3 by an AI Index Embeddings node, without that index the crops of labels with nothing under them cannot be compared and that type is reported as not measured. Key: DATASET.
Report of Train K-fold YOLO holding oof.parquet (held-out predictions), folds.parquet and kfold_meta.json. Key: KFOLD_REPORT.
Report of Find copies. Copies of one image are never used to judge each other’s crops, and images with a pixel-identical twin labelled differently are marked in the issue table. Leave empty to treat every image as its own group. Key: COPY_REPORT.
How many of the most confident objects without a label are listed. The ranking and this default were tuned against spot checks of 30. Minimum: 1. Maximum: 1000. Step: 1. Key: MISSING_TOP.
Outputs
Suspicious labels with galleries, label_issues.json for Review suspected label errors, the difficulty of the dataset (overall, per class, by box size, by split), and findings.json for analytical nodes. Shown as an artifact. Key: REPORT_ID.
How many labels the report lists as suspicious. Shown on the node as a badge. Key: SUSPICIOUS_COUNT.
mAP50 of the held-out predictions against the labels. Shown on the node as a badge. Key: HELD_OUT_MAP50.
Report
The report holds index.md, label_issues.parquet (one row per listed label: type, rank, asset, annotation, object index, class, split, label box, detector box), label_issue_summary.parquet (candidates, listed, dropped per type), four galleries (the label outlined in amber, the detector’s box dashed in green), label_issues.json, difficulty.json, difficulty_by_class.json, difficulty_by_size.json, difficulty_by_split.parquet, score_meta.json (thresholds, fences, counts) and findings.json.
The findings are labels.suspicious.missing, labels.suspicious.too_large, labels.suspicious.badly_placed, labels.suspicious.nothing_under (each present only when something is listed) and kfold.learnability. In label_issues.json the types read as missing_objects (an image-level row), misplaced (too large, badly placed) and not_an_object (nothing under).
JSON config
Machine-readable node interface for automation and advanced usage.