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.26.0-cp314-cp314t-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.14tWindows x86-64

torchvision-0.26.0-cp314-cp314t-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

torchvision-0.26.0-cp314-cp314t-manylinux_2_28_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

torchvision-0.26.0-cp314-cp314t-macosx_12_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14tmacOS 12.0+ ARM64

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

Uploaded CPython 3.14Windows x86-64

torchvision-0.26.0-cp314-cp314-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

torchvision-0.26.0-cp314-cp314-manylinux_2_28_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

torchvision-0.26.0-cp314-cp314-macosx_12_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14macOS 12.0+ ARM64

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

Uploaded CPython 3.13tWindows x86-64

torchvision-0.26.0-cp313-cp313t-manylinux_2_28_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ x86-64

torchvision-0.26.0-cp313-cp313t-manylinux_2_28_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ ARM64

torchvision-0.26.0-cp313-cp313t-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.13tmacOS 12.0+ ARM64

torchvision-0.26.0-cp313-cp313-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.13Windows x86-64

torchvision-0.26.0-cp313-cp313-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

torchvision-0.26.0-cp313-cp313-manylinux_2_28_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

torchvision-0.26.0-cp313-cp313-macosx_12_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13macOS 12.0+ ARM64

torchvision-0.26.0-cp312-cp312-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.12Windows x86-64

torchvision-0.26.0-cp312-cp312-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

torchvision-0.26.0-cp312-cp312-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

torchvision-0.26.0-cp311-cp311-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.11Windows x86-64

torchvision-0.26.0-cp311-cp311-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

torchvision-0.26.0-cp311-cp311-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

torchvision-0.26.0-cp310-cp310-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.10Windows x86-64

torchvision-0.26.0-cp310-cp310-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

