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

Uploaded CPython 3.14tWindows x86-64

torchvision-0.25.0-cp314-cp314t-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

torchvision-0.25.0-cp314-cp314t-manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

torchvision-0.25.0-cp314-cp314t-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

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

Uploaded CPython 3.14Windows x86-64

torchvision-0.25.0-cp314-cp314-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

torchvision-0.25.0-cp314-cp314-manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

torchvision-0.25.0-cp314-cp314-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13tWindows x86-64

torchvision-0.25.0-cp313-cp313t-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ x86-64

torchvision-0.25.0-cp313-cp313t-manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ ARM64

torchvision-0.25.0-cp313-cp313t-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

torchvision-0.25.0-cp313-cp313-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

torchvision-0.25.0-cp313-cp313-manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 12.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

torchvision-0.25.0-cp312-cp312-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

torchvision-0.25.0-cp312-cp312-manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

torchvision-0.25.0-cp311-cp311-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

torchvision-0.25.0-cp311-cp311-manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

torchvision-0.25.0-cp310-cp310-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

torchvision-0.25.0-cp310-cp310-manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

torchvision-0.25.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.25.0-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.25.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 f07f01d27375ad89d72aa2b3f2180f07da95dd9d2e4c758e015c0acb2da72977
MD5 7d1281f2bb3207e9089fbec1664b351d
BLAKE2b-256 b637e7ca4ec820d434c0f23f824eb29f0676a0c3e7a118f1514f5b949c3356da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 846890161b825b38aa85fc37fb3ba5eea74e7091ff28bab378287111483b6443
MD5 cfde88d10cd669d717a07b843b73f13b
BLAKE2b-256 08e60927784e6ffc340b6676befde1c60260bd51641c9c574b9298d791a9cda4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 40a122c3cf4d14b651f095e0f672b688dde78632783fc5cd3d4d5e4f6a828563
MD5 79b06feb67dea990e8bd10ff305f2283
BLAKE2b-256 b5e27abb10a867db79b226b41da419b63b69c0bd5b82438c4a4ed50e084c552f

See more details on using hashes here.

File details

Details for the file torchvision-0.25.0-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.25.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ad9a8a5877782944d99186e4502a614770fe906626d76e9cd32446a0ac3075f2
MD5 7b2caba0ab7eafd4387a84aa94363ace
BLAKE2b-256 973696374a4c7ab50dea9787ce987815614ccfe988a42e10ac1a2e3e5b60319a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d1abd5ed030c708f5dbf4812ad5f6fbe9384b63c40d6bd79f8df41a4a759a917
MD5 7830f4330d8e805a3409c63076797bc8
BLAKE2b-256 1febd0096eed5690d962853213f2ee00d91478dfcb586b62dbbb449fb8abc3a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 632db02300e83793812eee4f61ae6a2686dab10b4cfd628b620dc47747aa9d03
MD5 e7b1baea9c08661a8a98a823e0122521
BLAKE2b-256 90a5f93fcffaddd8f12f9e812256830ec9c9ca65abbf1bc369379f9c364d1ff4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0b5e7f50002a8145a98c5694a018e738c50e2972608310c7e88e1bd4c058f6ce
MD5 5e07f60993a54419de4b43f8f5f99f90
BLAKE2b-256 80edd51889da7ceaf5ff7a0574fb28f9b6b223df19667265395891f81b364ab3

See more details on using hashes here.

File details

Details for the file torchvision-0.25.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.25.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 620a236288d594dcec7634c754484542dc0a5c1b0e0b83a34bda5e91e9b7c3a1
MD5 54a976c14a43eda910d18df0222d30d6
BLAKE2b-256 9e1ffa839532660e2602b7e704d65010787c5bb296258b44fa8b9c1cd6175e7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp313-cp313t-win_amd64.whl
Algorithm Hash digest
SHA256 5e6b449e9fa7d642142c0e27c41e5a43b508d57ed8e79b7c0a0c28652da8678c
MD5 36ea0f9bca9867e2a033c327e3ff16c7
BLAKE2b-256 63cc0ea68b5802e5e3c31f44b307e74947bad5a38cc655231d845534ed50ddb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp313-cp313t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c4d395cb2c4a2712f6eb93a34476cdf7aae74bb6ea2ea1917f858e96344b00aa
MD5 6d886d9c0cdd992a1bc61381a5ec1ede
BLAKE2b-256 76adf4c985ad52ddd3b22711c588501be1b330adaeaf6850317f66751711b78c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp313-cp313t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 146d02c9876858420adf41f3189fe90e3d6a409cbfa65454c09f25fb33bf7266
MD5 ab1b3516809a3a4b6a5446496fb61471
BLAKE2b-256 28cc2103149761fdb4eaed58a53e8437b2d716d48f05174fab1d9fcf1e2a2244

See more details on using hashes here.

File details

