Back to Templates

Active learning: diverse sampling

Pick the images that show something new from a growing dataset, so labeling time is not spent on look-alikes.

, 7 nodes, 7 connections, 5 variables

Read-only preview

About this template

Send to labeling only the images that show something new, so every labeled image teaches the model more.

Overview

  • Model: CLIP embeddings for image similarity
  • Task: Data sampling
  • Input: A dataset of images that keeps growing
  • Pipeline: index the images → every 5 hours or on a webhook pick the most different ones → remember what was picked
  • Output: A dataset of newly sampled images, and a history of everything sampled so far

When you need it

You get more images than you can label, and many of them look alike. This block, part of Active learning (object detection), sends on only the images that differ most from what you already picked.

What you need

A dataset of images, bound to Build AI index.

How it works

Step What happens
Index Every image gets an embedding in the AI index
Trigger Sampling starts every 5 hours, or when the webhook is called
Diverse sampling Images least like anything already sampled are picked into Sampling results
History Picked images are copied to Already sampled and are never picked again

What a run gives you

A Sampling results dataset with the new batch, and an Already sampled dataset that keeps the full history, so no image is sent to labeling twice.