torchvision-0.26.0-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 e9d0e022c19a78552fb055d0414d47fecb4a649309b9968573daea160ba6869c
MD5 5a41fa25f3b35a062a567ac9b82e74a5
BLAKE2b-256 d06a09f3844c10643f6c0de5d95abc863420cfaf194c88c7dffd0ac523e2015f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8008474855623c6ba52876589dc52df0aa66e518c25eca841445348e5f79844c
MD5 b2a8c9ac3e9277401ed89bf0afb9cce7
BLAKE2b-256 c59bf7e119b59499edc00c55c03adc9ec3bd96144d9b81c46852c431f9c64a9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7058c5878262937e876f20c25867b33724586aa4499e2853b2d52b99a5e51953
MD5 7fd36a91aaf43115b4769120ea00cdd5
BLAKE2b-256 d26a18a582fe3c5ee26f49b5c9fb21ad8016b4d1c06d10178894a58653946fda

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp314-cp314t-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp314-cp314t-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 b7d3e295624a28b3b1769228ce1345d94cf4d390dd31136766f76f2d20f718da
MD5 be00035aac63f18f106608882bd353c5
BLAKE2b-256 458f1f0402ac55c2ae15651ff831957d083fe70b2d12282e72612a30ba601512

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 114bec0c0e98aa4ba446f63e2fe7a2cbca37b39ac933987ee4804f65de121800
MD5 ae6965dd419e1c704d7de47a419bbec9
BLAKE2b-256 fcba1666f90bc0bdd77aaa11dcc42bb9f621a9c3668819c32430452e3d404730

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0f3e572efe62ad645017ea847e0b5e4f2f638d4e39f05bc011d1eb9ac68d4806
MD5 f02eeb717dbc5124ac5400cdd626c721
BLAKE2b-256 a421a2266f7f1b0e58e624ff15fd6f01041f59182c49551ece0db9a183071329

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9a904f2131cbfadab4df828088a9f66291ad33f49ff853872aed1f86848ef776
MD5 144850c6a9483b65e5bddf6032c3aee6
BLAKE2b-256 7bac48f28ffd227991f2e14f4392dde7e8dc14352bb9428c1ef4a4bbf5f7ed85

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp314-cp314-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp314-cp314-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 eb61804eb9dbe88c5a2a6c4da8dec1d80d2d0a6f18c999c524e32266cb1ebcd3
MD5 3307a1ea1891c982c23dd9dd66231128
BLAKE2b-256 7fc89bffa9c7f7bdf95b2a0a2dc535c290b9f1cc580c3fb3033ab1246ffffdeb

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp313-cp313t-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp313-cp313t-win_amd64.whl
Algorithm Hash digest
SHA256 ebc043cc5a4f0bf22e7680806dbba37ffb19e70f6953bbb44ed1a90aeb5c9bea
MD5 0aa93012533552648d5f6ea3a5d3e223
BLAKE2b-256 f3a4f1155e943ae5b32400d7000adc81c79bb0392b16ceb33bcf13e02e48cced

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp313-cp313t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp313-cp313t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 82c3965eca27e86a316e31e4c3e5a16d353e0bcbe0ef8efa2e66502c54493c4b
MD5 e71a9bab7dbaef190f7887cb1f6a8351
BLAKE2b-256 691d4e1eebc17d18ce080a11dcf3df3f8f717f0efdfa00983f06e8ba79259f61

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp313-cp313t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp313-cp313t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3daf9cc149cf3cdcbd4df9c59dae69ffca86c6823250442c3bbfd63fc2e26c61
MD5 fa08e1c893a8a383dd2d3e5924a2ca15
BLAKE2b-256 71e27a89096e6cf2f3336353b5338ba925e0addf9d8601920340e6bdf47e8eb3

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp313-cp313t-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp313-cp313t-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 358fc4726d0c08615b6d83b3149854f11efb2a564ed1acb6fce882e151412d23
MD5 9ba2f8270e5cdca8e9c31e27010f394e
BLAKE2b-256 6628b4ad0a723ed95b003454caffcc41894b34bd8379df340848cae2c33871de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4280c35ec8cba1fcc8294fb87e136924708726864c379e4c54494797d86bc474
MD5 3928b3f2cc0680199fa05a3428bbd07e
BLAKE2b-256 a91bf1bc86a918c5f6feab1eeff11982e2060f4704332e96185463d27855bdf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b7e6213620bbf97742e5f79832f9e9d769e6cf0f744c5b53dad80b76db633691
MD5 3ffda151f9b42e95577ad0eef0452c13
BLAKE2b-256 b6dcd9ab5d29115aa05e12e30f1397a3eeae1d88a511241dc3bce48dc4342675

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a39c7a26538c41fda453f9a9692b5ff9b35a5437db1d94f3027f6f509c160eac
MD5 e74c53da6052451ee67d6635c29b1052
BLAKE2b-256 e6810b3e58d1478c660a5af4268713486b2df7203f35abd9195fea87348a5178

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp313-cp313-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp313-cp313-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 5d63dd43162691258b1b3529b9041bac7d54caa37eae0925f997108268cbf7c4
MD5 0f88d670c428fc51319ff45cde26c812
BLAKE2b-256 da800762f77f53605d10c9477be39bb47722cc8e383bbbc2531471ce0e396c07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7993c01648e7c61d191b018e84d38fe0825c8fcb2720cd0f37caf7ba14404aa1
MD5 55f4f76e516ca5c13ce4f5a4acf13ad5
BLAKE2b-256 1ca9c272623a0f735c35f0f6cd6dc74784d4f970e800cf063bb76687895a2ab9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d61a5abb6b42a0c0c311996c2ac4b83a94418a97182c83b055a2a4ae985e05aa
MD5 fd133c71a875fa528f28857bde90b26a
BLAKE2b-256 f5d8cb6ccda1a1f35a6597645818641701207b3e8e13553e75fce5d86bac74b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 406557718e62fdf10f5706e88d8a5ec000f872da913bf629aab9297622585547
MD5 6a0868d7c2194c07b299cf65d5198d15
BLAKE2b-256 f4ec5c31c92c08b65662fe9604a4067ae8232582805949f11ddc042cebe818ed

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c409e1c3fdebec7a3834465086dbda8bf7680eff79abf7fd2f10c6b59520a7a4
MD5 ce152484235097603938fd5c98c60932
BLAKE2b-256 aee756b47cc3b132aea90ccce22bcb8975dec688b002150012acc842846039d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 de6424b12887ad884f39a0ee446994ae3cd3b6a00a9cafe1bead85a031132af0
MD5 1da1c4bac4db7e738760bd24bf4264e9
BLAKE2b-256 1058ed8f7754299f3e91d6414b6dc09f62b3fa7c6e5d63dfe48d69ab81498a37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fd10b5f994c210f4f6d6761cf686f82d748554adf486cb0979770c3252868c8f
MD5 0b28af4903f7ebd1477f882c754bca45
BLAKE2b-256 9a4557bbf9e216850d065e66dd31a50f57424b607f1d878ab8956e56a1f4e36b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1c55dc8affbcc0eb2060fbabbe996ae9e5839b24bb6419777f17848945a411b1
MD5 ee160059b6e4b990c760328b4a1f6c09
BLAKE2b-256 33bf21b899792b08cae7a298551c68398a79e333697479ed311b3b067aab4bdc

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 55bd6ad4ae77be01ba67a410b05b51f53b0d0ee45f146eb6a0dfb9007e70ab3c
MD5 a0b9af88f3735f86309ab5d9f3f40331
BLAKE2b-256 b4bdd552a2521bade3295b2c6e7a4a0d1022261cab7ca7011f4e2a330dbb3caa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f13f12b3791a266de2d599cb8162925261622a037d87fc03132848343cf68f75
MD5 d132512b5271f38bd471ddfbdbf67713
BLAKE2b-256 d7ede53cd7c0da7ae002e5e929c1796ebbe7ec0c700c29f7a0a6696497fb3d8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b6f9ad1ecc0eab52647298b379ee9426845f8903703e6127973f8f3d049a798b
MD5 dcddc5da45b48ce4c14c78ea117cb08e
BLAKE2b-256 5e0024d8c7845c3f270153fb81395a5135b2778e2538e81d14c6aea5106c689c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.26.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2adfbe438473236191ff077a4a9a0c767436879c89628aa97137e959b0c11a94
MD5 165849cdf6f40bc104b341cb39545300
BLAKE2b-256 e47411fee109841e80ad14e5ca2d80bff6b10eb11b7838ff06f35bfeaa9f7251

See more details on using hashes here.

File details

Details for the file torchvision-0.26.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.26.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a06d4772a8e13e772906ed736cc53ec6639e5e60554f8e5fa6ca165aabebc464
MD5 e376c437b3d8933df2357e1145ce4167
BLAKE2b-256 74b4cdfee31e0402ea035135462cb0ab496e974d56fab6b4e7a1f0cbccb8cd28

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