torchvision

Install command:
brew install torchvision

Datasets, transforms, and models for computer vision

https://pytorch.org/vision/stable/index.html

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/torchvision.json

Formula code: torchvision.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 0.25.0

Depends on:

jpeg-turbo 3.1.3 JPEG image codec that aids compression and decompression
libpng 1.6.54 Library for manipulating PNG images
numpy 2.4.1 Package for scientific computing with Python
pillow 12.1.0 Friendly PIL fork (Python Imaging Library)
pytorch 2.10.0 Tensors and dynamic neural networks
webp 1.6.0 Image format providing lossless and lossy compression for web images

Depends on when building from source:

cmake 4.2.2 Cross-platform make
ninja 1.13.2 Small build system for use with gyp or CMake
python@3.14 3.14.2 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
torchvision 303
Installs on Request (30 days)
torchvision 223
Build Errors (30 days)
torchvision 0
Installs (90 days)
torchvision 1,057
Installs on Request (90 days)
torchvision 835
Installs (365 days)
torchvision 3,796
torchvision --HEAD 5
Installs on Request (365 days)
torchvision 3,148
torchvision --HEAD 5