Details for the file torchvision-0.25.0-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.25.0-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a8f8061284395ce31bcd460f2169013382ccf411148ceb2ee38e718e9860f5a7
MD5 e0bbcfe6e58e1c3e0a8de9dc38d87ea3
BLAKE2b-256 5299dca81ed21ebaeff2b67cc9f815a20fdaa418b69f5f9ea4c6ed71721470db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cef0196be31be421f6f462d1e9da1101be7332d91984caa6f8022e6c78a5877f
MD5 02de57440e7571280adba1c7fd24800b
BLAKE2b-256 32a59a9b1de0720f884ea50dbf9acb22cbe5312e51d7b8c4ac6ba9b51efd9bba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 855c0dc6d37f462482da7531c6788518baedca1e0847f3df42a911713acdfe52
MD5 d1580cf3aa603da11907341e4a63af5a
BLAKE2b-256 c76059bb9c8b67cce356daeed4cb96a717caa4f69c9822f72e223a0eae7a9bd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5f271136d2d2c0b7a24c5671795c6e4fd8da4e0ea98aeb1041f62bc04c4370ef
MD5 e75701dd6dcb43d8b4e9c684ba11eff5
BLAKE2b-256 36b13d6c42f62c272ce34fcce609bb8939bdf873dab5f1b798fd4e880255f129

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp313-cp313-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 24e11199e4d84ba9c5ee7825ebdf1cd37ce8deec225117f10243cae984ced3ec
MD5 cd40bfe54e31e91dc1fd48a22b2d8625
BLAKE2b-256 f55b1562a04a6a5a4cf8cf40016a0cdeda91ede75d6962cff7f809a85ae966a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f9c55ae8d673ab493325d1267cbd285bb94d56f99626c00ac4644de32a59ede3
MD5 f896d23838801f8731aea45b56c447bf
BLAKE2b-256 ad168f650c2e288977cf0f8f85184b90ee56ed170a4919347fc74ee99286ed6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f25aa9e380865b11ea6e9d99d84df86b9cc959f1a007cd966fc6f1ab2ed0e248
MD5 0feb8c999cb35b82bdd2245e0f384026
BLAKE2b-256 682ff24b039169db474e8688f649377de082a965fbf85daf4e46c44412f1d15a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b75deafa2dfea3e2c2a525559b04783515e3463f6e830cb71de0fb7ea36fe233
MD5 4b55c5b8347708d7107009708c86f0f0
BLAKE2b-256 51f8c0e1ef27c66e15406fece94930e7d6feee4cb6374bbc02d945a630d6426e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c2abe430c90b1d5e552680037d68da4eb80a5852ebb1c811b2b89d299b10573b
MD5 768c0da218461d7673951eb9ce0dcb03
BLAKE2b-256 563a6ea0d73f49a9bef38a1b3a92e8dd455cea58470985d25635beab93841748

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ea580ffd6094cc01914ad32f8c8118174f18974629af905cea08cb6d5d48c7b7
MD5 c635cc5d7ab8f12b5c87be0cf2b00ef4
BLAKE2b-256 231955b28aecdc7f38df57b8eb55eb0b14a62b470ed8efeb22cdc74224df1d6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 153c0d2cbc34b7cf2da19d73450f24ba36d2b75ec9211b9962b5022fb9e4ecee
MD5 70b73d2b5c6e69916dd662878b4c2af4
BLAKE2b-256 43aead5d6165797de234c9658752acb4fce65b78a6a18d82efdf8367c940d8da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f49964f96644dbac2506dffe1a0a7ec0f2bf8cf7a588c3319fed26e6329ffdf3
MD5 c6238d8ec9b6befa5c066c41b7663c74
BLAKE2b-256 aee9f143cd71232430de1f547ceab840f68c55e127d72558b1061a71d0b193cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 db74a551946b75d19f9996c419a799ffdf6a223ecf17c656f90da011f1d75b20
MD5 f1d388f3be6c96c6f3276c13f45d8447
BLAKE2b-256 3ebec704bceaf11c4f6b19d64337a34a877fcdfe3bd68160a8c9ae9bea4a35a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b57430fbe9e9b697418a395041bb615124d9c007710a2712fda6e35fb310f264
MD5 b2ee4efcaa74e4bec043ba4cf8cadeb8
BLAKE2b-256 8bb9a53bcf8f78f2cd89215e9ded70041765d50ef13bf301f9884ec6041a9421

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0d9a3f925a081dd2ebb0b791249b687c2ef2c2717d027946654607494b9b64b6
MD5 21c0625d9d48bbaecac459a5d1a1ce15
BLAKE2b-256 f9fa8cce5ca7ffd4da95193232493703d20aa06303f37b119fd23a65df4f239a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 acc339aba4a858192998c2b91f635827e40d9c469d9cf1455bafdda6e4c28ea4
MD5 b03d10e9ef29a30b70858fae9c1ba61a
BLAKE2b-256 6468dc7a224f606d53ea09f9a85196a3921ec3a801b0b1d17e84c73392f0c029

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchvision-0.25.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a95c47abb817d4e90ea1a8e57bd0d728e3e6b533b3495ae77d84d883c4d11f56
MD5 d324724b83f0262aba72f1b8e1f39f15
BLAKE2b-256 50aecbf727421eb73f1cf907fbe5788326a08f111b3f6b6ddca15426b53fec9a

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