MedMNIST
Standardized biomedical image datasets for ML benchmarking and education. 18 datasets across 2D and 3D modalities with multiple resolutions. Free access via Python package. Published in Nature Scientific Data. Covers X-Ray, OCT, CT, ultrasound, and electron microscopy. Includes train/validation/test splits and baseline benchmarks. CC licensed for research and education. Not for clinical use.
What it is
MedMNIST provides a curated collection of 18 standardized biomedical image datasets designed for machine learning classification tasks. The collection includes 12 two-dimensional datasets and 6 three-dimensional datasets sourced from primary medical imaging modalities such as X-Ray, OCT, ultrasound, CT, and electron microscopy. Each dataset is pre-processed into consistent formats at multiple resolutions: 28x28, 64x64, 128x128, and 224x224 for 2D images, and 28x28x28 and 64x64x64 for 3D volumes. This MNIST-like structure removes the need for domain-specific preprocessing knowledge, letting researchers focus on model development.
The datasets cover diverse classification tasks including binary, multi-class, multi-label, and ordinal regression, with sample sizes ranging from 100 to 100,000 per dataset. Standard train, validation, and test splits are provided for all datasets, enabling fair comparison across methods. The total collection comprises approximately 708,000 2D images and 10,000 3D images. MedMNIST+ extends the original 28-pixel benchmark with larger resolutions suitable for evaluating medical foundation models.
Access is provided through a simple Python package installed via pip install medmnist, offering a unified API for all datasets. The project website includes interactive tables for exploring dataset details such as modality, task type, sample counts, source citations, and licensing. Benchmark results are published for popular architectures including ResNet-18, ResNet-50, and several AutoML systems, giving practitioners a performance baseline for new methods.
The resource serves biomedical image analysis researchers, computer vision practitioners, machine learning educators, and students entering the field. Its Creative Commons licensing supports educational use and academic research. The project explicitly states the datasets are not intended for clinical applications. Publication venues include Nature Scientific Data (2023) and ISBI (2021), establishing credibility in the medical AI community.
This description was generated by AI from the site's public content and may contain errors.
What you can do there
- Download 18 standardized biomedical image datasets via Python package
- Access multiple image resolutions from 28px to 224px for 2D and 64px for 3D
- Use pre-defined train/validation/test splits for fair benchmarking
- Compare model performance against published ResNet and AutoML baselines
- Explore dataset metadata including modality, task type, and licensing
Who it's for
ML researchers, biomedical imaging scientists, computer vision practitioners, educators, students
Frequently asked questions about MedMNIST
›What datasets are included in MedMNIST?
MedMNIST includes 12 2D datasets and 6 3D datasets covering modalities like X-Ray, OCT, ultrasound, CT, and electron microscopy. Examples are PathMNIST, ChestMNIST, DermaMNIST, OCTMNIST, and OrganMNIST variants.
›How do I download and use MedMNIST datasets?
Install the Python package with pip install medmnist. The package provides a unified API to load any dataset with standard train, validation, and test splits automatically handled.
›What image resolutions are available?
The original MedMNIST provides 28x28 (2D) and 28x28x28 (3D). MedMNIST+ adds 64x64, 128x128, and 224x224 for 2D, and 64x64x64 for 3D, all accessible through the same API.
›What classification tasks are supported?
Tasks include binary classification, multi-class classification, multi-label classification, and ordinal regression, with class counts varying per dataset.
›Are there benchmark results for comparison?
Yes, the project publishes AUC and accuracy benchmarks for ResNet-18, ResNet-50 at multiple resolutions, auto-sklearn, AutoKeras, and Google AutoML Vision across all datasets.
›What license applies to MedMNIST data?
Datasets are released under Creative Commons licenses suitable for research and education. Specific licenses vary by dataset and are listed on the website. The data is not approved for clinical use.
›Where is the official distribution link?
The only official distribution is through the project GitHub repository and the pip package. The website requests users reference the original dataset link for accurate, up-to-date data.
