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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
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