r/computervision • u/Leather_Reaction4471 • 10h ago
Help: Project MagniData: open-source explorer for image datasets, masks, and embeddings (brush one axis, everything follows; per-image hardness as a dataset axis)
We open-sourced the tool our team uses to look inside image datasets before and after training. Posting here because the interesting part is the dataset side, not the model side. The video is the whole idea: brush one axis, everything follows, and open the tile; the model gets it wrong.
What it is
- A React + Three.js dashboard: parallel coordinates, histograms, a table, image/mask/overlay previews, and a 3D embeddings view. Brush one axis and everything else follows; narrow the band and only the surviving tiles stay lit.
- A feature extractor: a folder of images (optionally with COCO-format masks) becomes one CSV of per-image metrics: sharpness (Laplacian, Tenengrad), noise, over/under-exposure, contrast, dynamic range, colorfulness, annotation coverage, instance counts, and class entropy. Optional embeddings (DINOv2 by default) go to a JSON sidecar.
- A Flask API that serves images, masks, and overlays and runs PCA / t-SNE / LLE projection and clustering over the embeddings.
Hardness as an axis (full stack only)
Train a segmentation model from the dashboard (reference U-Net/LR-ASPP presets, MLflow as the system of record). After each scored epoch, every image gets its loss per term, a percentile rank within its split, and a "hardness" score. Those are regular columns, so you can brush "hardness" and see what the hard images have in common on the photometric axes, open one to compare ground truth and prediction, save the selection as a new dataset (lineage recorded), and train again. Two runs on the same images can also be compared per image.
Try it.
- Browser demo, read-only, COCO128 and Agri Stress-500 (451 crop/weed field images with masks) preloaded: https://huggingface.co/spaces/precisionaiinc/magnidata
- Full stack: https://github.com/Precision-AI-Inc/magnidata, then docker compose up --build (API, dashboard, MLflow, trainer). Apache-2.0.
- Technical report (5 pages, PDF in the repo): four models on the same 875 tiles, compared tile by tile: https://github.com/Precision-AI-Inc/magnidata/blob/main/docs/paper/magnidata-technical-report.pdf
What it doesn't do (yet)
- The hardness / rank signals are heuristics for deciding what to inspect, not label-error proofs; we haven't published quantitative results on label-noise detection.
- The "complement" step picks unseen images by distance to a feature centroid, not a learned retrieval.
- Parallel coordinates get crowded past ~40 columns; axis grouping is on the list.
Would like to hear what metrics you'd want per image that aren't there and whether the CSV + embeddings JSON contract would work for your data.