pytorch/vision


Datasets, Transforms and Models specific to Computer Vision

License: BSD-3-Clause

Language: Jupyter Notebook

Keywords: computer-vision, machine-learning


torchvision

https://travis-ci.org/pytorch/vision.svg?branch=master https://pepy.tech/badge/torchvision https://img.shields.io/badge/dynamic/json.svg?label=docs&url=https%3A%2F%2Fpypi.org%2Fpypi%2Ftorchvision%2Fjson&query=%24.info.version&colorB=brightgreen&prefix=v

The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision.

Installation

TorchVision requires PyTorch 1.2 or newer.

Anaconda:

conda install torchvision -c pytorch

pip:

pip install torchvision

From source:

python setup.py install
# or, for OSX
# MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install

By default, GPU support is built if CUDA is found and torch.cuda.is_available() is true. It's possible to force building GPU support by setting FORCE_CUDA=1 environment variable, which is useful when building a docker image.

Image Backend

Torchvision currently supports the following image backends:

  • Pillow (default)
  • Pillow-SIMD - a much faster drop-in replacement for Pillow with SIMD. If installed will be used as the default.
  • accimage - if installed can be activated by calling torchvision.set_image_backend('accimage')

C++ API

TorchVision also offers a C++ API that contains C++ equivalent of python models.

Installation From source:

mkdir build
cd build
cmake ..
make
make install

Documentation

You can find the API documentation on the pytorch website: http://pytorch.org/docs/master/torchvision/

Contributing

We appreciate all contributions. If you are planning to contribute back bug-fixes, please do so without any further discussion. If you plan to contribute new features, utility functions or extensions, please first open an issue and discuss the feature with us.

Disclaimer on Datasets

This is a utility library that downloads and prepares public datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have license to use the dataset. It is your responsibility to determine whether you have permission to use the dataset under the dataset's license.

If you're a dataset owner and wish to update any part of it (description, citation, etc.), or do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thanks for your contribution to the ML community!

Project Statistics

Sourcerank 14
Repository Size 8.95 MB
Stars 4,586
Forks 2,188
Watchers 213
Open issues 231
Dependencies 2
Contributors 204
Tags 10
Created
Last updated
Last pushed

Top Contributors See all

Francisco Massa Soumith Chintala Alykhan Tejani ekagra-ranjan Philip Meier surgan12 Sasank Chilamkurthy vfdev Sam Gross Vishwak Srinivasan Michael Kösel Edward Z. Yang peterjc123 eellison Shahriar Zhicheng Yan Bodo Kaiser Tongzhou Wang Luke Yeager Uridah Sami Ahmed

Packages Referencing this Repo

torchvision
image and video datasets and models for torch deep learning
Latest release 0.4.0 - Updated - 4.59K stars
torchvision
Datasets, Transforms and Models specific to Computer Vision
Latest release 0.4.0 - Published - 4.59K stars
torchvision-raspi
Torchvision for Raspberry Pi 3B armv7l
Latest release 0.2.1.1 - Updated - 4.59K stars
torch-vision
image and video datasets and models for torch deep learning
Latest release 0.1.6.dev0 - Published - 4.59K stars
torchvision-nightly
image and video datasets and models for torch deep learning
Latest release 0.2.1 - Published - 4.59K stars

Recent Tags See all

v0.4.0 August 06, 2019
v0.3.0 May 22, 2019
v0.2.2 February 27, 2019
v0.2.1 April 24, 2018
v0.2.0 November 25, 2017
v0.1.9 August 06, 2017
v0.1.8 March 29, 2017
v0.1.7 January 19, 2017
v0.1.6 January 19, 2017
v0.1.5 November 18, 2016

Interesting Forks See all

warmspringwinds/vision
Datasets, Transforms and Models specific to Computer Vision
Jupyter Notebook - BSD-3-Clause - Last pushed - 2 stars - 3 forks
yqjaoshuang/vision
Datasets, Transforms and Models specific to Computer Vision
Jupyter Notebook - BSD-3-Clause - Published - 1 stars
moskomule/vision
Datasets, Transforms and Models specific to Computer Vision
Jupyter Notebook - Last pushed - 1 stars
runngezhang/vision
Datasets, Transforms and Models specific to Computer Vision
Jupyter Notebook - Updated - 1 stars
TienPhuocNguyen/vision
Datasets, Transforms and Models specific to Computer Vision
Jupyter Notebook - Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-10-12 18:17:42 UTC

Login to resync this repository