Skip to main content

image and video datasets and models for torch deep learning

Project description

torchvision

total torchvision downloads documentation

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

Installation

Please refer to the official instructions to install the stable versions of torch and torchvision on your system.

To build source, refer to our contributing page.

The following is the corresponding torchvision versions and supported Python versions.

torch torchvision Python
main / nightly main / nightly >=3.10, <=3.14
2.10 0.25 >=3.10, <=3.14
2.9 0.24 >=3.10, <=3.14
2.8 0.23 >=3.9, <=3.13
2.7 0.22 >=3.9, <=3.13
2.6 0.21 >=3.9, <=3.12
older versions
torch torchvision Python
2.5 0.20 >=3.9, <=3.12
2.4 0.19 >=3.8, <=3.12
2.3 0.18 >=3.8, <=3.12
2.2 0.17 >=3.8, <=3.11
2.1 0.16 >=3.8, <=3.11
2.0 0.15 >=3.8, <=3.11
1.13 0.14 >=3.7.2, <=3.10
1.12 0.13 >=3.7, <=3.10
1.11 0.12 >=3.7, <=3.10
1.10 0.11 >=3.6, <=3.9
1.9 0.10 >=3.6, <=3.9
1.8 0.9 >=3.6, <=3.9
1.7 0.8 >=3.6, <=3.9
1.6 0.7 >=3.6, <=3.8
1.5 0.6 >=3.5, <=3.8
1.4 0.5 ==2.7, >=3.5, <=3.8
1.3 0.4.2 / 0.4.3 ==2.7, >=3.5, <=3.7
1.2 0.4.1 ==2.7, >=3.5, <=3.7
1.1 0.3 ==2.7, >=3.5, <=3.7
<=1.0 0.2 ==2.7, >=3.5, <=3.7

Image Backends

Torchvision currently supports the following image backends:

  • torch tensors
  • PIL images:

Read more in in our docs.

Documentation

You can find the API documentation on the pytorch website: https://pytorch.org/vision/stable/index.html

Contributing

See the CONTRIBUTING file for how to help out.

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!

Pre-trained Model License

The pre-trained models provided in this library may have their own licenses or terms and conditions derived from the dataset used for training. It is your responsibility to determine whether you have permission to use the models for your use case.

More specifically, SWAG models are released under the CC-BY-NC 4.0 license. See SWAG LICENSE for additional details.

Citing TorchVision

If you find TorchVision useful in your work, please consider citing the following BibTeX entry:

