What it does
torchvision is a companion library to PyTorch for computer vision, the area of AI that works with images. It bundles popular image datasets, well-known model designs and common image adjustments like resizing and cropping.
Its makers note that it only downloads public datasets and doesn't host them, and that users must check they have permission to use each dataset and pre-trained model.
Who it's for
Programmers and researchers building AI that works with images.
Can I use it without coding?
Developers only. It's a code library installed alongside PyTorch. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- API key
- Not needed
Try it
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (BSD-3-Clause): Permissive: free to use, change and share, including for business.
- More on staying safe
Where people are talking about it
- PyTorch 2.0Hacker News · Mar 2023
- Deep Learning with PyTorch: A 60 Minute Blitz [video]Hacker News · Oct 2019