Skip to main content

image and video datasets and models for torch deep learning

Project description

torchvision

https://travis-ci.org/pytorch/vision.svg?branch=master https://codecov.io/gh/pytorch/vision/branch/master/graph/badge.svg 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.1 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

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')

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

torchvision-0.3.0-cp37-cp37m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7m Windows x86-64

torchvision-0.3.0-cp37-cp37m-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7m

torchvision-0.3.0-cp37-cp37m-macosx_10_7_x86_64.whl (231.2 kB view details)

Uploaded CPython 3.7m macOS 10.7+ x86-64

torchvision-0.3.0-cp36-cp36m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

torchvision-0.3.0-cp36-cp36m-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.6m

torchvision-0.3.0-cp36-cp36m-macosx_10_7_x86_64.whl (231.2 kB view details)

Uploaded CPython 3.6m macOS 10.7+ x86-64

torchvision-0.3.0-cp35-cp35m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5m Windows x86-64

torchvision-0.3.0-cp35-cp35m-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.5m

torchvision-0.3.0-cp35-cp35m-macosx_10_6_x86_64.whl (231.2 kB view details)

Uploaded CPython 3.5m macOS 10.6+ x86-64

torchvision-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 2.7mu

torchvision-0.3.0-cp27-cp27m-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 2.7m

torchvision-0.3.0-cp27-cp27m-macosx_10_6_x86_64.whl (231.6 kB view details)

Uploaded CPython 2.7m macOS 10.6+ x86-64

File details

Details for the file torchvision-0.3.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.7

File hashes

Hashes for torchvision-0.3.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3ed016bea513e5a77642c58794a59146658270221b564f258d6c7483cc07344f
MD5 e7436ca6931525c56491a22b86061352
BLAKE2b-256 b7ff091b4503d5f228bd1120db784e2c071617211b965a8a78018e75750c7199

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for torchvision-0.3.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 81237ef6cfc4f93f035f5b0d0d1227222e2612bf20154aab585c14f8f4ca8269
MD5 7824b2ce1f400710c81419d0f8fc57a4
BLAKE2b-256 cc9b208f48d5a5013bdb0c27a84a02df4fcf5fd24ab5902667c11e554a12b681

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp37-cp37m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 231.2 kB
  • Tags: CPython 3.7m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.7

File hashes

Hashes for torchvision-0.3.0-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 fb8ea1e2f9d40dbd61eafaadf302dd062df5c3793f74599692443fdee7f9707b
MD5 d1a1008a6f68e44a390c8b3bbc0dd24e
BLAKE2b-256 af7c247d46a1f76dee688636d4d5394e440bb32c4e251ea8afe4442c91296830

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.7

File hashes

Hashes for torchvision-0.3.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 87fd98cd817cdb9ea5f0010a1b30eb0b297922e33a8c27cc940ed486044dc82c
MD5 cb31de91904248f77e94a8b14d22d151
BLAKE2b-256 788db92dc9543bc51f7fcaf8d953d814770d1e471ee93c4eff19a76f9b9b510b

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for torchvision-0.3.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 03ddd9c310348e82a23348c5f5048aa8c3def067440261c84742c3cbe7e904fc
MD5 b5abb27be0617bbf93e30de209f12a15
BLAKE2b-256 2e450f2f3062c92d9cf1d5d7eabd3cae88cea9affbd2b17fb1c043627838cb0a

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp36-cp36m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp36-cp36m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 231.2 kB
  • Tags: CPython 3.6m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.7

File hashes

Hashes for torchvision-0.3.0-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 df51bd05bad0aaebfab20c3d9fa96fc571b7963e466afc5d1039ddfc7459f975
MD5 c793bd40e32e104696e948ea29d286b7
BLAKE2b-256 46dc41ff28bb16bfc428d5c30b349f2909ddecb9fda30f5776888a31d19a5d4b

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.7

File hashes

Hashes for torchvision-0.3.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 e6525572b8e91095d0252c6d4cb2936c551a044c4650857da7ce6dc294178b9f
MD5 0aef4aea511eccbb921505d90095c101
BLAKE2b-256 0e9c990a16374c33c18f8a30c0d4796c6ad054ecaeb734f7412c960979df4c41

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for torchvision-0.3.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 27d2b84553fd01c1fd71585b8dde0caa9b660a629df1c9d6d0a8be85f2932d76
MD5 6b8be4db455fd4b499ebe336bf6b862a
BLAKE2b-256 44e976f3746e92e473d681b844d6d8d7485f6339a0933557fa6c8353b7864cc0

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp35-cp35m-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp35-cp35m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 231.2 kB
  • Tags: CPython 3.5m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.7

File hashes

Hashes for torchvision-0.3.0-cp35-cp35m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 959d636d8ea3ef425f37253a06937f3960a9488746857e3b9c335e007e80a7fd
MD5 856047b8f0990174327051bdb417e427
BLAKE2b-256 3f832d40a7470fb69c4ffae4d1ab93854b2548ba92d7d0c9a3228e73061b7869

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for torchvision-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 40067e4e4915846e1e7d78d56fc1a26cba23265121d0bd52fb144391e7143b86
MD5 d7f2657b74ec9f8330d865e238d8e944
BLAKE2b-256 91ec3a5bd85c2655f4285b4ffb600fc05a2f6e8b317bcbda00b45688d790b914

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for torchvision-0.3.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a5bcbee4baf4b027e3872ebcbe1c33cce9b4edbccbd5fb739a1c25c54ce734a0
MD5 fa9287e39c468343ac682c37b026e5f9
BLAKE2b-256 5b1b670b8672e8c194e54b549074b67073af2ac1c76592348a20912259ff89fe

See more details on using hashes here.

Provenance

File details

Details for the file torchvision-0.3.0-cp27-cp27m-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: torchvision-0.3.0-cp27-cp27m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 231.6 kB
  • Tags: CPython 2.7m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.7

File hashes

Hashes for torchvision-0.3.0-cp27-cp27m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 7a972907ea3865e9efdb1d2de349fe68b77a8f0e8b88c3fa9d9d5aa808de3d00
MD5 c5208a7492368bd8f0fbe1a79d830f1c
BLAKE2b-256 4d260927434c50f9cc731f72cd094ce1c82bae83567cb8fd782aa70505d839a2

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page