Alexander Kern & Guus van der Ham - Fix the Data, Not the Model @PyDataTV
Alexander Kern & Guus van der Ham - Fix the Data, Not the Model  @PyDataTV
Uploaded November 2026 | Updated December 2026, 1 day ago
This talk argues that production computer vision performance is fundamentally a data problem, not a model problem, and presents three data-side strategies to back that claim. Rather than showcasing results or benchmarks, we share the principles and workflows we believe are essential for any practitioner deploying computer vision in the real world.
The entire talk is grounded in a single, concrete case: counting crates moving through a logistics environment. We chose this case precisely because it sounds trivial. It is not. The gap between "this should work" and "this actually works in production" turned out to be almost entirely a data gap, not a model gap. To increase performance in production, we focused on improving our dataset instead of augmentations, backbones, or hyperparameters.
The three strategies are presented as complementary principles, not isolated techniques. Each one is explained through the lens of this case, with honest discussion of what worked, what didn't, and what we'd approach differently.

Outline

Opening & framing (5 min)
We open with the case itself: crates on transport dollies moving through a logistics facility. The task sounds simple, count what you see. We use this apparent simplicity as the hook: what happens when you deploy this in production, where crates are stacked unpredictably, mixed with foreign objects, and seen under conditions your training data never captured? This sets up the central thesis: the model was never the bottleneck. The data was. We frame the three strategies as essential workflows for production-grade computer vision.

Strategy 1: Annotation quality at scale (12 min)

Production datasets are systematically mislabelled, and teams rarely acknowledge it. We show how to use the model's own predictions to surface annotation errors using confidence disagreements and embedding-based clustering to find the most ambiguous, error-prone samples. We walk through the iterative review workflow: when to inspect, what to correct, and when to stop. The key principle: annotation quality is not a one-time task but a continuous loop that should be integrated into your production pipeline.

Strategy 2: Synthetic data generation (10 min)

Some edge cases simply don't exist in your real dataset: new crate types, unusual stacking configurations, lighting conditions you haven't encountered yet. We explain how synthetic data can fill these gaps, the decisions involved in scene design and rendering, and the challenge of bridging the domain gap between synthetic and real images. We're candid about the limitations: synthetic data doesn't transfer automatically. We also address one honest exception to our "data first, model second" thesis: to close the domain gap between synthetic and real images, we use a domain adversarial training approach that is, strictly speaking, a model-side intervention.

Strategy 3: Intelligent dataset reduction (10 min)

More data is not always better data. In production, you are continuously collecting vast amounts of unlabelled data. Annotating all of it is both impractical and counterproductive: most samples are highly similar and add little to the model's performance. We present the principle of curating maximally informative subsets from large uncurated pools, selecting what to train on rather than training on everything. We show results from our own pipeline where a fraction of the dataset matched or outperformed the full set, and discuss the trade-offs of aggressive curation and how to manage them.

Lessons learned & closing (8 min)

We reflect on what was harder than expected, how the three strategies interact (and sometimes conflict), and what we'd do differently. The closing message: these strategies form a continuous data pipeline, not a one-time fix. Production is never "done," but these workflows make your life significantly easier when you're running a computer vision solution in the real world. Open floor for questions.

pydata.org

PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R.

PyData conferences aim to be accessible and community-driven, with novice to advanced level presentations. PyData tutorials and talks bring attendees the latest project features along with cutting-edge use cases.

00:00 Welcome!
00:10 Help us add time stamps or captions to this video! See the description for details.

Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: github.com/numfocus/YouTubeVideoTimestamps
Alexander Kern & Guus van der Ham - Fix the Data, Not the ModelQuick Fire Questions with Peter Wang | GM5 S3E5 PreviewOn Interventional Generalisation [PyCon DE & PyData 2026]GM5 S3E2 just dropped, featuring Abby Tse!Give Me 5 Season 2 BONUS CONTENT: 4 voices, 1 Community.Open Table Formats in the Wild™ - Reloaded: Vortexing Ducks over Floating IcebergsThijs Nieuwdorp - How Polars Tackles Megabyte to Terabyte WorkloadsBuilding Agentic Systems with Python, LangGraph, MCP, and A2A [PyCon DE & PyData 2026]Optimizing Yerevan’s Traffic with Reinforcement Learning: A Simulation-Driven ApproachAlper Nebi Kanli - Retrieval Explorables (Lightning Talk) | PyData London Meetup 111Engineering in the Age of Coding Agents: Rashad Hassanein | Give Me 5, Season 3, Episode 7Richard Iannone-Communicating Data Quality_ Making the Invisible Visible (and Fun!) with Pointblank
PyData |

Alexander Kern & Guus van der Ham - Fix the Data, Not the Model

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER