The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision. We recommend Anaconda as Python package management system. Torchvision currently supports Pillow (default), Pillow-SIMD, which is a much faster drop-in replacement for Pillow with SIMD, if installed will be used as the default. Also, accimage, if installed can be activated by calling torchvision.set_image_backend('accimage'), libpng, which can be installed via conda conda install libpng or any of the package managers for debian-based and RHEL-based Linux distributions, and libjpeg, which can be installed via conda conda install jpeg or any of the package managers for debian-based and RHEL-based Linux distributions. It supports libjpeg-turbo as well. libpng and libjpeg must be available at compilation time in order to be available. TorchVision also offers a C++ API that contains C++ equivalent of python models.

Features

  • This is a utility library that downloads and prepares public datasets
  • TorchVision offers a C++ API that contains C++ equivalent of python models
  • Once installed, the library can be accessed in cmake
  • The TorchVision package will also automatically look for the Torch package and add it as a dependency
  • In order to get the torchvision operators registered with torch ensure that you #include <torchvision/vision.h> in your project
  • You can find the API documentation on the pytorch website

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow torchvision

torchvision Web Site

Other Useful Business Software
Build on Google Cloud with $300 in Free Credit Icon
Build on Google Cloud with $300 in Free Credit

New to Google Cloud? Get $300 in free credit to explore Compute Engine, BigQuery, Cloud Run, Vertex AI, and 150+ other products.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query exabytes in BigQuery, or build AI apps with Vertex AI and Gemini. Once your credits are used, keep building with 20+ products with free monthly usage, including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. Sign up to start building right away.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of torchvision!

Additional Project Details

Operating Systems

Android, Apple iPhone, Linux, Mac

Programming Language

Python

Related Categories

Python UML Tool, Python Computer Vision Libraries

Registered

2021-06-21