torchvision
Image and video datasets and pre-trained models for PyTorch deep learning.
ML and data science PyPI BSD
Used in agent projects
44
0.3% of 12,697 public repos built with AI coding agents
Rank in ml and data science
#13 of 28
by use in those projects
Downloads
3.7M
PyPI, last 7 days, torchvision
GitHub stars
17.9K
last push Oct 10, 2026
How torchvision is used
torchvision is a dependency in 44 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #13 of 28 in ml and data science. The most used alternative there is NumPy. Projects that use it most often also use PyTorch (95.5%), NumPy (77.3%), pandas (68.2%).
Often used with torchvision
| PyTorch | 95.5% of torchvision projects · 111.2× more than average |
|---|---|
| NumPy | 77.3% of torchvision projects · 20.1× more than average |
| pandas | 68.2% of torchvision projects · 22.6× more than average |
| Hugging Face Transformers | 65.9% of torchvision projects · 104.6× more than average |
| Pillow | 61.4% of torchvision projects · 26.7× more than average |
| python-dotenv | 56.8% of torchvision projects · 8.7× more than average |
| Matplotlib | 50.0% of torchvision projects · 32.7× more than average |
| tqdm | 47.7% of torchvision projects · 43.0× more than average |
By coding agent
| GitHub Copilot | 0.7% of projects set up for it |
|---|---|
| Cursor | 0.4% of projects set up for it |
| Claude Code | 0.3% of projects set up for it |
Share of public repos configured for each agent that list torchvision as a dependency.
Install
| Package | pip install torchvision |
|---|---|
| Main stacks | Python (42), Next.js (2) |
| Example projects | daydreamlive/DEMON, pavelzbornik/whisperX-FastAPI, Llaminar/llaminar, ManojINaik/manimAnimationAgent, oliverguhr/grundlagen-ki |
Alternatives to torchvision
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| NumPy pypi Fundamental Python library for numerical computing with arrays and matrices. |
487 (3.8%) | 21M | 33K | — |
| pandas pypi Data manipulation and analysis library with DataFrames for structured data. |
383 (3.0%) | 143M | 50K | — |
| scikit-learn pypi Python machine learning library with classification, regression and clustering algorithms. |
160 (1.3%) | 44.3M | 67.5K | — |
| SciPy pypi Fundamental algorithms for scientific computing with optimized numerical routines. |
141 (1.1%) | 72.2M | 15.1K | — |
| PyTorch pypi Deep learning framework with tensors and dynamic neural networks with GPU support. |
109 (0.9%) | 13.2M | 104K | — |
| Sentence Transformers pypi Pre-trained models for semantic embeddings, retrieval and reranking. |
83 (0.7%) | 5.1M | 19.2K | — |
| Hugging Face Transformers pypi State-of-the-art NLP and multimodal models for inference and training. |
80 (0.6%) | 24.8M | 167K | Apache 2.0 License |
| NetworkX pypi Python package for creating, analyzing and manipulating complex networks and graphs. |
73 (0.6%) | 50.2M | 17.3K | — |