Roboflow + Fastdup

Download a Roboflow dataset, run fastdup to find duplicates, outliers and other problem images, then upload the cleaned set back to train on.

fastdup is a free Python library from Visual Layer that analyzes image and video datasets for duplicates and near-duplicates, outliers, broken images, mislabels and low-quality frames such as blurry or dark images. It runs locally on files on disk.

The integration is a notebook workflow. You download a dataset version with the Roboflow Python SDK, point fastdup at each split's images folder, and review its galleries of duplicate clusters and outliers. After removing the images you do not want, you upload the cleaned dataset to Roboflow as a new project or version and train on it.

How to connect Fastdup to Roboflow

5 steps
  1. Download a dataset version

    Use the Roboflow Python SDK to download a version, for example project.version(1).download("yolov8"). Each split lands in its own images folder.

  2. Run fastdup on each split

    Install fastdup with pip, then run fastdup.create(work_dir=..., input_dir=...) and .run() for the train, valid and test images folders.

  3. Review duplicates and outliers

    Open the duplicates gallery and the outliers table to see clusters of near-identical images and images far from the rest of the dataset.

  4. Remove the images you do not need

    Keep one image from each duplicate cluster and drop outliers you judge to be noise. fastdup reports the files; you choose what to delete.

  5. Upload the cleaned dataset

    Upload the remaining images and labels to Roboflow, generate a new version and train on it to compare with the original.

What teams build with Fastdup

  • Shrink a dataset without losing accuracy

    Remove near-duplicate images so training runs on fewer, more varied examples.

  • Find images that do not belong

    Surface outliers, broken files and very dark or blurry frames before they reach training.

Questions

No. fastdup works on a local copy of the dataset. Changes reach Roboflow only when you upload the cleaned images as a new dataset.

fastdup reads image folders, so any format that keeps images in per-split folders works. Our guide downloads in YOLOv8 format.

The fastdup repository is licensed CC BY-NC-ND 4.0, a non-commercial license. Visual Layer sells commercial products for teams that need them.

Why are companies choosing Roboflow?

The end-to-end platform for vision AI: create datasets, train models and deploy to production.

  • Flexible deployment modes

    Move from a scalable cloud API to edge hardware like NVIDIA Jetson without managing complex dependencies.

  • Integrated workflow builder

    Combine multiple AI models, custom business logic and third-party integrations into one production-ready pipeline in a low-code editor.

  • Model monitoring and alerts

    Dashboards track confidence, inference time and request volume for your deployed models, and email alerts tell your team when confidence suddenly drops.

View all
Get started

Build on the Platform

For developers, engineers, and technical founders who want to get hands on. Try the free tier; the docs are open.

Bring it into your operation

For heads of AI, operations leaders, and enterprise teams. Bring a known problem, or work with us to find the first one worth taking on.