rom1504/img2dataset

Easily turn large sets of image urls to an image dataset. Can download, resize and package 100M urls in 20h on one machine.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 35 minutes ago
Added to GitGenius on September 15th, 2026
Created on August 11th, 2021
Open Issues & Pull Requests: 145 (+0)
GitHub issues: Enabled
Number of forks: 378
Total Stargazers: 4,453 (+0)
Total Subscribers: 36 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1.7 hours
Mean response time: 28.6 days
90th percentile: 92.1 days
Tracked items: 29

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 19
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 711 days
Stale 30+ days: 19
Stale 90+ days: 19

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

img2dataset is a command-line tool for downloading and processing large collections of images from URLs into machine learning datasets.

The tool addresses the challenge of efficiently converting raw image URL lists into usable datasets at scale. It handles downloading, resizing, and packaging images while organizing them into a structured format suitable for training. The approach uses parallel processing to achieve high throughput, capable of processing millions of images on a single machine. It also supports paired data scenarios by allowing captions to be saved alongside images for multimodal datasets.

The tool is designed for researchers and practitioners building large-scale vision and multimodal models who need to ingest web-sourced image data. It suits projects requiring bulk image collection from URL lists, particularly when working with datasets containing tens of millions of images. The tool respects opt-out directives through HTTP headers, allowing websites to signal that their images should not be downloaded for AI training purposes, though this behavior can be disabled if needed.

Development activity shows consistent engagement with the project. The codebase maintains active issue tracking and response to user problems. The project includes documentation through a getting-started notebook and maintains community channels for discussion and contribution. Setup guidance addresses performance optimization, particularly around DNS resolution for high-speed downloading.