MedMNIST v2 is a large-scale, MNIST-like standardized biomedical image dataset collection, including 12 2D datasets and 6 3D datasets. All images are preprocessed: 2D images are 28×28 in size, and 3D images are 28×28×28 in size, and are accompanied by corresponding classification labels, so users can use them directly without needing a biomedical background.
Main capabilities and features:
- Diversity: Covers multiple biomedical image modalities (such as X-ray, retinal OCT, ultrasound, CT, electron microscope), with data sizes ranging from 100 to 100,000, and task types including binary classification, multi-class classification, multi-label, and ordinal regression. Both 2D and 3D biomedical images are provided.
- Standardization: Each sub-dataset is preprocessed into a unified format and provides standard training-validation-test splits, facilitating fair comparison between algorithms. This dataset focuses on the machine learning part of small-image classification tasks, rather than end-to-end systems.
- User-friendly: The small size of 28×28 (2D) or 28×28×28 (3D) is lightweight and suitable for evaluating machine learning algorithms. In addition, larger-size versions MedMNIST+ are provided: 2D at 64×64, 128×128, 224×224, and 3D at 64×64×64, which can serve as standardized resources for developing medical foundation models, and all datasets can be accessed through the same API.
- Educational use: Biomedical image analysis is an interdisciplinary research field involving backgrounds such as computer vision, machine learning, biomedical imaging, and clinical science. This dataset uses a Creative Commons (CC) license, making it convenient for educational purposes.
Dataset composition: The MedMNIST dataset consists of 12 preprocessed 2D datasets and 6 preprocessed 3D datasets, derived from curated data sources, covering major data modalities (such as X-Ray, OCT, Ultrasound, CT, Electron Microscope), diverse classification tasks (binary/multi-class classification, ordinal regression, and multi-label), and data sizes from 100 to 100,000. For simplicity, the collection of all 2D datasets is called MedMNIST2D, and the collection of 3D ones is called MedMNIST3D.
Usage: It is officially recommended to use its code to download and use the MedMNIST dataset, and the installation command is: pip install medmnist.
Applicable scenarios: This dataset can be used for biomedical image analysis, computer vision, and machine learning research and educational purposes, supporting classification tasks on lightweight 2D and 3D images. In the paper, multiple baseline methods have been benchmarked on MedMNIST, including 2D/3D neural networks and open-source/commercial AutoML tools.
Restrictions and license: Please note that this dataset is not suitable for clinical use. Regarding licensing, the MedMNIST dataset uses the Creative Commons Attribution 4.0 International (CC BY 4.0) license, but DermaMNIST uses the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license. The code uses the Apache-2.0 license. If used, please cite the corresponding paper, and if any subset is used, also cite the paper of the corresponding source data.
Other facts: This dataset was published in Nature Scientific Data'23 / ISBI'21. In addition to the 28 size, MedMNIST+ provides larger-size versions. The official website isbiomedical image analysis, computer vision, and machine learning research and educational purposes, supporting classification tasks on lightweight 2D and 3D images. In the paper, multiple baseline methods have been benchmarked on MedMNIST, including 2D/3D neural networks and open-source/commercial AutoML tools.
Restrictions and license: Please note that this dataset is not suitable for clinical use. Regarding licensing, the MedMNIST dataset uses the Creative Commons Attribution 4.0 International (CC BY 4.0) license, but DermaMNIST uses the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license. The code uses the Apache-2.0 license. If used, please cite the corresponding paper, and if any subset is used, also cite the paper of the corresponding source data.
Other facts: This dataset was published in Nature Scientific Data'23 / ISBI'21. In addition to the 28 size, MedMNIST+ provides larger-size versions. The official website is https://medmnist.com/。