Build the Door First: Centralizing and Ingesting Clean Training Data by Nikhil

This fellow update walks through building a centralized image repository, a script that screens for sharpness, size, and exact duplicates, and a mocked-up human-in-the-loop review app before any model gets built.

1:55 video2 min readWatch on YouTube

This weekly fellow update covers three things built for a bird-image training dataset: a centralized repository, a script that screens images before they can become training data, and a mockup of the review app all of it feeds into. The premise is direct: the model is not the hard part yet, someone first has to decide which images are allowed to become training data and write that decision down.

Why centralizing the images comes first

Every image now lives in one place with one known shape, which sounds like housekeeping but is not. A dataset scattered across laptops and shared drives has no answer to the question that matters later: which images did we actually train on. Without a single known location, that question becomes unanswerable after the fact, which is why this comes before any modeling work.

Guarding the door with a quality script

The first half of the screening script asks two mechanical questions about each image: is it sharp enough, not smeared by drone motion, and is it big enough, shot close enough that the subject is more than a few gray pixels. These are simple, checkable criteria applied automatically before an image is even considered for the dataset.

Catching duplicates, exact and near

The second half of the script compares files to catch duplicates, but today it only compares the file itself. That catches the common case of the same file uploaded twice. It does not catch two frames from one burst, or the same subject photographed again on a second pass. The presenter is explicit about this limit: identical files are caught, nearly identical pictures are not caught yet, and that near-duplicate problem is flagged as next week's harder half.

Mocking up the human-in-the-loop review app

The third piece is a mockup, built in Lovable this week, of the app all of this data feeds into. It is described as a demo for the team itself, not a build. The promise on the front page of the mock is that every detection gets reviewed by a researcher before it becomes data, with a flow of analyze, review, then dataset. Every figure on the mocked screens is a placeholder Lovable filled in and none of it is measured yet. What is real is the shape of the flow: nothing reaches the dataset without passing a person first.

Key takeaways

  • Centralizing images in one known location is what makes it possible to answer which images were actually trained on later.
  • A screening script checks two mechanical properties, sharpness and size, before an image can enter the pipeline.
  • Exact duplicate detection by comparing files is working now; near-duplicate detection, like burst frames, is not built yet.
  • The review app mockup establishes the intended flow, analyze then review then dataset, before any of its numbers are real.
  • The stated order is deliberate: build the data intake and review process before building the model.

Who this is for

This is for teams building a machine learning training dataset who want a concrete example of screening and review infrastructure built before, not after, model development starts.

Chapters

  1. 0:00Data Ingestion: Building the Door Before the Model
  2. 0:25Housekeeping as Strategy: The Centralized Image Repository
  3. 0:50Guarding the Door: Scripting Mechanical Quality and Exact Duplicates
  4. 1:15Designing the Mock: Lovable App Walkthrough & Human-in-the-Loop Review
  5. 1:40Your Turn: Running Your Ingestion Rules Against Existing Collections
Full transcript(auto-generated, with timestamps)

Data Ingestion: Building the Door Before the Model

[0:00]The model is not the hard part yet. First, somebody has to decide which images are allowed to become training data and write that decision down. This is Sci. Three things this week. One place for the images, a script that guards the door, and a mock of the app. First, a centralized repository. Every Loon image now lives in one place with one known shape. That sounds like housekeeping. It is not. A set scattered across laptops and shared drives has no

Housekeeping as Strategy: The Centralized Image Repository

[0:25]Answer to the question that matters later. Which images did we actually train on? Then the first half of the script is this image worth training on? Right now, that is two mechanical questions. Is it sharp enough, not smeared by drone motion? And is it big enough, shot close enough that the bird is more than a few gray pixels? The second half is duplicates, and today it compares the file itself. That catches the same file uploaded twice, which is the common case. It does not

Guarding the Door: Scripting Mechanical Quality and Exact Duplicates

[0:50]Catch two frames of one burst or the same bird on a second pass. Identical file, yes. Nearly identical picture, not yet. Third, the app all of this feeds. This is Immer, mocked up in Lovable this week. A demo for ourselves, not a build. The promise is right on the front page. Every detection is reviewed by a researcher before it becomes data. And the flow behind it, analyze, review, then data set. Every figure on this

Designing the Mock: Lovable App Walkthrough & Human-in-the-Loop Review

[1:15]Screen is a placeholder that Lovable filled in. None of it is measured. What is real is the shape. Nothing reaches the data set without passing a person first. The week on one page, one place for the images, one script at the door checking sharpness and size. Exact duplicates caught, the near one still open. And a mock that shows where all of it is going. No model yet, and that is the right order. Your turn. Take the data set you are building and write down the rule that

Your Turn: Running Your Ingestion Rules Against Existing Collections

[1:41]Decides what gets in. Then run it over what you have already collected and count what it throws away. Every image earns its place. Build the door before you build the model. Next week, the harder half, the near duplicates. Sci.

More from Madison

Humanitarians AI Lyrical Literacy Project