#124124th of 168 in ML frameworks and librariesFor image, video and design, 3d, science, health and research

torchio

PyTorch library for loading, augmenting and patch-sampling 3D medical images

Stars
2.5k
License
Apache-2.0
Last commit
Oct 2026
Last release
Jun 2026
Language
Python
Stars, last 29 weeks+73
21 Apr 2026: 2,381 stars28 Apr 2026: 2,385 stars5 May 2026: 2,386 stars12 May 2026: 2,386 stars19 May 2026: 2,388 stars26 May 2026: 2,390 stars2 Jun 2026: 2,395 stars9 Jun 2026: 2,397 stars16 Jun 2026: 2,403 stars23 Jun 2026: 2,407 stars30 Jun 2026: 2,411 stars7 Jul 2026: 2,411 stars14 Jul 2026: 2,413 stars21 Jul 2026: 2,414 stars28 Jul 2026: 2,418 stars4 Aug 2026: 2,421 stars11 Aug 2026: 2,423 stars18 Aug 2026: 2,424 stars25 Aug 2026: 2,431 stars1 Sept 2026: 2,432 stars8 Sept 2026: 2,433 stars15 Sept 2026: 2,436 stars22 Sept 2026: 2,439 stars29 Sept 2026: 2,440 stars6 Oct 2026: 2,441 stars13 Oct 2026: 2,447 stars20 Oct 2026: 2,449 stars27 Oct 2026: 2,450 stars3 Nov 2026: 2,451 stars10 Nov 2026: 2,454 stars

2,381 on 21 Apr 20262,454 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

TorchIO is a Python package for reading, preprocessing, sampling, augmenting and writing 3D medical images in PyTorch training pipelines. It provides intensity and spatial transforms, including random affine and elastic deformation, plus MRI-specific artifact simulation (bias field, motion, spike, ghosting). A Queue class supports patch-based training.

Who it is for: Researchers training deep learning models on 3D medical images in PyTorch

Strengths

  • MRI-specific augmentations: bias field, k-space motion, spike and ghosting artifacts
  • Queue for patch-based training on large 3D volumes
  • Peer-reviewed paper (2021), docs and Colab tutorials
  • Installable from PyPI and conda-forge

Weaknesses

  • Scoped to 3D medical imaging, not a general vision augmentation library
  • Tied to PyTorch; no other tensor framework mentioned
  • Data pipeline only; no models or training loop included

What it needs

  • Needs PyTorch

Quick answers

Is torchio open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Also in ML frameworks and libraries

See all 168
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.8k stars+1,522 (+0.9%) in 30 daysApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd105.4k stars+1,043 (+1.0%) in 30 dayscustom license93 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,015 (+1.6%) in 30 daysAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+101 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+514 (+1.0%) in 30 daysMIT92 out of 100