@software{torchvision2016,
    title        = {TorchVision: PyTorch's Computer Vision library},
    author       = {TorchVision maintainers and contributors},
    year         = 2016,
    journal      = {GitHub repository},
    publisher    = {GitHub},
    howpublished = {\url{https://github.com/pytorch/vision}}
}

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

If you're not sure about the file name format, learn more about wheel file names.

torchvision-0.27.1-cp314-cp314t-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.14tWindows x86-64

torchvision-0.27.1-cp314-cp314t-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

torchvision-0.27.1-cp314-cp314t-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

torchvision-0.27.1-cp314-cp314t-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14tmacOS 14.0+ ARM64

torchvision-0.27.1-cp314-cp314-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.14Windows x86-64

torchvision-0.27.1-cp314-cp314-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

torchvision-0.27.1-cp314-cp314-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

torchvision-0.27.1-cp314-cp314-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

torchvision-0.27.1-cp313-cp313-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.13Windows x86-64

torchvision-0.27.1-cp313-cp313-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

torchvision-0.27.1-cp313-cp313-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

torchvision-0.27.1-cp313-cp313-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

torchvision-0.27.1-cp312-cp312-win_amd64.whl (4.1 MB view details)

Uploaded CPython 3.12Windows x86-64

torchvision-0.27.1-cp312-cp312-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

torchvision-0.27.1-cp312-cp312-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

torchvision-0.27.1-cp312-cp312-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

torchvision-0.27.1-cp311-cp311-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.11Windows x86-64

torchvision-0.27.1-cp311-cp311-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

torchvision-0.27.1-cp311-cp311-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

torchvision-0.27.1-cp311-cp311-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

torchvision-0.27.1-cp310-cp310-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.10Windows x86-64

torchvision-0.27.1-cp310-cp310-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

torchvision-0.27.1-cp310-cp310-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

torchvision-0.27.1-cp310-cp310-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file torchvision-0.27.1-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 12deaee20d0d9dec6302025d3f93354266befeb692f5c50bca0137b395598b9e
MD5 ad4b54ffffcc4795f0dd04b4f8427efe
BLAKE2b-256 90aad6179812ec52b70a7a8f5e99fe7937895d28c535106df1ca0d03f5f51425

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d11da1ce8a5cc7fc527f2d5e0fe25efba93687897fe9339382b593910b1d1c6e
MD5 9cbc795377562e9504abc4afbe983fe7
BLAKE2b-256 1be6f66733fc411a9ce070c0d899c1ae562ff11654a0bc708511e23efe9d6872

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8abb6d5cacd56486ca2240e5580750e53ac559412e472ea6a3cee83231a77ca7
MD5 689d07a38c0f4c71a72b8db2391dbd76
BLAKE2b-256 73016c8f3158994a9e5bb0c7b1bacc361d60e015ad79487af88fa4d7ce72c2b6

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp314-cp314t-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp314-cp314t-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c2fd9902f23b56b6ac667213171672fb6c89287ff011918b04af053852a2c4eb
MD5 d4624abccb9d5743dc8efc98875a0694
BLAKE2b-256 ba48b3240eaf0fe3676dcf677ce8930ef477fe77d7f69ebe58ca8d0941384952

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 b3e9bc71854fddbf94ddb69ed8d88983945f3f28f78ee104214b0088669af66a
MD5 6141f79d8fd3b68f343f93793975389b
BLAKE2b-256 5249a23e199faf29e42a90f7d6b76437ade5d17e3185da3c64d368973ba8243e

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b44ef28ad1963f8cba5bf82f3564c454c74be300df9f79efa43f773312d17d6c
MD5 3c9681c77f4c0ae1d3b4fe8bdd736c2d
BLAKE2b-256 76683febd41b6eef453a83fb7a0178446334fbb0405eb4b0c40b00efaf99a2dc

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ab2f8047c2da5bf6742fec6da86840e5feaeb0cea76930d0536f3520df31e166
MD5 b0b079c48ef9faf74ff238d34e9cf8bb
BLAKE2b-256 2484f0d772e7ed85891f084755bd5d7f6f7fd279992a02652c653c1c8429dd84

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9f5ef59ad60e695796eca6b64e97cb9b21b9d5463cac5ac0ef86cfb72b6e5db9
MD5 75ba214659aa3d047493fa5b028d8554
BLAKE2b-256 ff741d237c61f665bf46d02e15f67c9d40be42b1b634f87164b9cefd257450e7

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 18bc906235bfa901c135acd239f05b8c8ab90d502830cf1ef2cba3301e1f8a23
MD5 6965a35e02e1a087e680a0458ae2c5d6
BLAKE2b-256 b9b34386976ff77eda55f0aed504a288564f3ff8d170b6db49ee22e172eddfac

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 916448be4b19676677b0dbf47d08f68b7955ea0abec7fc79340c31e217a824ba
MD5 4962938ebea4077e10daf23e05ab207d
BLAKE2b-256 b8dcb21d7801562c23a770e7037989814582f22ca4db479204293561de4b62e8

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 08aa33bc8e062cca32aefa90ac714916c5a855cbe1ab4c6148fc0453eb40ca5a
MD5 09dcc4725405c7aeaddeaf8cd7d6bb5f
BLAKE2b-256 2f90d61171daa5d6cd5f9315f84f9ef947b047a9fdf283d53241327045a8dd6d

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d60311a6d08df905f9656a3a312f0a8f55f0d46321bc737bad30a8dec9644309
MD5 6e62910bb3841653a2b1470bdadcdb33
BLAKE2b-256 32bbb21e0f598ca191bb2a9e9fda2fee37c06ad113313b43c6769dbefa0e921d

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0b6e3aa98b7433506bbce1d0d05cb13ec787fc6eb8c5fbd998b26ce05f047543
MD5 de3f618b2c5362c8c08030afe58bb2fe
BLAKE2b-256 d09527aca854da7e536a339f46bab1ef67823ac2ac97c59ab2b3203b373d46cf

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae3d49e57c4abc8eafc1a1971f80fc4948a6268fa69340737ca4466936def080
MD5 376f9ad84b894ec983208d592eb77d97
BLAKE2b-256 9770fa6052a42110a3657fc94073648da6171220469f4bf9f27e6a0b9378075c

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9edfb5a549fc2f30ccadb24eca907901e92e426c91a59316be6703a9360e5098
MD5 e34b55adf83c6bcae1047bbf1195a243
BLAKE2b-256 4342103fa8f9366cfd1329fe449d6b1a25a640c0c17862ed48f21c4af94af322

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 448abfc3baba984da4577f737209e445da6be93e3b5f4799d90162bf61e3f485
MD5 43ea2876d8c0d5297baf1c70d44aa87e
BLAKE2b-256 88822e8fdc19e4f0bbe31d403a55d78318bcea4afcd3083e1e4700ef61ebb893

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f3b57a984283896f15c9698562418282f828332886c77315bf269936e6ba0280
MD5 c24ad2a617640b080fcb35b6c6f5741e
BLAKE2b-256 eb7ce254f8e242a921adc2cc62c11674fa8a16d33e0a1b6c6f5436cb91628ee7

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a1d6a123009af59ad288459f579f67a65cbe8f59372dc7b97e41bc01a6a9b767
MD5 a768e022f947c737faf872da20226875
BLAKE2b-256 fa8ac474fb27faba02e84dc40e0ac9ea1aa828d6d3557a378f7d0a22468bb2a3

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a726707e4cbe438fcc507d787af7acf6bca52de30bf4b03579f1dfc0675da829
MD5 08ba7ba46f058ead4c871dfbc1158098
BLAKE2b-256 b200752adc57b6aa8bb833f5b0672acb9538aa5535d64998b9d8dd48ee51fa80

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ad8743a9c12c8c124ad0a1491e54c3ca0c749e91e374e3d92136060b22c9e0f4
MD5 1b0fa627882490a7ccccbabde922cf6b
BLAKE2b-256 6446bc0ebd93282aeedc1759f054a252c6fadf14b42a0535db3233c85cce4ae5

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d0b00ae58379e6c936ce4816b1b8b94cefb1bd1c2a88eccbadfc993de7a430ca
MD5 a67bb030c656a1b05d89954ddf49c624
BLAKE2b-256 7e6b09d2d6f04c3465a346202624a09cfcfb954f2b334d19de886a63056f86f9

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a9ea9a8abdd23466a5f1c09523cb27dc61e36c16fc7e5e88b337ca54f530b1ef
MD5 ab04bf0fadc820bc0a912f37e6638a5a
BLAKE2b-256 131c6b45992279b4177d26b5b851f554ee5d99115e7bd02eeb99459ad41027bf

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 aabe47970a00a3c0574360bfbd4ca3d6162a51f3fa1283a29cd528018dd13088
MD5 a331dc35f1dcbf8b7eb2ce499c3e262f
BLAKE2b-256 4c321a3eddb92e6d8ae69f38a20c60b7788c67c6ef32d6d4d1dc5d5fbd1f109c

See more details on using hashes here.

File details

Details for the file torchvision-0.27.1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.27.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 68ba63b48af92f06db995adb23d8411993dba1dee705a4e92411b83a00930b7f
MD5 d602cc9ae3480a4ad2002b81812ca953
BLAKE2b-256 c9108e3e5a70dded1f86368bc987d93fa0436e73a79060aead75a8783b040ebd

See more details on using hashes here.

Supported by

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